-
Notifications
You must be signed in to change notification settings - Fork 1.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
[telemetry] mark useOtelForInternalMetrics stable #9102
[telemetry] mark useOtelForInternalMetrics stable #9102
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #9102 +/- ##
==========================================
+ Coverage 90.31% 90.33% +0.02%
==========================================
Files 341 340 -1
Lines 18308 17923 -385
==========================================
- Hits 16535 16191 -344
+ Misses 1437 1409 -28
+ Partials 336 323 -13 ☔ View full report in Codecov by Sentry. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
782679a
to
cfb672b
Compare
cfb672b
to
49e14a1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's beautiful. What impact does this have on components in Contrib, like tailsamplingprocessor or filterprocessor, that use OC?
Same question as Tyler regarding the Splunk HEC exporter: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/splunkhecexporter/heartbeat.go#L58 |
Should have no impact, the opencensus bridge is still in place to receive OC metrics |
@TylerHelmuth @atoulme the global OC registry is still usable by components: opentelemetry-collector/service/telemetry.go Line 137 in 49e14a1
|
Can this PR wait for a couple releases? Our team relies on OpenCensus reporting and the metrics generated. Some metrics in queue_sender like queue size and queue capacity are important for our business. We only notice the OpenCensus metrics is being removed because of the feature gate change in V0.92. I can imagine there are other users in the same boat. Would it make sense to wait for a couple releases so users have time to migrate off OpenCensus metrics? |
Thanks for the feedback @splunkericl! Can you specify which metrics? Queue size and capacity were added to the opentelemetry generated metrics some time ago. See #8716 |
@splunkericl just more follow up on this, any components that's using OpenCensus to generate metrics can continue to do so even with this change. The telemetry configuration for the Collector still supports the OpenCensus bridge. |
@codeboten ah I see. So the application generating open census metrics will see them in the prometheus server spawned? If that is the case that should be fine. Our application has been scraping against the prometheus metrics endpoint and use these metrics for business logics. As long as the workflow is still the same it should be fine and gives us more time to migrate to start using OTEL metrics framework. |
@splunkericl right. The metrics that are being exposed via prometheus today will continue to be exposed in the same manner, regardless of how those metrics are being recorded inside the collector itself. You can see a sample output of the metrics before and after the flag is used here: #9029 (comment) Any component (in core or in contrib) that is still recording its metrics via opencensus will continue to see its metrics exported via the collector's internal prometheus endpoint. Note there is an open issue to migrate components away in the future though: open-telemetry/opentelemetry-collector-contrib#29867. This would allow us to remove a dependency on the opencensus library. |
Got it. Thanks for the explanations! |
49e14a1
to
e16a6d1
Compare
This marks the flag as stable. Leaving this as a draft until v0.92.0 is released. Signed-off-by: Alex Boten <aboten@lightstep.com>
Signed-off-by: Alex Boten <aboten@lightstep.com>
Signed-off-by: Alex Boten <aboten@lightstep.com>
9f2d74f
to
6ad48b3
Compare
Follows #9102 --------- Signed-off-by: Alex Boten <aboten@lightstep.com>
This marks the flag as stable. Leaving this as a draft until v0.92.0 is released.
Closes #8962
Fixes #816