cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Filtering Dashboard data using Generic tag key

Sahil1999
Observer

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.

5 REPLIES 5

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi @Sahil1999 

can you present this tile and how you made the configuration?

Radek

Have a nice day!

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.

Sahil1999_0-1701702208680.png

Then applying the filter 

Sahil1999_1-1701702277842.png

I have made a auto tagging rule for K8 tags.

Kindly let me know any suggestions you have 🙂




zietho
Dynatrace Leader
Dynatrace Leader

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? 

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

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 🙂

Featured Posts