otelgin: Add a WithSpanOptions option #7247
Labels
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
instrumentation: otelgin
Problem Statement
otelgin instrumentation doesn't provide a way to add extra attributes, links, etc. to the spans it generates, like the otelhttp instrumentation does.
Proposed Solution
Add a
WithSpanOptions(opts ...trace.SpanStartOption) otelgin.Option
.The text was updated successfully, but these errors were encountered: