vendored distribution is quite old, and current distribution contains an API break, which means it's not possible to vendor a bugfixed distribution and a docker/docker at the same time. Signed-off-by: Mike Lundy <mike@fluffypenguin.org> Upstream-commit: 07ffa1cea9d995a7ab55793b5b08758c38fec3f0 Component: engine
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)
|
|
)
|