Skip to content

Conversation

@KolbyMcGarrah
Copy link

We would like to have the ability to customize the names of the spans created on sql operations. I've added the following to be able to set the span name without any changes needed to codebases already using the library.

Added an option to TraceOptions struct to allow us to set custom span names from context.
Updated all context client operations to support using the FormatSpanName func to set the custom span name.
Added a WithFormatSpanName func to functionally set the FormatSpanName option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant