Is there a way to refresh the Prometheus exporter endpoint more frequently? #9788
Unanswered
hannahchan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm currently exporting metrics from my application via OTLP to an OpenTelemetry collector. On the OpenTelemetry collector I am using the Prometheus exporter to expose a
/metrics
endpoint on the collector. Is there a way to get this endpoint to update with the latest metrics every time I call it or more frequently like every 10 seconds or less? I am already using theSimple
OTLP exporter in my app instead of batch. I am also not using the batch processor in my metrics pipeline on the OpenTelemetry collector.My OpenTelemetry collector's configuration is below.
This is important to me as it slows down my dev loop. If I switch to using the OpenTelemetry exporter in my app, it updates nearly instantaneously. My traces seem to also flow through to my Jaeger backend faster than the metrics can update.
Beta Was this translation helpful? Give feedback.
All reactions