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 services that are running in Kubernetes and monitored by OneAgent, SDv2 rules are available as a Preview release.
SDv2 is available as a Preview release for services that are running in Kubernetes and monitored by OneAgent. You can join this Preview release via the Service Detection v2 for OneAgent settings page.
Kubernetes Classic.As part of the Preview release, you can use the following attributes to further restrict where the new SDv2 rules should be applied.
dt.agent.module.typek8s.cluster.namek8s.namespace.namek8s.workload.namedt.host_group.idThese 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: