-
Notifications
You must be signed in to change notification settings - Fork 889
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
Document that OpenTelemetry instrumentation should follow semantic conventions #3650
Comments
In principle I agree with this, but I also think instrumentation authors are an important feedback mechanism for the semconv, even after the semconv is written. I think we should distinguish between experimental and stable semconv in this area. Experimental semconv is just that: experimental, and should be treated as such during the implementation phase. Taking the recent case of the JS lambda instrumentation, the experimental spec was updated in such a way that it broke a subset of existing users. During implementation of the JS instrumentation for this change the break was discovered, and now the semconv is being updated to address that break. If the PR had been merged blindly, we may never have discovered this issue. Even if it was discovered, it would have resulted in even more thrash (potentially breaking) when the spec was fixed after the change was merged. |
(in particular)
|
If I recall correctly, the context for this issue was about lambda instrumentation. There was disagreement over a PR that was merged to semantic conventions and the lambda maintainers declined PRs to reflect the changes. So the language about stable instrumentation is good, but not good enough to resolve this situation. But its tricky because there are valid reasons why a maintainer might decline to accept PRs for a new experimental convention. For example, they might wish to avoid churn if more changes are anticipated. |
I don't think we explicitly say this anywhere but instrumentation that is hosted by / maintained in the OpenTelemetry org should follow the semantic conventions. Perhaps this is implicit / obvious, but I think it would be good to add normative language to the spec which makes this clear.
Some other thoughts on the subject:
The text was updated successfully, but these errors were encountered: