Skip to content

Commit a35a4d9

Browse files
authored
Apply suggestions from code review
1 parent 5313e12 commit a35a4d9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

content/en/containers/cluster_agent/admission_controller.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ Finally, run the following commands:
128128
- `kubectl apply -f agent-services.yaml`
129129
- `kubectl apply -f cluster-agent-deployment.yaml`
130130

131-
### APM and DogStatsD
132-
To configure and inject APM tracers libraries automatically, it requires the Datadog Agent v7.39+
131+
### APM
132+
You can configure the Cluster Agent (version 7.39 and higher) to inject APM tracers libraries automatically.
133133

134-
Once the Cluster Agent is successfully installed, please do one of the following:
134+
After you install the Cluster Agent, do one of the following:
135135
- Add the label `admission.datadoghq.com/enabled: "true"` to your pod.
136136
- Configure the Cluster Agent admission controller by setting `mutateUnlabelled` (or `DD_ADMISSION_CONTROLLER_MUTATE_UNLABELLED`, depending on your configuration method) to `true`.
137137

@@ -144,7 +144,7 @@ The annotations are a `key: value` pair in the following format:
144144
datadoghq.com/<language>-lib.version: <lib-version>
145145
```
146146
147-
Adding a this annotation means the tracer library for that language and version is injected into the containerized application.
147+
Adding a this annotation results in the injection of the tracer library for that language and version into the containerized application.
148148
Currently, the list of possible lib values include `java`, `js` and `python` respectively.
149149

150150
For example to inject the latest Java tracer:
@@ -155,7 +155,9 @@ annotations:
155155
datadoghq.com/js-lib.version: "3.0.0"
156156
```
157157

158-
If needed, you can add several `<language>-lib.version` annotations to inject multiple language tracers into one container.
158+
**Note**: Use caution specifying `latest` as major library releases can introduce breaking changes.
159+
160+
Although it's an uncommon scenario, you can add multiple `<language>-lib.version` annotations to inject multiple language tracers into one container.
159161

160162
For example to inject the latest Java tracer and Node tracer v3.0.0:
161163
```yaml

0 commit comments

Comments
 (0)