Skip to content

Commit

Permalink
[exporter/datadog] Deprecate peer_service_aggregation in favor of pee…
Browse files Browse the repository at this point in the history
…r_tags_aggregation (open-telemetry#29089)

**Description:**
Deprecate peer_service_aggregation in favor of peer_tags_aggregation.
Counterpart of DataDog/datadog-agent#20550.
  • Loading branch information
songy23 authored and RoryCrispin committed Nov 24, 2023
1 parent 91deafc commit 78868d4
Show file tree
Hide file tree
Showing 19 changed files with 324 additions and 143 deletions.
27 changes: 27 additions & 0 deletions .chloggen/dd-deprecate-peer-svc-aggr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: deprecation

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: datadogexporter

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Deprecate config `traces::peer_service_aggregation` in favor of `traces::peer_tags_aggregation`"

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [29089]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: []
27 changes: 27 additions & 0 deletions .chloggen/dd-peer-tag-aggr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: datadogexporter

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: "Add a new config `traces::peer_tags_aggregation` that enables aggregation of peer related tags in Datadog exporter"

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [29089]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: []
19 changes: 10 additions & 9 deletions cmd/configschema/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,17 @@ require (
github.com/ClickHouse/ch-go v0.58.2 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.15.0 // indirect
github.com/DataDog/agent-payload/v5 v5.0.89 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-api-client-go/v2 v2.18.0 // indirect
github.com/DataDog/datadog-go/v5 v5.1.1 // indirect
github.com/DataDog/go-sqllexer v0.0.8 // indirect
github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect
github.com/DataDog/gohai v0.0.0-20220718130825-1776f9beb9cc // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.8.1 // indirect
Expand Down Expand Up @@ -675,7 +676,7 @@ require (
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand Down
38 changes: 20 additions & 18 deletions cmd/configschema/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 10 additions & 9 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -254,16 +254,17 @@ require (
github.com/ClickHouse/ch-go v0.58.2 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.15.0 // indirect
github.com/DataDog/agent-payload/v5 v5.0.89 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.50.0-rc.1 // indirect
github.com/DataDog/datadog-api-client-go/v2 v2.18.0 // indirect
github.com/DataDog/datadog-go/v5 v5.1.1 // indirect
github.com/DataDog/go-sqllexer v0.0.8 // indirect
github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect
github.com/DataDog/gohai v0.0.0-20220718130825-1776f9beb9cc // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.8.1 // indirect
Expand Down Expand Up @@ -686,7 +687,7 @@ require (
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
Expand Down
38 changes: 20 additions & 18 deletions cmd/otelcontribcol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 78868d4

Please sign in to comment.