I have an application shipping metrics to prometheus over micrometer-jmx and I cannot change the application to use micrometer-prometheus instead. All parameterized metrics are therefore not prometheus labels but are instead encoded directly into the name of the metric.
i.e. instead of requests_Count{processor="BILLING_PROCESSOR", type="SCRIPT"}
metrics are in the form of requests_PRC_BILLING_PROCESSOR_TYP_SCRIPT_Count
.
Now let's say I want a graph in grafana of request counts grouped (stacked/overlapped) by type. Is there any way I can accomplish that without labels and with metrics in that format? I've managed to construct grafana variables which extract the processor and type values from the metric name but I can't seem to do much with those values.