package com.codename1.telemetry

OpenTelemetry tracing for the app, exported over OTLP/HTTP.

Installed by the build from @OpenTelemetry on the main class, or by hand with Telemetry.install(com.codename1.telemetry.TelemetryConfig). Every ConnectionRequest then becomes a span and sends the W3C traceparent header, so a Codename One backend – or any service that speaks W3C Trace Context – continues the app’s trace instead of starting its own.

Spans leave the app either through the app’s own backend, which relays them to the collector with credentials the app never holds, or directly to a collector; see TelemetryConfig.

Types

class TelemetryOpenTelemetry tracing for the app: every network request is a span, and carries W3C trace context to the server it reaches, so the app’s request and the backend’s handling of it are one trace.
class TelemetryConfigWhere Telemetry sends spans, and how.
class TelemetrySpanOne timed operation in a distributed trace.