-
Notifications
You must be signed in to change notification settings - Fork 452
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
Micrometer Observation support #1879
base: main
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
Thanks @marcingrzejszczak for opening this PR! However, this project still has to support Java 7 as mentioned in the README, it would be hard for us to accept this because |
Hey, thanks for the feedback. You've mentioned that you're doing a POC with OTel googleapis/sdk-platform-java#1807 and it also requires JDK8. So how are you going to go with the infra as far as that PR is concerned? I can then do the same with this one. |
This repo is a dependency of Google API Client Libraries which still supports Java 7, sdk-platform-java contains a few dependencies of Google Cloud Client Libraries, which is the newer and recommended way to access Cloud APIs, and requires Java 8. I know it's confusing and we are trying to make it clearer. |
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #1868 ☕️
If you write sample code, please follow the samples format.
Discussion points
This PR extracts the logic that the OpenCensus instrumentation used to instrument an outbound request into an interface that other implementations (Micrometer Observation, OpenTelemetry etc.) could implement. For backward compatibility I left the OpenCensus one as the one that is always being set (you can override it).
Problems
Results of running the tests are
.Metrics
.Spans - Brave
.Spans - OpenTelemetry