Target Allocator not able to allocate #23342
Labels
bug
Something isn't working
needs triage
New item requiring triage
receiver/prometheus
Prometheus receiver
Component(s)
receiver/prometheus
What happened?
Description
Configured OpenTelemetryCollector CR in Kubernetes, and a ServiceMonitor just for testing. The TargetAllocator is not able to get the config because some empty parameter, but all of them are filled.
The logs from target allocator:
The configuration for the collector:
with
targetAllocator
field inside OpenTelemetryCollector CR:The following piece of config is added to avoid another bug about empty
scrape_configs
better described hereAll the permissions have been granted to the ClusterRole used by the target allocator according to the guide you provided
Expected Result
Expected to have ServiceMonitor resources just scrapped and imported
Actual Result
ServiceMonitor resources are not even get
Collector version
0.79.0
Environment information
Environment
OS: Kubernetes 1.23
OpenTelemetry Collector configuration
provided on top
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: