Modify data by template

Hi all, Im graphing some data from a kubernetes cluster and displaying a simple table of deployments. This works fine. There is just one minor detail that’s a bit annoying. The deployment names are suffixed by a random hex string like so: heimdall-3fd6d732a. Is it possible to rename those values so all I see is ‘heimdall’?

Grafana 8.1.2 using prometheus metrics.

Hi @corbosman

I have awesome news. Users have wanted this feature for a long time, and regex-based value mapping is now available in Grafana 8.2.0-beta1. Here is the PR. Was able to do this in the new version!

This topic was automatically closed after 365 days. New replies are no longer allowed.