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
Is your feature request related to a problem? Please describe.
we have an in-house receiver that dynamically reloads the configs to start/stop pipelines on the fly without restarting the otel collector, we noticed when a pipeline(receivers and processors) is stopped, the receiver metrics still remain from the metrics page, such as otelcol_receiver_accepted_metric_points, otelcol_receiver_refused_metric_points for a metrics receiver, which leads to the metrics endpoint size keeps increasing as well as the number of total metrics.
Describe the solution you'd like
when receiver is stopped, its related metrics should be removed as well.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Hi team, could we have some update on this one? It is been a blocking issue for us to upgrade our metrics otel collectors version, also the other logs otel collector faced the same issue, given pods on the same k8s node are changing from time to time, receivers/pipelines have to be brought up and shutdown all the time and this leaves the metrics endpoint to growing pretty fast, and waste of memory of keeping "stale" metrics..
If it is not possible to support metrics auto removal of stopped components shortly, does it make sense to disable metrics of certain component kinds(receiver/processor/exporter) through a new feature gate?
Is your feature request related to a problem? Please describe.
we have an in-house receiver that dynamically reloads the configs to start/stop pipelines on the fly without restarting the otel collector, we noticed when a pipeline(receivers and processors) is stopped, the receiver metrics still remain from the metrics page, such as otelcol_receiver_accepted_metric_points, otelcol_receiver_refused_metric_points for a metrics receiver, which leads to the metrics endpoint size keeps increasing as well as the number of total metrics.
Describe the solution you'd like
when receiver is stopped, its related metrics should be removed as well.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: