Skip to content

Commit ee4f934

Browse files
committed
Deprecate MetricMap.AsMetrics() for IDEness
1 parent a1f1353 commit ee4f934

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

metric_map.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ func (mm *MetricMap) String() string {
373373
}
374374

375375
// AsMetrics will synthesize Metrics from the MetricMap and return them as a slice
376-
// TODO: Remove this function, it only supports tests now
376+
// TODO: Remove this function.
377+
// Deprecated: It only supports tests now
377378
func (mm *MetricMap) AsMetrics() []*Metric {
378379
var metrics []*Metric
379380

0 commit comments

Comments
 (0)