mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 18:54:39 +02:00
add copyright info and unit
This commit is contained in:
parent
0e501fee11
commit
c02ac93968
@ -27,7 +27,7 @@ var _ contexts.Hook = (*EngineHook)(nil)
|
||||
var durationHistogram = promauto.NewHistogram(prometheus.HistogramOpts{
|
||||
Namespace: "db",
|
||||
Subsystem: "client",
|
||||
Name: "operation.duration",
|
||||
Name: "operation_duration_seconds",
|
||||
Help: "Duration of database client operations.",
|
||||
// ConstLabels: prometheus.Labels{"db.system.name": BuilderDialect()}, //TODO: add type of database per spec.
|
||||
})
|
||||
|
@ -1,3 +1,6 @@
|
||||
// Copyright 2025 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package common
|
||||
|
||||
import (
|
||||
|
Loading…
x
Reference in New Issue
Block a user