Skip to content

OpenTelemetry span builder uses span name as resource name instead of operation name.  #7556

Open
@tmccombs

Description

@tmccombs

See

this.tracer.buildSpan(INSTRUMENTATION_NAME, SPAN_KIND_INTERNAL).withResourceName(spanName);

Unlike in the opentracing tracer we pass SPAN_KIND_INTERNAL as the operationName to the delegate tracer, instead of the span name passed in to spanBuilder. Then passes the spanName as the resource name.

Is there a reason for this inconsistency?

Or was the intent that SPAN_KIND_INTERNAL was mean to be the span kind, but was actually passed as the operation name?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions