Replies: 1 comment 1 reply
-
Hello Peter, Prometheus already adds a tag that contains the source name and allows to group metrics. If you have this Prometheus configuration: scrape_configs:
- job_name: mediamtx
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:9998'] All gathered metrics will have the
You can also see some automatic metrics like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am just starting to explore Prometheus/Grafana metrics with MediaMTX. I note that there is no global prefix to the returned metrics. This would allow grouping of the metrics when sorting them on the Prometheus server.
This is not a big problem, but just wondering what people think about having something like "mediamtx_" as a global prefix to the metrics.
Alternatively, it could be a configuration parameter and default to "" (nothing) so as to not break existing deployments.
Beta Was this translation helpful? Give feedback.
All reactions