9 lines
187 B
Go
9 lines
187 B
Go
|
package prometheus
|
||
|
|
||
|
// A Config is a prometheus config.
|
||
|
type Config struct {
|
||
|
Host string `json:",optional"`
|
||
|
Port int `json:",default=9101"`
|
||
|
Path string `json:",default=/metrics"`
|
||
|
}
|