- What Grafana version and what operating system are you using?
11.6.1 - What are you trying to achieve?
I am wondering if it can be done differently with better optimization. - How are you trying to achieve it?
1) Labels to fields
2) Group by calculating las + group by labels (now there are fields because of the first transformation)
I am calculating the grouped by metrics as a LAST value
3) Merge Series/tabels
4) group by one of the labels (for ignoring one of the labels)
5) Add field from calculation: Reducing the entries with calculation as a ‘Total’ and putting a new name for Total.
6) Add field from calculation: Reducing the entries with calculation as a ‘Total’ and putting a new name for Total.
7) Add field from calculation: Reducing the entries with calculation as a ‘Total’ and putting a new name for Total.
8) Add field from calculation: Reducing the entries with calculation as a ‘Total’ and putting a new name for Total.
9) Add field from calculation: Reducing the entries with calculation as a ‘Total’ and putting a new name for Total.
10) Organize fields by name - I am organizing here new names from transformations 5-9
I assume that this is quite well organized and there is more “organizing” than calculation itself.
But after watching the grafana campfire - I’m starting to think about that.
What are you guys thinking about that? Is there any better option?
- What did you expect to happen?
I am curious if it can be done better.