question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider not exposing `getActiveSpanProcessor` at `Tracer` level

See original GitHub issue

Although not clearly stated in the Specification, usually this functionality is only exposed at the TracerProvider level. Not a strong feeling though.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dyladancommented, Apr 22, 2021

Since carlos said he didn’t have a strong feeling and this is only an SDK concern, not API, I think it’s fine to close.

0reactions
Flarnacommented, Apr 22, 2021

The Tracer has a reference to it’s TracerProvider. We could pass it to the Span constructor. Or we add a public getter on class Tracer to get the TracerProvider instead the SpanProcessor.

But not sure if it is worth the effort.

Read more comments on GitHub >

github_iconTop Results From Across the Web

opentelemetry-specification/api.md at main - trace - GitHub
The API SHOULD NOT expose details about how they are internally stored. IsValid. An API called IsValid , that returns a boolean value,...
Read more >
Optimization of 18 F-syntheses using 19 F-reagents at tracer ...
To accelerate tracer development, we have developed a strategy to simulate radioactive 18 F-syntheses by using tracer-level (nanomolar) non- ...
Read more >
Renovate Bot Package Diff
- By default, we use the AppInsights key to detect whether or not the telemetry is first-party. The constructor now takes an optional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found