diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index b996517..a790d50 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -30,7 +30,7 @@ type PrometheusMetrics struct { RequestsDuration prometheus.HistogramVec } -// NewMetricsSubsystem returns the metrics endpoint HTTP handler and the Prometheus metrics for the server and middleware. +// NewMetricsSubsystem returns the metrics endpoint HTTP handler and the Prometheus metrics collectors for the server and middleware. func NewMetricsSubsystem(db *certdb.CertificateRequestsRepository) *PrometheusMetrics { metricsBackend := newPrometheusMetrics() metricsBackend.Handler = promhttp.HandlerFor(metricsBackend.registry, promhttp.HandlerOpts{})