Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking browser instrumentation packages stable #3185

Closed
1 of 2 tasks
scheler opened this issue Aug 20, 2022 · 7 comments
Closed
1 of 2 tasks

Marking browser instrumentation packages stable #3185

scheler opened this issue Aug 20, 2022 · 7 comments
Labels

Comments

@scheler
Copy link
Contributor

scheler commented Aug 20, 2022

  • This only affects the JavaScript OpenTelemetry library
  • This may affect other libraries, but I would like to get opinions here first

What work is needed to consider these instrumentations stable?

  1. opentelemetry-instrumentation
  2. opentelemetry-instrumentation-fetch
  3. opentelemetry-instrumentation-http
  4. opentelemetry-instrumentation-document-load (from contrib repo)

Few things I can think of -

  1. Agree on the structure of performance timing info. This is being discussed in [Discussion] Deprecating the addNetworkSpanEvents as this is not the correct approach for "events" #3174
  2. Deprecate/remove component attribute from the spans as scope.name should be used instead
  3. Do we need the span attribute http.user_agent given it will now be in the resource. See this.
@vmarchaud
Copy link
Member

What work is needed to consider these instrumentations stable?

The main problem for me would be to consider opentelemetry-instrumentation stable which would means this API is stable for people to build their own instrumentations with, which for me is far from the case for the following reasons:

And those are only the one i could come up from memory, i think there might be more

opentelemetry-instrumentation-http

Http instrumentation is for node and not the browser though

@vmarchaud
Copy link
Member

Something i forgot but there also the meaning of an instrumentation stability, does that means the telemetry generated is stable and will not change ? Which sound complex to support right now imo

@scheler
Copy link
Contributor Author

scheler commented Aug 20, 2022

The ask is to mark the instrumentations stable only from a telemetry perspective, as defined here. Can you provide some info on why this sounds complex?

Do any of the items you listed above affect telemetry stability? I wonder if there is a way to mark/indicate the status of an instrumentation to be stable only from the perspective of telemetry.

@vmarchaud
Copy link
Member

Can you provide some info on why this sounds complex?

I explained why opentelemetry-instrumentation can't become stable IMO, i don't have anything against document-load/xhr/fetch in themselves apart from the fact that it may be better to wait for the RUM SIG to finish its specification because i believe those instrumentations fall under their scope

@scheler
Copy link
Contributor Author

scheler commented Aug 21, 2022

Yes, I will take up the spec for document-load/xhr/fetch in RUM SIG. Thanks for the other info.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the stale label Oct 24, 2022
@github-actions
Copy link

This issue was closed because it has been stale for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2022
Repository owner moved this from Backlog to Done in Spec: Client SDK and Instrumentation Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants