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

feat: add sem_conv opt in #1166

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented Sep 13, 2024

Blocked by open-telemetry/opentelemetry-ruby#1728

Brings in OpenTelemetry::SemanticConventions::StabilityMode for HTTP attributes. HTTP instrumentation should set the attribute name based on which semantic version a user sets using the environment variable OTEL_SEMCONV_STABILITY_OPT_IN (spec). That information is read by OpenTelemetry::SemanticConventions::StabilityMode to determine which attribute to send.

@@ -182,5 +186,45 @@
)
end
end

describe 'Semantic conventions http stability' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get that we're blocked to run the tests on the CI right now without a lot of temporary code since this relies on work that is not yet part of the semantic conventions gem.

Do you have anything that demonstrates the tests passing that we could use for now? Maybe a minitest screenshot?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mini screenshoot ◡̈ :
Screenshot 2024-09-16 at 4 22 03 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants