Skip to content

Commit

Permalink
Fix issue with Exported function with the unexported return type on t…
Browse files Browse the repository at this point in the history
…imeSeriesMetrics
  • Loading branch information
kgeckhart committed Jun 23, 2023
1 parent b3a68cb commit ab619ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion collectors/monitoring_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ func (c *MonitoringCollector) reportTimeSeriesMetrics(
var metricValueType prometheus.ValueType
var newestTSPoint *monitoring.Point

timeSeriesMetrics, err := NewTimeSeriesMetrics(metricDescriptor,
timeSeriesMetrics, err := newTimeSeriesMetrics(metricDescriptor,
ch,
c.collectorFillMissingLabels,
c.counterStore,
Expand Down
2 changes: 1 addition & 1 deletion collectors/monitoring_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type timeSeriesMetrics struct {
aggregateDeltas bool
}

func NewTimeSeriesMetrics(descriptor *monitoring.MetricDescriptor,
func newTimeSeriesMetrics(descriptor *monitoring.MetricDescriptor,
ch chan<- prometheus.Metric,
fillMissingLabels bool,
counterStore DeltaCounterStore,
Expand Down

0 comments on commit ab619ab

Please sign in to comment.