Skip to content

Commit

Permalink
use metric names without underscore
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Apr 28, 2023
1 parent 8db01cc commit b9f5db1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/provider/defaults/default_metric_providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type DefaultExternalMetricsProvider struct{}
func (em DefaultExternalMetricsProvider) ListAllExternalMetrics() []provider.ExternalMetricInfo {
return []provider.ExternalMetricInfo{
{
Metric: "external_metric",
Metric: "externalmetric",
},
}
}
Expand All @@ -36,7 +36,7 @@ type DefaultCustomMetricsProvider struct{}
func (cm DefaultCustomMetricsProvider) ListAllMetrics() []provider.CustomMetricInfo {
return []provider.CustomMetricInfo{
{
Metric: "custom_metric",
Metric: "custommetric",
},
}
}

0 comments on commit b9f5db1

Please sign in to comment.