Skip to content

Commit

Permalink
add call method to span
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-asher committed Feb 14, 2024
1 parent cf5c0e3 commit e7405ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rpc/shiroclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ func (c *rpcShiroClient) Init(ctx context.Context, phylum string, configs ...typ

// Call implements the ShiroClient interface.
func (c *rpcShiroClient) Call(ctx context.Context, method string, configs ...types.Config) (types.ShiroResponse, error) {
ctx, span := c.tracer.Start(ctx, "sdk:Call")
ctx, span := c.tracer.Start(ctx, "sdk:Call "+method)
defer span.End()
opt, err := c.applyConfigs(configs...)
if err != nil {
Expand Down

0 comments on commit e7405ab

Please sign in to comment.