on 20 Dec 2024 11:37 AM
Recently a classic Dashboard preset: "Tagging worker Dashboard" was released which provides insights into one of our main engines in regard to environment segregation and filtering. This article will explain how to understand the information available in the dashboard and the effects that long rule processing times can have on the environment.
In the dashboard the following set of metrics is available:
dsfm:server.monitored_entities.tagging.tagging_worker_runtime
Provides runtime for rule processing split by worker type and feature
dsfm:server.monitored_entities.tagging.tagging_worker_top_slowest_rules
Provides runtime for the top 100 slowest rules executed in the environment
dsfm:server.management_zones.active_configs
Provides count of configured Management Zones
dsfm:server.management_zones.queries_counter
Provides information about the count of queries that poll Management Zones in the environment.
dsfm:server.automatically_applied_tags.active_configs
Provides count of configured tags
Starting at the top of the dashboard we have first a section using the runtime metric in different visual representations:
Those charts represent the total amount of time it takes our worker to process all the Management Zone/Tagging/Naming rules in your environment.
Splitting by dt.tagging_runtime.feature
allows to find out how long each of the Management Zone/Tagging/Naming takes to process.
Splitting by dt.tagging_runtime.type
allows to find out how long each of our default/fastlane workers takes to process the rules.
Next is our section about top slowest rule execution times. This section helps to understand potential outliers of your configuration.
The provided charts present both the slowest rules on average in your selected timeframe and per execution assigned to specific point in time.
Splitting by dt.tagging_rule.name
allows to find out which rule is responsible for processing in given time.
Splitting by dt.tagging_rule.feature
allows to find out what kind of configuration is responsible(Naming, Management Zones, Tagging)
For example here we can see that the slowest rules are:
The last section of the dashboard is dedicated to understanding the amount of configured rules for Management Zones and Tagging with addition of a chart providing information on how many times given Management Zone was queried.
Currently Tag query usage is not available.
Management zone query count can be useful to determine which configurations are not used by users and can be deleted to reduce processing time.
As mentioned previously:
The worker is running in back to back mode and starts as soon as the previous run finished.
Dynatrace is already doing all it can to make this process as fast as we possibly can. If you notice long processing runtimes in your environment please consult this best practices guide: https://docs.dynatrace.com/docs/shortlink/tagging-at-scale
We also recommend to review your Management Zone usage with dsfm:server.management_zones.queries_counter
all and delete all unnecessary/not-used configurations.
Stay tuned for news around this topic in the new Dynatrace platform setting!
In the meantime check out Segments as a way to logically structure and conveniently filter observability data across apps on the Dynatrace platform: https://docs.dynatrace.com/docs/shortlink/segments
It is a Preset dashboard and should be available in every environment that has a supported Dynatrace version.
Here is a link to our public demo if someone is interested:
I don't have access to https://demo.live.dynatrace.com/ui/apps/dynatrace.classic.dashboards/#dashboard;gtf=-2h;gf=all;id=78...
can you add me?