-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[wip][chore] migrate away from opencensus over to otel #33664
[wip][chore] migrate away from opencensus over to otel #33664
Conversation
This migrates the opencensus metrics to opentelemetry via mdatagen. Note that there is functionality to override the metric names in this exporter that isn't supported out of the box w/ mdatagen. This will be configurable via the configuration of metric views in `service::telemetry::metrics::views` in the future. One option to get around this in the short term would be to not use mdatagen and just use otel directly. Closes open-telemetry#33471 Signed-off-by: Alex Boten <[email protected]>
Thanks @codeboten I can try to look at it soon. |
Thanks @atoulme, any update on this? |
FYI, looks like a lot of checks are failing and from what I can tell they're related to this PR. It would be helpful to fix those before reviewing. ETA: Is this ready for review, or still a draft? |
@crobert-1 i was leaving this in draft until I know which way I should be addressing the shortcomings of this PR (regarding the configuration for the component that currently allows users to rename their emitted metrics) |
This is an alternative to open-telemetry#33664, since mdatagen doesn't support changing metric names, this substitutes the opencensus sdk calls with otel directly. Signed-off-by: Alex Boten <[email protected]>
As per #33924 (comment), going to close this one in favour of #33924 |
This is an alternative to #33664, since mdatagen doesn't support changing metric names, this substitutes the opencensus sdk calls with otel directly. Pinging @atoulme @dmitryax @crobert-1 to guide which of the two approaches is preferred. This component is the last one blocking the removal of the opencensus bridge in core. Closes #33471 Closes #29867 ~NOTE: tests need to be fixed, but i wanted to propose this alternative before spending time to fix the tests~ --------- Signed-off-by: Alex Boten <[email protected]>
This migrates the opencensus metrics to opentelemetry via mdatagen. Note that there is functionality to override the metric names in this exporter that isn't supported out of the box w/ mdatagen. This will be configurable via the configuration of metric views in
service::telemetry::metrics::views
in the future.One option to get around this in the short term would be to not use mdatagen and just use otel directly.
Closes #33471
Pinging @atoulme as you may have thoughts on how to move this work forward.