-
Notifications
You must be signed in to change notification settings - Fork 562
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
HTTP Semconv Migration Plan #5132
Comments
This doesn't include any of the details discussed during yesterdays SIG meeting regarding rolling out the "opt-in" phase over multiple releases for all the instrumentation libraries. |
Alternative Plan:
Unknowns
|
Is that roughly the equivalent of using OTEL_HTTP_CLIENT_COMPATIBILITY_MODE, with Current:
Current + 1:
Current + 2:
That seems like it is still roughly in the spirit of the expected migration plan, and I wouldn't expect any pushback from the spec SIG. If that is accurate, I don't expect any pushback from anyone, but it is good to check. It strikes me as a little bit less work, although nothing crazy, since you still have to implement old, dup, and new at different points in time. |
the one part that this doesn't quite address from the original plan is the 6 month "grace period" for users once the instrumentation starts emitting new semconv by default the original plan addressed this by security patching the prior version for 6 months I think your plan could also address this if
also check out open-telemetry/semantic-conventions#791 for other ideas that could help limit the implementation effort (btw, at the end of the day, I support whatever plan the Go SIG community agrees to) |
I'm curious on why we chose to use a different environment variable |
@MadVikingGod Is there a reason why we would not want to use the spec'd environment variable? |
Going to hold the next release until we can resolve the environment variable issue. |
When this was first proposed there was discussion back and forward about this change, and that was the last choice made. It should be a single line change to switch the name, and I'm fine with it. |
Added the PR to the 1.29 milestone, and removed this issue |
This change renames the environment variable used for compatibility mode to `OTEL_SEMCONV_STABILITY_OPT_IN` as per the recommendation in the spec. Follow up from [this comment](#5132 (comment)). Co-authored-by: Aaron Clawson <MadVikingGod@users.noreply.github.com>
Closing. We have adopted this plan and are moving forward with it. |
Reasoning
The HTTP Semantic Conventions made breaking changes from v1.20.0 to v1.21.0; this means that if we did a hard cutover in our instrumentation, any users with dashboards or alarms that used these attributes would break. To ease that, we propose the following plan to provide a path for users to migrate any existing dashboards.
Migration Plan
User Migration Story
The goal is to allow users to upgrade versions of the
otelhttp
package and enable incremental migrations of dashboards and alerts.When the user first upgrades to v0.49, they will receive a warning that they are using v1.20.0 semantic conventions. This indicates that action needs to be taken, or their dashboards and alerts will be affected.
They can then set the environment variable
OTEL_HTTP_CLIENT_COMPATIBILITY_MODE
tohttp/dup
and receive both the original v1.20.0 attributes and the new v1.24.0 attributes. This will allow them to update their dashboards and alerts to use the new attributes and validate they are not missing any data.The text was updated successfully, but these errors were encountered: