Skip to content

Commit

Permalink
[chore] Fix internal variable name (#11278)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Sep 25, 2024
1 parent 3eec76c commit 5aff73a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions service/telemetry/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"go.opentelemetry.io/collector/service/internal/resource"
)

// disableHighCardinalityMetricsfeatureGate is the feature gate that controls whether the collector should enable
// disableHighCardinalityMetricsFeatureGate is the feature gate that controls whether the collector should enable
// potentially high cardinality metrics. The gate will be removed when the collector allows for view configuration.
var disableHighCardinalityMetricsfeatureGate = featuregate.GlobalRegistry().MustRegister(
var disableHighCardinalityMetricsFeatureGate = featuregate.GlobalRegistry().MustRegister(
"telemetry.disableHighCardinalityMetrics",
featuregate.StageAlpha,
featuregate.WithRegisterDescription("controls whether the collector should enable potentially high"+
Expand Down Expand Up @@ -68,7 +68,7 @@ func NewFactory() Factory {
}),
withMeterProvider(func(_ context.Context, set Settings, cfg component.Config) (metric.MeterProvider, error) {
c := *cfg.(*Config)
disableHighCard := disableHighCardinalityMetricsfeatureGate.IsEnabled()
disableHighCard := disableHighCardinalityMetricsFeatureGate.IsEnabled()
return newMeterProvider(
meterProviderSettings{
res: resource.New(set.BuildInfo, c.Resource),
Expand Down

0 comments on commit 5aff73a

Please sign in to comment.