config.go 187 B

12345678
  1. package prometheus
  2. // A Config is a prometheus config.
  3. type Config struct {
  4. Host string `json:",optional"`
  5. Port int `json:",default=9101"`
  6. Path string `json:",default=/metrics"`
  7. }