Files
telemetry/service/internal/metadata/generated_feature_gates.go
34e554c481 Switch service feature gates to be auto generated (#14494)
This switches the service's feature gates to be automatically generated,
so they are documented as well.

Related:
https://github.com/open-telemetry/opentelemetry-collector/issues/14067

---------

Co-authored-by: Evan Bradley <[email protected]>
2026-02-22 00:54:49 -08:00

32 lines
1.4 KiB
Go

// Code generated by mdatagen. DO NOT EDIT.
package metadata
import (
"go.opentelemetry.io/collector/featuregate"
)
var ServiceAllowNoPipelinesFeatureGate = featuregate.GlobalRegistry().MustRegister(
"service.AllowNoPipelines",
featuregate.StageAlpha,
featuregate.WithRegisterDescription("Allow starting the Collector without starting any pipelines."),
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/12613"),
featuregate.WithRegisterFromVersion("v0.122.0"),
)
var ServiceProfilesSupportFeatureGate = featuregate.GlobalRegistry().MustRegister(
"service.profilesSupport",
featuregate.StageAlpha,
featuregate.WithRegisterDescription("Controls whether profiles support can be enabled"),
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/11477"),
featuregate.WithRegisterFromVersion("v0.112.0"),
)
var TelemetryUseLocalHostAsDefaultMetricsAddressFeatureGate = featuregate.GlobalRegistry().MustRegister(
"telemetry.UseLocalHostAsDefaultMetricsAddress",
featuregate.StageBeta,
featuregate.WithRegisterDescription("Controls whether default Prometheus metrics server use localhost as the default host for their endpoints"),
featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector/pull/11251"),
featuregate.WithRegisterFromVersion("v0.111.0"),
)