I have created a custom Prometheus extension that collects metrics from an endpoint.
The thing is, there’s over 100 metrics there and I don’t want to add every one of them manually to the json.
So my question is, is there a way to collect all metrics from an endpoint? Or at least all metrics starting with a specific prefix (most of them have the same prefix)?
I saw in this documentation Prometheus data source reference — Dynatrace Docs that you can use “filter”, however it seems to be in a different section of the json, and not where the metrics are, and seems metrics still need to be added regardless, if I’m understanding correctly.
