Service Detection v2 (SDv2) lets you split your detected services based on resource attributes. You can use the default Dynatrace detection rules and also define your own custom rules. These rules are applied globally to all detected services.
This page describes service splitting for SDv2, how to use default splitting rules, and how to create your own custom rules.
Service splitting is particularly useful when
Since the introduction of Unified Services, Dynatrace has provided several default service splitting rules as described in the table below.
Priority
Rule name
Condition
Splitting attributes
Status
1
Split Adobe Experience Manager (AEM) services by process group
adobe.em.tier
+ adobe.em.env_type
+ adobe.em.program
dt.entity.process_group
Enabled
2
Split services by k8s cluster and namespace
None (applies to all)
k8s.namespace.name
+ k8s.cluster.uid
Enabled1
If you began using Dynatrace before SaaS version 1.317, this is disabled.
If you began using Dynatrace before SaaS version 1.317, this is enabled.
Service splitting rules are customized in Settings > Process and contextualize > Services > Service splitting.
Rule name: required A user-defined name for the rule.
Description: optional A human-readable description of the rule.
Matching condition: required A DQL matcher. If the matching condition applies, the rule is evaluated.
Split service by resource attribute: optional Spans will be separated into services according to the resource attribute(s) defined here.
Consists of one or more resource attributes specified without curly braces, e.g. dt.entity.process_group
or k8s.namespace.name
.
To add a resource attribute, select Add item and enter the Attribute key.
Up to 10 resource attributes can be configured.
You can re-order custom rules to affect the order of precedence.
You can also edit a custom rule.
It's not possible to re-order or edit built-in rules.
You can delete a custom rule.
It's not possible to delete built-in rules, however you can deactivate built-in rules.