Service Detection v2 (SDv2) operates according to a single set of rules that are based on attributes. This includes default rules, and you can additionally define your own custom rules. SDv2 rules are generally available for OpenTelemetry services; for Kubernetes and AWS Lambda services monitored by OneAgent, SDv2 rules are available as an Early Access release.
SDv2 is available as an Early Access release for Kubernetes and AWS Lambda services monitored by OneAgent. For details, see Configure service detection for OneAgent in Service Detection v2.
SDv2 provides:
Service detection and naming based on resource attributes and conditions.
Keep service names clean and use tags for context. For details, see Add context with tags, not names.
Endpoint detection based on span and resource attributes.
Service splitting based on resource attributes.
Failure detection based on HTTP or gRPC codes or other span and resource attributes.
You can configure SDv2 via: