Skip to content

otelgin: Add a WithSpanOptions option #7247

Open
@sdwa0

Description

@sdwa0

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions