File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
11
11
"github.com/otterize/intents-operator/src/shared/errors"
12
12
"github.com/otterize/intents-operator/src/shared/telemetries/componentinfo"
13
13
"github.com/otterize/intents-operator/src/shared/telemetries/errorreporter"
14
+ "github.com/otterize/intents-operator/src/shared/telemetries/telemetriesgql"
14
15
"github.com/otterize/intents-operator/src/shared/telemetries/telemetrysender"
15
16
"github.com/otterize/network-mapper/src/kafka-watcher/pkg/config"
16
17
logwatcher2 "github.com/otterize/network-mapper/src/kafka-watcher/pkg/logwatcher"
@@ -39,7 +40,7 @@ func main() {
39
40
errgrp , errGroupCtx := errgroup .WithContext (signals .SetupSignalHandler ())
40
41
clusterUID := clusterutils .GetOrCreateClusterUID (errGroupCtx )
41
42
componentinfo .SetGlobalContextId (telemetrysender .Anonymize (clusterUID ))
42
- errorreporter .Init ("kafka-watcher" , version .Version ())
43
+ errorreporter .Init (telemetriesgql . TelemetryComponentTypeNetworkMapper , version .Version ())
43
44
defer errorreporter .AutoNotify ()
44
45
shared .RegisterPanicHandlers ()
45
46
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ func main() {
98
98
99
99
componentinfo .SetGlobalContextId (telemetrysender .Anonymize (clusterUID ))
100
100
101
- errorreporter .Init ("network-mapper" , version .Version ())
101
+ errorreporter .Init (telemetriesgql . TelemetryComponentTypeNetworkMapper , version .Version ())
102
102
defer errorreporter .AutoNotify ()
103
103
shared .RegisterPanicHandlers ()
104
104
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
10
10
"github.com/otterize/intents-operator/src/shared/errors"
11
11
"github.com/otterize/intents-operator/src/shared/telemetries/componentinfo"
12
12
"github.com/otterize/intents-operator/src/shared/telemetries/errorreporter"
13
+ "github.com/otterize/intents-operator/src/shared/telemetries/telemetriesgql"
13
14
"github.com/otterize/intents-operator/src/shared/telemetries/telemetrysender"
14
15
"github.com/otterize/network-mapper/src/shared/version"
15
16
"golang.org/x/sync/errgroup"
@@ -37,7 +38,7 @@ func main() {
37
38
errgrp , errGroupCtx := errgroup .WithContext (signals .SetupSignalHandler ())
38
39
clusterUID := clusterutils .GetOrCreateClusterUID (errGroupCtx )
39
40
componentinfo .SetGlobalContextId (telemetrysender .Anonymize (clusterUID ))
40
- errorreporter .Init ("sniffer" , version .Version ())
41
+ errorreporter .Init (telemetriesgql . TelemetryComponentTypeNetworkMapper , version .Version ())
41
42
defer errorreporter .AutoNotify ()
42
43
shared .RegisterPanicHandlers ()
43
44
You can’t perform that action at this time.
0 commit comments