Skip to content

Commit 48bdab5

Browse files
authored
Merge pull request #78020 from max-cx/OBSDOCS-1058
OBSDOCS-1231/OBSDOCS-1058: Update docs about instrumentation for multi-container pods
2 parents 9312083 + 700d28e commit 48bdab5

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
@@ -150,7 +150,7 @@ include::snippets/technology-preview.adoc[leveloffset=+1]
150150

151151
|`configPath`
152152
|Location of the Apache HTTP Server configuration.
153-
|/usr/local/apache2/conf
153+
|`/usr/local/apache2/conf`
154154

155155
|`env`
156156
|Environment variables specific to the Apache HTTP Server.
@@ -397,6 +397,46 @@ instrumentation.opentelemetry.io/container-names: "<container_1>,<container_2>"
397397
The Go auto-instrumentation does not support multi-container auto-instrumentation injection.
398398
====
399399

400+
[id="otel-multi-container-pods-multi-instrumentations_{context}"]
401+
== Multi-container pods with multiple instrumentations
402+
403+
Injecting instrumentation for an application language to one or more containers in a multi-container pod requires the following annotation:
404+
405+
[source,yaml]
406+
----
407+
instrumentation.opentelemetry.io/<application_language>-container-names: "<container_1>,<container_2>" # <1>
408+
----
409+
<1> You can inject instrumentation for only one language per container. For the list of supported `<application_language>` values, see the following table.
410+
411+
.Supported values for the `<application_language>`
412+
[options="header"]
413+
[cols="a, a"]
414+
|===
415+
|Language |Value for `<application_language>`
416+
417+
|ApacheHTTPD
418+
|`apache`
419+
420+
|DotNet
421+
|`dotnet`
422+
423+
|Java
424+
|`java`
425+
426+
|NGINX
427+
|`inject-nginx`
428+
429+
|NodeJS
430+
|`nodejs`
431+
432+
|Python
433+
|`python`
434+
435+
|SDK
436+
|`sdk`
437+
438+
|===
439+
400440
[id="otel-using-instrumentation-cr-with-service-mesh_{context}"]
401441
== Using the instrumentation CR with Service Mesh
402442

0 commit comments

Comments
 (0)