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 available for OpenTelemetry services, and a public preview is available for services that are running in Kubernetes and monitored by OneAgent.
To join the public preview:
As part of the public preview, you can use the following attributes to further restrict where the new SDv2 rules should be applied.
dt.agent.module.type
k8s.cluster.name
k8s.namespace.name
k8s.workload.name
dt.host_group.id
These are customized within your Kubernetes namespace or cluster settings.
Currently, Java is the only supported language, and you need to keep the default matching condition as dt.agent.module.type == "java"
.
Support for additional languages is currently planned and will be announced via release notes.
SDv2 provides:
SDv2 behavior can be configured via: