Skip to content

Commit

Permalink
Merge pull request #94 from kubescape/otel
Browse files Browse the repository at this point in the history
correct otel service name
  • Loading branch information
David Wertenteil authored Jul 13, 2023
2 parents 3bf34ea + 39a8d1c commit fecd4dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,5 @@ require (
sigs.k8s.io/yaml v1.3.0 // indirect
)

// waiting for https://github.com/inspektor-gadget/inspektor-gadget/pull/1837 to be included in a release
replace github.com/inspektor-gadget/inspektor-gadget v0.18.0 => github.com/slashben/inspektor-gadget v0.0.0-20230709135730-d50da6ca1e74
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func main() {

// to enable otel, set OTEL_COLLECTOR_SVC=otel-collector:4317
if otelHost, present := os.LookupEnv("OTEL_COLLECTOR_SVC"); present {
ctx = logger.InitOtel("kubevuln",
ctx = logger.InitOtel("node-agent",
os.Getenv("RELEASE"),
clusterData.AccountID,
clusterData.ClusterName,
Expand Down

0 comments on commit fecd4dc

Please sign in to comment.