Skip to content

Commit

Permalink
Rename Table.Call span to table name instead (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany authored Jan 31, 2025
1 parent 8293fdf commit 629f995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (t *Plugin) Routes() osquery.ExtensionPluginResponse {
}

func (t *Plugin) Call(ctx context.Context, request osquery.ExtensionPluginRequest) osquery.ExtensionResponse {
ctx, span := traces.StartSpan(ctx, "Table.Call", "action", request["action"], "table_name", t.name)
ctx, span := traces.StartSpan(ctx, t.name, "action", request["action"], "table_name", t.name)
defer span.End()

ok := osquery.ExtensionStatus{Code: 0, Message: "OK"}
Expand Down

0 comments on commit 629f995

Please sign in to comment.