telemetry library

Logs, metrics and traces, see Telemetry and the telemetry guidelines in doc/telemetry.md.

Classes

AsyncMetricCollector
CounterMetric
A counter metric for use with TelemetryService.
DiscardTraceExporter
TraceExporter implementation that discards traces.
Event
ExceptionEvent
An exception recorded on a span, according to the semantic conventions for exceptions (event name exception).
GaugeMetric
A gauge metric for use with TelemetryService.
GaugeSeries
HistogramMetric
A histogram metric for use with TelemetryService.
LocalSpan
A span created in this process.
LogExporter
Receives the log messages that pass the configured log level.
LogHelper
LogListener
LogMessage
Metric
MetricCollector
MetricSample
MetricsExporter
Exposes the metrics returned by onScrape, e.g. PrometheusExporter.
OpenTelemetryLogExporter
Exports log messages to an OpenTelemetry collector via OTLP/gRPC.
OpenTelemetryTraceExporter
Exports spans to an OpenTelemetry collector via OTLP/gRPC.
PrometheusExporter
Serves the metrics in the Prometheus text-based format.
SampleGroup
Span
The context of a span that is propagated to its children: trace id, span id and trace flags.
SpanId
StdoutLogExporter
Writes log messages to stdout.
SyncMetricCollector
Telemetry
Logs, metrics and traces of the application.
TelemetryService
TraceContext
Propagation of spans across processes according to W3C Trace Context (traceparent header).
TraceExporter
Receives the sampled spans of all tracers.
TraceId
Tracer

Enums

LogBodyFormat
MetricType
SeverityLevel
Severity of a log message, with the severity numbers and short names of the OpenTelemetry log data model.
SpanType
The kind of a span, see SpanKind.

Constants

log → const LogHelper