From 93ea68d005b3d5e40531ec34000a6122607b0758 Mon Sep 17 00:00:00 2001 From: Kayra Date: Fri, 31 May 2024 18:50:47 +0300 Subject: [PATCH] Update internal/metrics/metrics.go Co-authored-by: saltiyazan --- internal/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{})