Debian Codegraph @

receiver/receiverhelper/featuregates.go

raw symbols SCIP
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3
4 package receiverhelper // import "go.opentelemetry.io/collector/receiver/receiverhelper"
5
6 import "go.opentelemetry.io/collector/featuregate"
7
8 // NewReceiverMetricsGate is the feature gate that controls whether to distinguish downstream errors from internal errors in pipeline telemetry.
9 var NewReceiverMetricsGate = featuregate.GlobalRegistry().MustRegister(
10 "receiverhelper.newReceiverMetrics",
11 featuregate.StageAlpha,
12 featuregate.WithRegisterFromVersion("v0.138.0"),
13 featuregate.WithRegisterDescription("Controls whether receivers emit new metrics and span attributes to distinguish downstream errors from internal errors. This is a breaking change for the semantics of the otelcol_receiver_refused_metric_points, otelcol_receiver_refused_log_records and otelcol_receiver_refused_spans."),
14 )