mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
23 lines
1.1 KiB
Go
23 lines
1.1 KiB
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package internal // import "go.opentelemetry.io/collector/confmap/internal"
|
|
|
|
import "go.opentelemetry.io/collector/featuregate"
|
|
|
|
var EnableMergeAppendOption = featuregate.GlobalRegistry().MustRegister(
|
|
"confmap.enableMergeAppendOption",
|
|
featuregate.StageAlpha,
|
|
featuregate.WithRegisterFromVersion("v0.120.0"),
|
|
featuregate.WithRegisterDescription("Combines lists when resolving configs from different sources. This feature gate will not be stabilized 'as is'; the current behavior will remain the default."),
|
|
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/issues/8754"),
|
|
)
|
|
|
|
var NewExpandedValueSanitizer = featuregate.GlobalRegistry().MustRegister(
|
|
"confmap.newExpandedValueSanitizer",
|
|
featuregate.StageBeta,
|
|
featuregate.WithRegisterFromVersion("v0.144.0"),
|
|
featuregate.WithRegisterDescription("Fixes some types of decoding errors where environment variables are parsed as non-string types but assigned to string fields."),
|
|
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/14413"),
|
|
)
|