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:
Dynatrace provides default service splitting rules as described in the table below. Additionally, custom rules can be created as described in Create new rule.
| Priority | Rule name | Matching condition | Resource attribute keys | Status |
|---|---|---|---|---|
1 | [Built-in] Split Adobe Experience Manager (AEM) services by process group |
|
| Enabled |
2 | Split services by k8s cluster and namespace |
|
| Enabled1 |
3 | [Built-in] Split services by k8s namespace (deprecated) |
|
| Disabled2 |
4 | [Built-in] Split services by host group and primary cloud fields | None (rule applies to all services) |
| Enabled3 |
The [Built-in] Split services by k8s cluster and namespace rule is enabled for the environments created in Dynatrace SaaS version 1.317+ and is disabled for the environments created in Dynatrace SaaS version 1.316 and earlier.
The [Built-in] Split services by k8s namespace (deprecated) rule is disabled for the environments created in Dynatrace SaaS version 1.317+ and is enabled for the environments created in Dynatrace SaaS version 1.316 and earlier.
The [Built-in] Split services by host group and primary cloud fields rule is enabled for the environments created in Dynatrace SaaS version 1.337+ and is disabled for the environments created in Dynatrace SaaS version 1.336 and earlier.
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 ADQL 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.