diff --git a/collectors/monitoring_collector.go b/collectors/monitoring_collector.go index 821c243..b6228a9 100644 --- a/collectors/monitoring_collector.go +++ b/collectors/monitoring_collector.go @@ -123,6 +123,8 @@ type DeltaHistogramStore interface { func NewMonitoringCollector(projectID string, monitoringService *monitoring.Service, opts MonitoringCollectorOptions, logger log.Logger, counterStore DeltaCounterStore, histogramStore DeltaHistogramStore) (*MonitoringCollector, error) { const subsystem = "monitoring" + logger = log.With(logger, "project_id", projectID) + apiCallsTotalMetric := prometheus.NewCounter( prometheus.CounterOpts{ Namespace: namespace,