Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Include a server span kind
Browse files Browse the repository at this point in the history
  • Loading branch information
zachfi committed May 10, 2023
1 parent e512506 commit 9a55f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/telemetry/telemetry.go
Expand Up @@ -200,7 +200,7 @@ func (l *Telemetry) ReportNetworkID(ctx context.Context, request *inventory.Netw
return &inventory.Empty{}, fmt.Errorf("unable to fetch inventory.NetworkID with empty name")
}

spanCtx, span := l.tracer.Start(ctx, "ReportNetworkID")
spanCtx, span := l.tracer.Start(ctx, "ReportNetworkID", trace.WithSpanKind(trace.SpanKindServer))
defer span.End()

hosts, ids, err := l.findMACs(spanCtx, request.MacAddress)
Expand Down

0 comments on commit 9a55f31

Please sign in to comment.