Skip to content

Commit fecd4dc

Browse files
author
David Wertenteil
authored
Merge pull request #94 from kubescape/otel
correct otel service name
2 parents 3bf34ea + 39a8d1c commit fecd4dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,5 @@ require (
144144
sigs.k8s.io/yaml v1.3.0 // indirect
145145
)
146146

147+
// waiting for https://github.com/inspektor-gadget/inspektor-gadget/pull/1837 to be included in a release
147148
replace github.com/inspektor-gadget/inspektor-gadget v0.18.0 => github.com/slashben/inspektor-gadget v0.0.0-20230709135730-d50da6ca1e74

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535

3636
// to enable otel, set OTEL_COLLECTOR_SVC=otel-collector:4317
3737
if otelHost, present := os.LookupEnv("OTEL_COLLECTOR_SVC"); present {
38-
ctx = logger.InitOtel("kubevuln",
38+
ctx = logger.InitOtel("node-agent",
3939
os.Getenv("RELEASE"),
4040
clusterData.AccountID,
4141
clusterData.ClusterName,

0 commit comments

Comments
 (0)