Package com.codename1.backend.otel
package com.codename1.backend.otel
OpenTelemetry tracing and metrics for a backend, exported over OTLP/HTTP without an OpenTelemetry library.
Most servers never name these classes: the OpenTelemetry annotation in
com.codename1.backend.annotations has the build wire an OtlpTracer into the
generated entry point. Code that assembles its own server installs one with
com.codename1.backend.Tracing.install, and every request, outbound call and
database statement is then exported as a span to the collector the deployment
names. OtlpMetricExporter sends the process's metrics to the same collector
on an interval.
Server code: this package is not available in the app.
-
ClassesClassDescriptionExports
Metricsover OTLP/HTTP, everycn1.otel.metrics.intervalMillis(OTEL_METRIC_EXPORT_INTERVAL, one minute by default), with cumulative temporality.OpenTelemetry tracing over OTLP/HTTP, with no OpenTelemetry library behind it.