service-remapping
APM Service Remapping
Before doing anything else: Fully resolve all variables in
## Context to resolve before acting. Do not begin Step 0 until every variable has a concrete value.
How Service Remapping Works — Domain Knowledge
Read this before building any rule. It gives you the mental model to construct the right filter and catch edge cases.
What remapping does: A rule intercepts telemetry at ingestion time and rewrites the service name before indexing. A rule says: "for any entity matching this filter, replace its service name with this new value."
Two entity types — pick the right one:
| Entity type | rule_type integer |
What it targets |
|---|---|---|
| SERVICE | 0 |
Instrumented services — have spans with an explicit service tag set by a tracer |
| INFERRED_ENTITY | 1 |
Auto-detected from outbound calls — named from peer.service. Requires peer.service to be set on outbound spans (see prerequisite below). |
More from datadog-labs/agent-skills
dd-pup
Datadog CLI (Rust). OAuth2 auth with token refresh.
655dd-apm
APM - install, onboard, instrument, enable, set up, configure, traces, services, dependencies, performance analysis. Use for any request involving Datadog APM setup, instrumentation (SSI, ddtrace, agent install), or analysis.
568dd-logs
Log management - search, archives, metrics, and cost control.
568dd-monitors
Monitor management - list, search, file-based create, and alerting best practices.
550agent-skills
Datadog skills for AI agents. Essential monitoring, logging, tracing and observability.
545dd-docs
Datadog docs lookup using docs.datadoghq.com/llms.txt and linked Markdown pages.
539