mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
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"`
|
|
}
|