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

Fix a metrics API bridging issue #6034

Merged
merged 1 commit into from
May 16, 2022

Conversation

mateuszrzeszutek
Copy link
Member

I noticed that you can't close an observable instrument from the application side, we weren't bridging close() methods before.

@mateuszrzeszutek mateuszrzeszutek requested a review from a team May 16, 2022 17:44
@@ -3,7 +3,7 @@ plugins {
}

dependencies {
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "shadow"))
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "v1_10"))
Copy link
Member Author

Choose a reason for hiding this comment

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

IntelliJ kept adding back the @Override annotation no matter how I configured it when this module was compiled against the latest version - I had to add some gradle voodoo to generate shaded 1.10 metrics api.

Copy link
Member

Choose a reason for hiding this comment

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

wow, nice

@@ -3,7 +3,7 @@ plugins {
}

dependencies {
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "shadow"))
compileOnly(project(":opentelemetry-api-shaded-for-instrumenting", configuration = "v1_10"))
Copy link
Member

Choose a reason for hiding this comment

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

wow, nice

@trask trask merged commit 18352ff into open-telemetry:main May 16, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
@mateuszrzeszutek mateuszrzeszutek deleted the metrics-api-bridge-fix branch November 18, 2022 10:29
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