This question comes up from time-to-time, and I'd just responded to the same on another thread. I thought it worthwhile to share as a Dynatrace tip!
You could have many tags, it is true. For all the different conditions you could think of.
eg: include or exclude Kubernetes nodes
Then say, if you want to exclude Linux-only OS, you would need another tag for 'isLinuxOS': yes/no
For Windows, 'isWindowsOS': yes/no
And so on....
This is cumbersome, I agree.
However, an easier way may be to make a tag called "exclude" and all the optional tag values point to the condition you'd like to exclude. You may add many different options here.
You can see here, the results can be quite powerful.
I could exclude all my Kubernetes nodes, to find other types of hosts.
It is even possible to combine multiple conditions.
Technically, you could filter to the same entity by combining an inclusion and exclusion tag. It all depends on the problem you'd like to solve.
Featured Posts