johrstrom / jmeter-prometheus-plugin

A Prometheus Listener for Apache JMeter that exposes results in an http API
Apache License 2.0
164 stars 109 forks source link

JSR233 names to generic name mapping. #108

Open Sadagopan88 opened 2 years ago

Sadagopan88 commented 2 years ago

Need a JSR233 to generic name mapping. The new grafana dashboard has new names but not the JSR233 mapping

johrstrom commented 2 years ago

Sorry - just to be sure I understand you're saying the grafana dashboard needs updating?

Sadagopan88 commented 2 years ago

The grafana dashboard and the metrics configurations are not in sync. All the metrics are jsr223_latency_as_hist_sum or jsr223_rt_as_hist_count everything with jsr233 names but the grafana dashboard examples have Ratio_failure or Ratio_Success etc. The last update on the sample https://github.com/johrstrom/jmeter-prometheus-plugin/blob/master/docs/examples/grafana.json has broken the dashboard.

Either we need a mapping between the jsr233.*** to dashboard or the name has to be updated in the metrics

image image
Sadagopan88 commented 2 years ago

This is the commit that has broken the dashboard https://github.com/johrstrom/jmeter-prometheus-plugin/commit/27edc9173e9c61c3d196d8a50bc51f60841f706c