You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically the prometheus exporter cannot be used with the operator because the exporter port is not exposed in the collector container and the pod monitor requires it.
The workaround is to expose port directly in the CR
Use case: I want to use https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/prometheusexporter to export pipeline's metrics to prometheus by using the
podmonitor
.The
podmonitor
has config to set the port as string https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#endpoint.When
prometheusexporter
is enabled the port is not exposed as container port on the collectorThe text was updated successfully, but these errors were encountered: