Global scrape protocols not propagated to target allocator generated scrape configs #3160
Labels
area:collector
Issues for deploying collector
area:target-allocator
Issues for target-allocator
bug
Something isn't working
Component(s)
target allocator
Description
Similar to #3035. When specifying scrape protocols in the global prometheus config for a collector, those protocols are not propagated to the generated scrape configs.
Steps to Reproduce
Use a prometheus config with scrape protocols globally defined:
Expected Result
Generated scrape configs have the
PrometheusProto
protocol included:Actual Result
PrometheusProto
is omitted:Kubernetes Version
1.28.3
Operator version
v0.103.0
Collector version
v0.103.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: