You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
== Configuration of the OpenTelemetry SDK variables
103
+
104
+
You can use the `instrumentation.opentelemetry.io/inject-sdk` annotation in the OpenTelemetry Collector custom resource to instruct the {OTELName} Operator to inject some of the following OpenTelemetry SDK environment variables, depending on the `Instrumentation` CR, into your pod:
105
+
106
+
* `OTEL_SERVICE_NAME`
107
+
* `OTEL_TRACES_SAMPLER`
108
+
* `OTEL_TRACES_SAMPLER_ARG`
109
+
* `OTEL_PROPAGATORS`
110
+
* `OTEL_RESOURCE_ATTRIBUTES`
111
+
* `OTEL_EXPORTER_OTLP_ENDPOINT`
112
+
* `OTEL_EXPORTER_OTLP_CERTIFICATE`
113
+
* `OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE`
114
+
* `OTEL_EXPORTER_OTLP_CLIENT_KEY`
115
+
116
+
.Values for the `instrumentation.opentelemetry.io/inject-sdk` annotation
117
+
[cols="a, a"]
118
+
|===
119
+
| Value | Description
120
+
121
+
|`"true"`
122
+
|Injects the `+Instrumentation+` resource with the default name from the current namespace.
123
+
124
+
|`"false"`
125
+
|Injects no `+Instrumentation+` resource.
126
+
127
+
|`"<instrumentation_name>"`
128
+
|Specifies the name of the `+Instrumentation+` resource to inject from the current namespace.
129
+
130
+
|`"<namespace>/<instrumentation_name>"`
131
+
|Specifies the name of the `+Instrumentation+` resource to inject from another namespace.
0 commit comments