Skip to content

Commit

Permalink
trivy-test
Browse files Browse the repository at this point in the history
  • Loading branch information
vijeyash1 committed Feb 26, 2024
1 parent e5c9942 commit 70c4f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kubviz/plugins/trivy/trivy_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func executeTrivyImage(command string) ([]byte, error) {

ctx := context.Background()
tracer := otel.Tracer("trivy-sbom")
_, span := tracer.Start(opentelemetry.BuildContext(ctx), "executeCommandSbom")
_, span := tracer.Start(opentelemetry.BuildContext(ctx), "executeCommandTrivyImage")
span.SetAttributes(attribute.String("trivy-image-agent", "trivyimage-command-running"))
defer span.End()

Expand Down

0 comments on commit 70c4f86

Please sign in to comment.