mirror of
https://github.com/distribution/distribution.git
synced 2025-09-24 12:37:00 +00:00
Merge pull request #2466 from tifayuki/prometheus_go_metrics
add prometheus metrics
This commit is contained in:
@@ -85,7 +85,11 @@ var configStruct = Configuration{
|
||||
} `yaml:"tls,omitempty"`
|
||||
Headers http.Header `yaml:"headers,omitempty"`
|
||||
Debug struct {
|
||||
Addr string `yaml:"addr,omitempty"`
|
||||
Addr string `yaml:"addr,omitempty"`
|
||||
Prometheus struct {
|
||||
Enabled bool `yaml:"enabled,omitempty"`
|
||||
Path string `yaml:"path,omitempty"`
|
||||
} `yaml:"prometheus,omitempty"`
|
||||
} `yaml:"debug,omitempty"`
|
||||
HTTP2 struct {
|
||||
Disabled bool `yaml:"disabled,omitempty"`
|
||||
|
Reference in New Issue
Block a user