Merge pull request #2466 from tifayuki/prometheus_go_metrics
add prometheus metrics
This commit is contained in:
commit
6664ec7039
113 changed files with 17182 additions and 8 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue