newInt64Metric is a wrapper of metrics.NewInt64Metric that returns an interface instead of the specific type
(metricID metrics.MetricID, viewName string, description string, unit string, aggregation metrics.Aggregation, tagNames []string)
| 30 | |
| 31 | // newInt64Metric is a wrapper of metrics.NewInt64Metric that returns an interface instead of the specific type |
| 32 | func newInt64Metric(metricID metrics.MetricID, viewName string, description string, unit string, aggregation metrics.Aggregation, tagNames []string) (metrics.Int64MetricInterface, error) { |
| 33 | return metrics.NewInt64Metric(metricID, viewName, description, unit, aggregation, tagNames) |
| 34 | } |
| 35 | |
| 36 | type netCollector struct { |
| 37 | config *ssmtypes.NetStatsConfig |
nothing calls this directly
no test coverage detected