java-instrumentation.yaml 667 B

12345678910111213141516171819202122232425
  1. apiVersion: opentelemetry.io/v1alpha1
  2. kind: Instrumentation
  3. metadata:
  4. name: cecf-instrumentation
  5. namespace: obs-operator
  6. spec:
  7. exporter:
  8. endpoint: http://otel-collector-opentelemetry-collector.observe.svc.cluster.local:4317
  9. propagators:
  10. - tracecontext
  11. - baggage
  12. sampler:
  13. type: parentbased_traceidratio
  14. argument: '1'
  15. java:
  16. image: reg.cestong.com.cn/cecf/autoinstrumentation-java:1.24.0
  17. env:
  18. - name: OTEL_TRACES_EXPORTER
  19. value: none
  20. - name: OTEL_METRICS_EXPORTER
  21. value: none
  22. - name: OTEL_LOGS_EXPORTER
  23. value: none
  24. #- name: OTEL_EXPORTER_OTLP_PROTOCOL
  25. # value: http/protobuf