mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
14 lines
320 B
Go
14 lines
320 B
Go
![]() |
package metrics
|
||
|
|
||
|
import "github.com/docker/go-metrics"
|
||
|
|
||
|
const (
|
||
|
// NamespacePrefix is the namespace of prometheus metrics
|
||
|
NamespacePrefix = "registry"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
// StorageNamespace is the prometheus namespace of blob/cache related operations
|
||
|
StorageNamespace = metrics.NewNamespace(NamespacePrefix, "storage", nil)
|
||
|
)
|