beam-telemetry / telemetry_metrics_prometheus_core

Core Prometheus Telemetry.Metrics Reporter package for telemetry_metrics_prometheus
Apache License 2.0
35 stars 30 forks source link

Dynamic metric list #70

Open GregorGrasselli opened 2 months ago

GregorGrasselli commented 2 months ago

Hi, we have a situation where we are unable to know all the metrics that will be available in advance, and they might also dynamically change while the application is running. I saw TelemetryMetricsPrometheus.Core.Registry.register, which seems like it would solve our problems. However it is undocumented (probably not meant to be part of the interface), so I am reluctant to use it. Any chance it could be made part of the public interface? Are there any known/expected issues with using it in production code?