123456789101112131415161718192021222324252627282930313233 |
- apiVersion: opentelemetry.io/v1alpha1
- kind: Instrumentation
- metadata:
- name: cecf-instrumentation
- namespace: obs-operator
- spec:
- propagators:
- - tracecontext
- - baggage
- java:
- image: reg.cestong.com.cn/cecf/autoinstrument-java-ext:v2.5.0
- env:
- - name: OTEL_TRACES_EXPORTER
- value: none
- - name: OTEL_METRICS_EXPORTER
- value: none
- - name: OTEL_LOGS_EXPORTER
- value: none
- - name: OTEL_TRACES_EXT_EXPORTER
- value: kafka
- - name: OTEL_TRACES_EXT_ID_GENERATOR
- value: tsTraceId
- - name: OTEL_TRACES_EXT_KAFKA_BATCH_SIZE
- value: "16384"
- - name: OTEL_TRACES_EXT_KAFKA_BROKERS
- value: "kafka.observe.svc.cluster.local:9092"
- - name: OTEL_TRACES_EXT_KAFKA_EXECUTOR_SIZE
- value: "2"
- - name: OTEL_TRACES_EXT_KAFKA_TIMEOUT_SECONDS
- value: "1"
- - name: OTEL_TRACES_EXT_KAFKA_TOPIC
- value: otel_agent
|