Skip to content

Commit dabdb3d

Browse files
committed
Fix issue with Exported function with the unexported return type on timeSeriesMetrics
Signed-off-by: Kyle Eckhart <[email protected]>
1 parent 105b38c commit dabdb3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

collectors/monitoring_collector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ func (c *MonitoringCollector) reportTimeSeriesMetrics(
408408
var metricValueType prometheus.ValueType
409409
var newestTSPoint *monitoring.Point
410410

411-
timeSeriesMetrics, err := NewTimeSeriesMetrics(metricDescriptor,
411+
timeSeriesMetrics, err := newTimeSeriesMetrics(metricDescriptor,
412412
ch,
413413
c.collectorFillMissingLabels,
414414
c.counterStore,

collectors/monitoring_metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type timeSeriesMetrics struct {
4747
aggregateDeltas bool
4848
}
4949

50-
func NewTimeSeriesMetrics(descriptor *monitoring.MetricDescriptor,
50+
func newTimeSeriesMetrics(descriptor *monitoring.MetricDescriptor,
5151
ch chan<- prometheus.Metric,
5252
fillMissingLabels bool,
5353
counterStore DeltaCounterStore,

0 commit comments

Comments
 (0)