-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[exporter/otlphttp] add custom profiles_endpoint config setting #13505
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
[exporter/otlphttp] add custom profiles_endpoint config setting #13505
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #13505 +/- ##
==========================================
- Coverage 92.76% 92.72% -0.04%
==========================================
Files 630 630
Lines 35515 35515
==========================================
- Hits 32944 32933 -11
- Misses 2025 2033 +8
- Partials 546 549 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…/13504-create-custom-profiles-endpoint-otlphttpexporter
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.
Good catch, thank you.
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.
The problem is that the config of this exporter is "stable" and we are adding possibly an unstable config here. What would be the path for this?
@open-telemetry/collector-approvers can you suggest?
Good point. I think we can proceed here for the following reasons:
We may want to clarify how stable/unstable config options at the same level like in this situation are treated. However everything I can see about our publicly-stated stability guarantees for the exporter seem to indicate that the exporter's handling of profiles and profile-related config options are still considered unstable. |
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.
With the v1development
element in the endpoint, it clearly marks the endpoint as not stable. So I think, it is fine to go and I agree with #13505 (comment).
We don't allow breaking changes in the configuration (at least that was my intent when I wrote that part). In particular we say:
I think for this particular option this means that we need to support this option forever if we merge this. I think this is fine since the profiling signal is here to stay, and the worst-case scenario is to keep this option working in some way if things change drastically. |
As mentioned, it's extremely unlikely profiling would be dropped. |
The module itself is still 0.x, shouldn't we be okay to make API-only breaking changes for profiles before we make it 1.x? |
Yes, that is true, I guess the point Bogdan was trying to make is that we intend to mark this as 1.x at some point in the short/medium term. But anyway, as Damien pointed out, it is extremely unlikely that this would be changed in any way, so I am personally okay with taking the risk |
@bogdandrutu Could you take a look at the discussion above and see if this unblocks things for you? |
@bogdandrutu I think given the discussion above and the fact that this is still not 1.0 I am going to merge this and we can keep discussing on #13504 if you have further concerns. What do you think? |
…point-otlphttpexporter
Per our conversation on Slack, dropping this since we have agreement from others this change is okay.
@mx-psi sounds good to me |
Description
Adds
profiles_endpoint
config setting for otlphttpexporterLink to tracking issue
Updates #13504 (edit by @mx-psi)
Testing
unit and manual testing
Documentation
updated example config and README.md