Skip to content

Commit c18d707

Browse files
songy23DougManton
authored andcommitted
[connector/datadog] Remove feature gate connector.datadogconnector.performance (open-telemetry#31638)
1 parent 7059d40 commit c18d707

File tree

4 files changed

+27
-14
lines changed

4 files changed

+27
-14
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: breaking
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
7+
component: datadogconnector
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Remove feature gate `connector.datadogconnector.performance`
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [31638]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: []

internal/datadog/agent.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
"github.com/DataDog/datadog-agent/pkg/trace/timing"
2020
"github.com/DataDog/datadog-go/v5/statsd"
2121
"github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics"
22-
"go.opentelemetry.io/collector/featuregate"
2322
"go.opentelemetry.io/collector/pdata/ptrace"
2423
)
2524

@@ -38,13 +37,6 @@ type TraceAgent struct {
3837
exit chan struct{}
3938
}
4039

41-
var _ = featuregate.GlobalRegistry().MustRegister(
42-
"connector.datadogconnector.performance",
43-
featuregate.StageStable,
44-
featuregate.WithRegisterDescription("Datadog Connector will use optimized code"),
45-
featuregate.WithRegisterToVersion("0.97.0"),
46-
)
47-
4840
// newAgent creates a new unstarted traceagent using the given context. Call Start to start the traceagent.
4941
// The out channel will receive outoing stats payloads resulting from spans ingested using the Ingest method.
5042
func NewAgent(ctx context.Context, out chan *pb.StatsPayload, metricsClient statsd.ClientInterface, timingReporter timing.Reporter) *TraceAgent {

internal/datadog/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ require (
1010
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.4
1111
github.com/stretchr/testify v1.9.0
1212
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
13-
go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6
1413
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6
1514
go.opentelemetry.io/otel v1.24.0
1615
go.opentelemetry.io/otel/metric v1.24.0
@@ -46,7 +45,6 @@ require (
4645
github.com/golang/mock v1.6.0 // indirect
4746
github.com/golang/protobuf v1.5.3 // indirect
4847
github.com/google/uuid v1.6.0 // indirect
49-
github.com/hashicorp/go-version v1.6.0 // indirect
5048
github.com/json-iterator/go v1.1.12 // indirect
5149
github.com/karrick/godirwalk v1.17.0 // indirect
5250
github.com/knadh/koanf/maps v0.1.1 // indirect

internal/datadog/go.sum

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)