OpenTelemetry support
Document Engine enables reporting OpenTelemetry(opens in a new tab) traces. To enable them, use the ENABLE_OPENTELEMETRY
configuration option.
For metrics export with Prometheus and Grafana, refer to our metrics export guide.
Setting up OpenTelemetry exporting
Standard OpenTelemetry project environment variables are supported. Refer to the official documentation(opens in a new tab).
When deploying with Helm, as we recommend, simplified values(opens in a new tab) from the observability.opentelemetry
section are available:
observability: opentelemetry: # Enable OpenTelemetry (`ENABLE_OPENTELEMETRY`), # only tracing is currently supported enabled: false # `OTEL_EXPORTER_OTLP_ENDPOINT`, # if not set, defaults to `http://localhost:4317` otlpExporterEndpoint: "" # `OTEL_EXPORTER_OTLP_PROTOCOL`, # if not set, defaults to `grpc` otlpExporterProtocol: "" # `OTEL_SERVICE_NAME`, service name otelServiceName: "" # `OTEL_RESOURCE_ATTRIBUTES`, resource attributes otelResourceAttributes: "" # `OTEL_PROPAGATORS`, propagators otelPropagators: "" # `OTEL_TRACES_SAMPLER`, should normally not be touched # to allow custom `parent_based` work, # but something like `parentbased_traceidratio` may be considered otelTracesSampler: "" # `OTEL_TRACES_SAMPLER_ARG`, argument for the sampler otelTracesSamplerArg: ""# Extra environment variablesextraEnvs: []