Skip to content

Commit fd7690d

Browse files
Revise APM Instrumentation library injection details (#33262)
* Revise APM Instrumentation library injection details Updated the section on instrumentation library injection to specify Single Step Instrumentation and added information on manual APM tracer library injection. * Update content/en/containers/cluster_agent/admission_controller.md Co-authored-by: Joe Peeples <[email protected]> --------- Co-authored-by: Joe Peeples <[email protected]>
1 parent 62d1414 commit fd7690d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

content/en/containers/cluster_agent/admission_controller.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,12 @@ Finally, run the following commands:
148148
{{% /tab %}}
149149
{{< /tabs >}}
150150

151-
### Instrumentation library injection
152-
You can configure the Cluster Agent (version 7.39 and higher) to inject instrumentation libraries. Read [Instrumentation library injection with Admission Controller][2] for more information.
151+
### APM Instrumentation library injection
152+
You can configure the Cluster Agent (version 7.39 and higher) to inject instrumentation libraries using Single Step Instrumentation. Read [Single Step APM Instrumentation][2] for more information.
153153

154+
If you do not want to use Single Step Instrumentation, the Datadog Admission Controller can be used to inject APM tracer libraries directly as a manual, pod-level alternative. Read [Local SDK Injection][7] for more information.
154155

155-
### APM and DogStatsD
156+
### APM and DogStatsD environment variable injection
156157

157158
To configure DogStatsD clients or other APM libraries that do not support library injection, inject the environment variables `DD_AGENT_HOST` and `DD_ENTITY_ID` by doing one of the following:
158159
- Add the label `admission.datadoghq.com/enabled: "true"` to your Pod.
@@ -210,8 +211,9 @@ See [Admission Controller Troubleshooting][6].
210211
{{< partial name="whats-next/whats-next.html" >}}
211212

212213
[1]: https://kubernetes.io/blog/2019/03/21/a-guide-to-kubernetes-admission-controllers/
213-
[2]: /tracing/trace_collection/library_injection_local/
214+
[2]: https://docs.datadoghq.com/tracing/trace_collection/automatic_instrumentation/single-step-apm/
214215
[3]: https://docs.datadoghq.com/agent/kubernetes/apm/?tab=helm#setup
215216
[4]: https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#add_firewall_rules
216217
[5]: https://docs.aws.amazon.com/vpc/latest/userguide/security-group-rules.html#security-group-rule-components
217218
[6]: /containers/troubleshooting/admission-controller
219+
[7]: https://docs.datadoghq.com/tracing/guide/local_sdk_injection/

0 commit comments

Comments
 (0)