mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
f8da301e57
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
8 lines
151 B
Go
8 lines
151 B
Go
package prometheus
|
|
|
|
type Config struct {
|
|
Host string `json:",optional"`
|
|
Port int `json:",default=9101"`
|
|
Path string `json:",default=/metrics"`
|
|
}
|