We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66d62f2 + efa38ec commit 833955fCopy full SHA for 833955f
csemonitor.go
@@ -8,9 +8,9 @@ import (
8
"time"
9
10
"github.com/ServiceComb/go-chassis/core/archaius"
11
- "github.com/ServiceComb/go-chassis/core/config"
12
"github.com/ServiceComb/go-chassis/core/lager"
13
"github.com/ServiceComb/go-chassis/core/registry"
+ runtime2 "github.com/ServiceComb/go-chassis/pkg/runtime"
14
"github.com/rcrowley/go-metrics"
15
)
16
@@ -61,7 +61,7 @@ func (reporter *Reporter) Run() {
61
62
//If monitoring is enabled then only try to connect to Monitoring Server
63
if archaius.GetBool("cse.monitor.client.enable", true) {
64
- reporter.serviceID = config.SelfServiceID
+ reporter.serviceID = runtime2.ServiceID
65
66
instances, ok := registry.SelfInstancesCache.Get(reporter.serviceID)
67
0 commit comments