Expand description
Stable client/worker metrics, with application-owned recording and export.
Recorders must be fast and handle exporter errors locally. Panics are isolated from SDK operations. Durations use a monotonic clock and seconds; observations describe this process, not durable execution counts or billing units.
Structs§
- Noop
Metrics - Explicit no-op recorder; omission has the same behavior.
- Prometheus
Metrics - Prometheus adapter backed by the official
prometheuscrate.
Constants§
- CLIENT_
REQUESTS - CLIENT_
REQUEST_ DURATION_ SECONDS - WORKER_
POLLS - WORKER_
POLL_ DURATION_ SECONDS - WORKER_
TASKS - WORKER_
TASK_ DURATION_ SECONDS - WORKER_
TASK_ SCHEDULE_ TO_ START_ SECONDS - Server-measured eligibility-to-claim delay, in seconds.
Traits§
- Metrics
Recorder - Pluggable, thread-safe recorder. Counter increments are counts; records are seconds.
Type Aliases§
- Metric
Tags - Exact core labels. Exporter resource labels are separate application policy.