24 Mar 2022 10:22 AM - last edited on 25 May 2023 11:58 AM by Michal_Gebacki
Hi
use case:
I have a server "host1" id DT "HOST-XXXXXXXXX1",
the server "host1" have Tags :
datacenter:DC1
environment:DEV
and some others sourced by extension
I send the metric affected on it
custom.mymetric,dt.entity.host=HOST-XXXXXXXXX1,hostname=host1 100
in a dashboard, I can add a table, and select dimensions sent (dt.entity.host,hostname)
but I can't add Tags of this server in the table
How can I add tags to a dashboard without sending them in ingestion of metrics, to avoid overloading the network, and exploit fully the tagging system.
Thanks
Solved! Go to Solution.
24 Mar 2022 09:05 PM
Hi There,
As far as I can tell, you can't add the tag values on a dashboard as that's not available as a dimension on metrics. You can only use the tag(s) to filter within Dynatrace. Although it's not for dashboard, you could always export the detailed host information via our API which will include tags and many other information.
Thanks,
Imran
29 Mar 2022 03:55 PM
Hi Imran,
Do you know if it's an improvment planned in Dynatrace ?
we add a lot of information in Tags make sense to exploit it in Dashboard
20 Jul 2022 09:48 PM
Hey @Stef_Stouf95 ,
No, such an improvement is not planned at the moment. For built-in metrics, we have the :parents (https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#parents-transformation) transformation, which adds some context to such a metric.
However, this doesn't help you with a "custom" metric.
There the only way is, as you said, to ingest this yourself as, yet another dimension, then you can of course split by it.
regards
Thomas