Skip to content

Commit 34f605e

Browse files
iblancasaopenshift-cherrypick-robot
authored andcommitted
OBSDOCS-1058: Update docs about instrumentation for multi-container pods
Signed-off-by: Israel Blancas <[email protected]>
1 parent c0176d1 commit 34f605e

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

modules/otel-config-instrumentation.adoc

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ spec:
113113

114114
|`configPath`
115115
|Location of the Apache HTTP Server configuration.
116-
|/usr/local/apache2/conf
116+
|`/usr/local/apache2/conf`
117117

118118
|`env`
119119
|Environment variables specific to the Apache HTTP Server.
@@ -340,6 +340,46 @@ instrumentation.opentelemetry.io/container-names: "<container_1>,<container_2>"
340340
The Go auto-instrumentation does not support multi-container auto-instrumentation injection.
341341
====
342342

343+
[id="otel-multi-container-pods-multi-instrumentations_{context}"]
344+
== Multi-container pods with multiple instrumentations
345+
346+
Injecting instrumentation for an application language to one or more containers in a multi-container pod requires the following annotation:
347+
348+
[source,yaml]
349+
----
350+
instrumentation.opentelemetry.io/<application_language>-container-names: "<container_1>,<container_2>" # <1>
351+
----
352+
<1> You can inject instrumentation for only one language per container. For the list of supported `<application_language>` values, see the following table.
353+
354+
.Supported values for the `<application_language>`
355+
[options="header"]
356+
[cols="a, a"]
357+
|===
358+
|Language |Value for `<application_language>`
359+
360+
|ApacheHTTPD
361+
|`apache`
362+
363+
|DotNet
364+
|`dotnet`
365+
366+
|Java
367+
|`java`
368+
369+
|NGINX
370+
|`inject-nginx`
371+
372+
|NodeJS
373+
|`nodejs`
374+
375+
|Python
376+
|`python`
377+
378+
|SDK
379+
|`sdk`
380+
381+
|===
382+
343383
[id="otel-using-instrumentation-cr-with-service-mesh_{context}"]
344384
== Using the instrumentation CR with Service Mesh
345385

0 commit comments

Comments
 (0)