Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions modules/otel-config-instrumentation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,37 @@ Instrumentation options are specified in the `OpenTelemetryCollector` custom res
apiVersion: opentelemetry.io/v1alpha1
kind: Instrumentation
metadata:
name: java-instrumentation
name: instrumentation
spec:
env:
- name: OTEL_EXPORTER_OTLP_TIMEOUT
value: "20"
exporter:
endpoint: http://production-collector.observability.svc.cluster.local:4317
propagators:
- w3c
- tracecontext
- baggage
sampler:
type: parentbased_traceidratio
argument: "0.25"
java:
argument: "1"
python:
env:
- name: OTEL_JAVAAGENT_DEBUG
value: "true"
# Required if endpoint is set to :4317.
# Python auto-instrumentation uses http/proto by default
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://production-collector.observability.svc.cluster.local:4318
dotnet:
env:
# Required if endpoint is set to :4317.
# Dotnet auto-instrumentation uses http/proto by default
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://production-collector.observability.svc.cluster.local:4318
go:
env:
# Required if endpoint is set to :4317.
# Go auto-instrumentation uses http/proto by default
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://production-collector.observability.svc.cluster.local:4318
----

//[cols=",,",options="header",]
Expand Down