Skip to content

Commit

Permalink
[exporter/datadog] Upgrade mapping go version (#33728)
Browse files Browse the repository at this point in the history
**Description:** 
Upgrade `opentelemetry-mapping-go` to v0.17.0

**Link to tracking Issue:** 
Fixes #33566
  • Loading branch information
songy23 authored Jun 25, 2024
1 parent 0fb17f2 commit f81ecc3
Show file tree
Hide file tree
Showing 11 changed files with 149 additions and 68 deletions.
27 changes: 27 additions & 0 deletions .chloggen/dd-k8s-tags.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: Adds Kubernetes DD tags to keep when mapping resource attributes

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

# (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: See https://github.com/DataDog/opentelemetry-mapping-go/pull/334 for details.

# 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-logs.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: bug_fix

# 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: Fix panics on invalid sized trace & span IDs

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

# (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: See https://github.com/DataDog/opentelemetry-mapping-go/pull/340 for details.

# 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-metrics-no-record.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: bug_fix

# 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: "Ignore metric datapoints with `no recorded value` flag"

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

# (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: This flag is not supported by Datadog, so we just ignore these datapoints. See https://github.com/DataDog/opentelemetry-mapping-go/pull/330 for details.

# 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: []
10 changes: 5 additions & 5 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ require (
github.com/DataDog/go-sqllexer v0.0.12 // indirect
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.17.0 // indirect
github.com/DataDog/sketches-go v1.4.5 // indirect
github.com/DataDog/viper v1.13.5 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
Expand Down
24 changes: 12 additions & 12 deletions cmd/otelcontribcol/go.sum

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

10 changes: 5 additions & 5 deletions connector/datadogconnector/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ require (
github.com/DataDog/datadog-agent/pkg/proto v0.56.0-devel.0.20240621152414-10454a30138d
github.com/DataDog/datadog-agent/pkg/trace v0.56.0-devel.0.20240621152414-10454a30138d
github.com/DataDog/datadog-go/v5 v5.5.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.17.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.17.0
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter v0.103.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.103.0
github.com/patrickmn/go-cache v2.1.0+incompatible
Expand Down Expand Up @@ -91,9 +91,9 @@ require (
github.com/DataDog/go-sqllexer v0.0.12 // indirect
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.17.0 // indirect
github.com/DataDog/sketches-go v1.4.5 // indirect
github.com/DataDog/viper v1.13.5 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
Expand Down
24 changes: 12 additions & 12 deletions connector/datadogconnector/go.sum

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

10 changes: 5 additions & 5 deletions exporter/datadogexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ require (
github.com/DataDog/datadog-api-client-go/v2 v2.26.0
github.com/DataDog/datadog-go/v5 v5.5.0
github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.16.1
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.17.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.17.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.17.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.17.0
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.17.0
github.com/DataDog/sketches-go v1.4.5
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.24.0
github.com/aws/aws-sdk-go v1.53.11
Expand Down
24 changes: 12 additions & 12 deletions exporter/datadogexporter/go.sum

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

10 changes: 5 additions & 5 deletions exporter/datadogexporter/integrationtest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ require (
github.com/DataDog/go-sqllexer v0.0.12 // indirect
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.16.1 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.17.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.17.0 // indirect
github.com/DataDog/sketches-go v1.4.5 // indirect
github.com/DataDog/viper v1.13.5 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
Expand Down
Loading

0 comments on commit f81ecc3

Please sign in to comment.