-
Notifications
You must be signed in to change notification settings - Fork 414
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:
![image](https://private-user-images.githubusercontent.com/5334156/338919642-6ae4e6e8-ae5c-4285-b0c3-9dfa0a9a8f3a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNTc0NzMsIm5iZiI6MTcyNjE1NzE3MywicGF0aCI6Ii81MzM0MTU2LzMzODkxOTY0Mi02YWU0ZTZlOC1hZTVjLTQyODUtYjBjMy05ZGZhMGE5YThmM2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTJUMTYwNjEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjY4ZjU1YWFmMDdmNDU3N2E3YzFlZWY4MTk5MGJjZmM5NGE5OWE3N2Q0NWRmZjI4YWMxZjAyNzZhZDEyODk4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kqD9BoWQYRCjiQuXrdZ__WoDzbDZ9GgpDVLHhg8Mmu4)
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: