-
Notifications
You must be signed in to change notification settings - Fork 472
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
[otel-targetallocator] Unable to pass scrape_protocols #3035
Comments
Could you go into more detail as to what bug you're experiencing, and why you believe you need to set scrape_protocols in the receiver configuration? They can be set on the ServiceMonitor, and this should work correctly. Is the issue that they can't be set globally? |
Thanks for the demonstration. I investigated, and the reason this doesn't work is that our version of prometheus-operator doesn't support setting this field yet. Support was added in prometheus-operator 0.72.0, and we're on The reason we can't upgrade yet is that this requires Go 1.22, which we can't require until Go 1.21 becomes unsupported, as per #2757. @jaronoff97 @pavolloffay I believe this is the first time this policy has blocked a user requested feature. |
I'm experiencing the same issue. It would be nice to have this fixed. |
Component(s)
target allocator
What happened?
Description
In k8s, I use opentelemetry-operator and servicemonitor to collect metrics. I want to use opentelemetry's OTEL exponential histograms. But there is a bug in it that makes my purpose impossible to achieve.
Steps to Reproduce
My config is like this:
Expected Result
export OTEL exponential histograms.
Actual Result
export classic histograms.
Kubernetes Version
1.28.0
Operator version
v0.102.0
Collector version
v0.102.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: