Queuert emits OpenTelemetry metrics through the @queuert/otel adapter. Users must configure their OTEL SDK with desired exporters (Prometheus, OTLP, etc.) before using the adapter. See the ObservabilityAdapter TSDoc for the adapter interface.
All metrics follow the naming pattern:
queuert.{component}.{operation}[.{suboperation}]
The ObservabilityAdapter interface accepts milliseconds; the @queuert/otel adapter converts duration values to seconds per OTEL Messaging Semantic Conventions.
Histograms track duration distributions at three levels. Unit is seconds.
Metric
Attributes
Description
queuert.job_chain.duration
chainTypeName
Duration from chain creation to completion
queuert.job.duration
typeName, chainTypeName
Duration from job creation to completion
queuert.job.attempt.duration
typeName, chainTypeName, workerId
Duration of a single attempt
These form a hierarchy — chain duration encompasses job durations (plus wait time between continuations), and job duration encompasses attempt durations (plus wait time between retries):