mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
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]>
32 lines
1.4 KiB
Go
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"),
|
|
)
|