default metric host (#196)
Co-authored-by: zhoushuguang <zhoushuguang@xiaoheiban.cn>
This commit is contained in:
@@ -19,9 +19,9 @@ const (
|
||||
type ServiceConf struct {
|
||||
Name string
|
||||
Log logx.LogConf
|
||||
Mode string `json:",default=pro,options=dev|test|pre|pro"`
|
||||
MetricsUrl string `json:",optional"`
|
||||
Prometheus prometheus.Config `json:",optional"`
|
||||
Mode string `json:",default=pro,options=dev|test|pre|pro"`
|
||||
MetricsUrl string `json:",optional"`
|
||||
Prometheus prometheus.Config
|
||||
}
|
||||
|
||||
func (sc ServiceConf) MustSetUp() {
|
||||
|
||||
Reference in New Issue
Block a user