Skip to content

Tracing

perspective-tracing is the OpenTelemetry-backed observability surface. Powered by engine-open-telemetry plus the Camel OpenTelemetry component, it exposes spans, metrics, and traces for executed services.

Layout

  • Traces - recent traces; click to expand the span tree.
  • Spans - span detail with timing, attributes, and parent / child links.
  • Metrics - counters and histograms emitted by the runtime and by user code.

Configuration

Tracing is configured through standard OTLP environment variables; common ones:

VariablePurpose
OTEL_EXPORTER_OTLP_ENDPOINTOTLP collector endpoint (gRPC or HTTP).
OTEL_EXPORTER_OTLP_PROTOCOLgrpc or http/protobuf.
OTEL_SERVICE_NAMEService name reported on every span.
OTEL_RESOURCE_ATTRIBUTESStatic resource attributes (key=value,...).
OTEL_TRACES_SAMPLERSampler (always_on, parentbased_traceidratio, ...).

Camel routes inherit the Camel OpenTelemetry component automatically when the engine is on the classpath.

Released under the EPL-2.0 License.