akoutmos / prom_ex

An Elixir Prometheus metrics collection library built on top of Telemetry with accompanying Grafana dashboards
MIT License
596 stars 104 forks source link

[BUG] Ecto dashboard is using incorrect value field for pool_size and timeout panels #222

Closed onimsha closed 1 month ago

onimsha commented 11 months ago

Describe the bug In the Ecto dashboard JSON, it's using /^Value$/ for the value fields. (here and here). This will render No Data in the generated dashboard the there's no such field with the Value string.

To Reproduce Steps to reproduce the behavior:

  1. Enable the Ecto plugin.
  2. Start my sample application
  3. Check the Ecto Grafana dashboard

Expected behavior It should use the correct field name, in this case the name of the metric.

akoutmos commented 1 month ago

Your fix has been merged and is available in 1.10.0! Thanks :)