This packages contains utilities for collecting metrics in @message-queue-toolkit
Metrics that use Prometheus toolkit and prom-client library
Implementation of MessageMetricsManager
that can be injected into AbstractQueueService
from @message-queue-toolkit/core
.
It uses Histogram metric to collect message processing times with messageType
and version
labels.
See MessageProcessingTimePrometheusMetric.ts for available parameters.