Skip to content

Commit

Permalink
[exporter/datadog] Upgrade mapping go version (open-telemetry#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 open-telemetry#33566
  • Loading branch information
songy23 authored and tomasmota committed Jul 1, 2024
1 parent 33e7683 commit 2b16339
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 2b16339

Please sign in to comment.