tarantool / grafana-dashboard

Dashboard for Tarantool application and database server monitoring with Grafana
MIT License
34 stars 11 forks source link

Add an opportunity to specify prefix for metric names #204

Closed palage4a closed 1 year ago

palage4a commented 1 year ago

We have cases that forces us to use metric names with some prefixes. For example: projec_name_tnt_stats_op_total. I want to be able to generate a dashboard with metric names with certain prefixes.

DifferentialOrange commented 1 year ago

Prefixes sound reasonable, but I'm not sure about suffixes. Do you really have such cases? It is unexpected since Prometheus naming policy has some restrictions like "counter metric names should end with _total", "histogram/summary observed sum must end with _sum" and "histogram/summary observations count must end with _count" which leave no place for custom suffixes.

palage4a commented 1 year ago

It is make sense. Frankly speaking, i do not have cases with suffixes after metric_name, so we could solve our cases with only prefixes. I updated the issue.