Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.
This repository was archived by the owner on May 23, 2024. It is now read-only.

[Bug]: Sampler tags are missing in root span generated from startSpan #611

@ChenX1993

Description

@ChenX1993

What happened?

The sampler tags (sampler.type & sampler.param) are missing in generated root span when additional tags option is provided in startSpan.

Steps to reproduce

  1. call tracer.StartSpan with tag option that has more than 2 key-value pairs.
t := opentracing.Tags{
"testTag1": "test tag 1",
"testTag2": "test tag 2",
"testTag3": "test tag 3",
}
sp := tracer.StartSpan("operation _name", t)
ss := sp.(*Span)

Expected behavior

The span should have expected sampler.type & sampler.param tags.

Relevant log output

No response

Screenshot

No response

Additional context

No response

Jaeger backend version

No response

SDK

No response

Pipeline

No response

Stogage backend

No response

Operating system

No response

Deployment model

No response

Deployment configs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions