04 Dec 2023 01:47 PM - last edited on 05 Dec 2023 07:59 AM by MaciejNeumann
Hi,
I am trying to Filter Dashboard data using Generic tag key, I have a K8 cluster with multiple application on diff namespaces, I have introduced tags for the same.
While filtering dashboard data using tags I am facing issues, if the tile is made using advance query in data explorer, the data is not reflecting as expected, can anyone kindly help here :).
Thanks in advance.
04 Dec 2023 03:05 PM
Hi @radek_jasinski ,
I am using this query in data explorer : (builtin:kubernetes.node.requests_cpu:last:splitBy("dt.entity.kubernetes_cluster"):sum / builtin:kubernetes.node.cpu_allocatable:last:splitBy("dt.entity.kubernetes_cluster"):sum * 100):sort(value(sum,descending))
When adding this tile to dashboard, I am making the following dashboard config for tag.
Then applying the filter
I have made a auto tagging rule for K8 tags.
Kindly let me know any suggestions you have 🙂
07 Dec 2023 02:47 PM
Hey, thx for reaching out. Can you please elaborate a bit more about what doesn't work?
What works when you start in simple mode?
23 May 2024 07:22 AM
I have similar experience -> the generic tag is not working for me (or I dint understand it correctly).
My use case is : I would like to filter services and key requests (dt.entity.service_method) in classic dashboard via single tag.
Could you please share example of Generic tag usage ?
BR, Josef
04 Jun 2024 09:19 AM
I maybe found the reason/solution - > I recognized the Entity types affected by tag + Add entity type button. And after I added entity type "Service" and "Request" the dashboard started to filter (manually tagged) key requests 🙂