-
What Grafana version and what operating system are you using?
Grafana v11.3.0+security-01 (5ddc329279) / Ubuntu Linux -
What are you trying to achieve?
Merge same columns -
How are you trying to achieve it?
Tried different transformations -
What happened?
Didn’t get desired result -
What did you expect to happen?
Expect to have columns with same name merged. -
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No -
Did you follow any online instructions? If so, what is the URL?
Hi, i have a metric of following type: worker{metric="metric_name", replica="replica_id"}
.
Querying different values of metric label will result in different metrics of some worker. As u can see on screenshot 1, currently my table has duplicated columns with same purpose. They are separated because of 2 different replicas of my service, and i want to get these 2 merged under single column, mb it could have separate column with replica_id
.
Currently it has these transformations applied
Also i’m not sure how to get rid of duplicate rows, i thought about grouping by scheduled_start
, but it means that 2 different replica entries will be grouped too?