chore: fix comment issues (#1056)

master
Kevin Wan 3 years ago committed by GitHub
parent 872c50b71a
commit c9db9588b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,7 +29,7 @@ type ServiceConf struct {
Mode string `json:",default=pro,options=dev|test|rt|pre|pro"`
MetricsUrl string `json:",optional"`
Prometheus prometheus.Config `json:",optional"`
// TODO: enable it in v1.2.1
// TODO: enable it in v1.2.2
// Telemetry opentelemetry.Config `json:",optional"`
}
@ -52,7 +52,7 @@ func (sc ServiceConf) SetUp() error {
sc.initMode()
prometheus.StartAgent(sc.Prometheus)
// TODO: enable it in v1.2.1
// TODO: enable it in v1.2.2
// if len(sc.Telemetry.Name) == 0 {
// sc.Telemetry.Name = sc.Name
// }

Loading…
Cancel
Save