-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Exporter metrics (otelcol_exporter_queue_capacity, otelcol_exporter_queue_size) are generated only for a single exporter on otel collector 0.96.0 #9745
Comments
@tqi-raurora are both exporters taking traffic at the same time? |
@TylerHelmuth But from what I tested it happens whenever theres more than one exporter (on our environment we got spans being sent to jaeger and metrics being sent to load balancer exporter, wich is a problem because we end up only with metrics for otlp exporter or load balancer exporter) It seems whatever exporter gets to expose the metric is random, here I restarted the service without changing config.yaml and the exporter changed from otlp/jaeger-1 to otlp/jaeger-2:
|
@dmitryax could this be related to any recent exporterhelper work? |
Also seeing this issue on v0.99.0 |
This is quite a painful issue where you have a Collector that has multiple Exporters defined. I have to resort to the Collector's logs to determine which/how many of the Exporters are affected:
Is there a potential due date for the associated milestone? |
Looks like this was repaired in v0.105.0 |
Component(s)
No response
What happened?
Description
On version 0.96.0, when setting 2 different exporters, then querying localhost:8888/metrics, only one exporter is shown on the metrics otelcol_exporter_queue_size and otelcol_exporter_queue_capacity.
The exporter that is shown appears to be random, and can change if the service is restarted.
On version 0.92.0 this was working as expected, with metrics for both exporters being shown.
Steps to Reproduce
Create a configuration with 2 exporters (example: 2 otlp exporters)
Query local telemetry endpoint at localhost:8888/metrics
Expected Result
Both endpoints should be shown.
Example:
Actual Result
Only metrics for one of the exporter is shown:
Collector version
0.96.0
Environment information
No response
OpenTelemetry Collector configuration
Log output
No response
Additional context
I had opened the original issue on the contrib repository: open-telemetry/opentelemetry-collector-contrib#31645
But @crobert-1 determined it's an issue on the core repository, so I'm opening it here
The text was updated successfully, but these errors were encountered: