Skip to content

Commit

Permalink
[*/datadog] Bump opentelemetry-mapping-go to v0.13.0 (open-telemetry#…
Browse files Browse the repository at this point in the history
…30680)


- Bump opentelemetry-mapping-go to v0.13.0
- Amend gohai to adapt to new types
- Add changelog note
  • Loading branch information
mx-psi committed Jan 19, 2024
1 parent d8a5384 commit bd1d706
Show file tree
Hide file tree
Showing 19 changed files with 187 additions and 145 deletions.
29 changes: 29 additions & 0 deletions .chloggen/mx-psi_bump-tov0.12.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 support for setting host tags via host metadata.

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

# (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: |
When the `datadog.host.use_as_metadata` resource attribute is set to `true`:
- Nonempty string-value resource attributes starting with `datadog.host.tag.` will be added as host tags for the host associated with the resource.
- deployment.environment and k8s.cluster.name as mapped to Datadog names and added as host tags for the host associated with the resource.
# 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: []
12 changes: 6 additions & 6 deletions cmd/configschema/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor v0.11.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 // indirect
github.com/gocql/gocql v1.6.0 // indirect
github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/alibabacloudlogserviceexporter v0.92.0 // indirect
Expand Down Expand Up @@ -218,7 +218,7 @@ require (
github.com/ClickHouse/clickhouse-go/v2 v2.17.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.102 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.50.2 // indirect
Expand All @@ -230,9 +230,9 @@ require (
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-20230524154621-4316413895ee // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 // indirect
github.com/DataDog/sketches-go v1.4.4 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
github.com/GehirnInc/crypt v0.0.0-20200316065508-bb7000b8a962 // indirect
Expand Down
26 changes: 13 additions & 13 deletions cmd/configschema/go.sum

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

12 changes: 6 additions & 6 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ require (
github.com/ClickHouse/clickhouse-go/v2 v2.17.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.102 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.50.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.50.2 // indirect
Expand All @@ -280,11 +280,11 @@ require (
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-20230524154621-4316413895ee // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 // indirect
github.com/DataDog/sketches-go v1.4.4 // indirect
github.com/DataDog/zstd v1.5.2 // indirect
github.com/GehirnInc/crypt v0.0.0-20200316065508-bb7000b8a962 // indirect
Expand Down
26 changes: 13 additions & 13 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 @@ -3,9 +3,9 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/connector/datad
go 1.20

require (
github.com/DataDog/datadog-agent/pkg/proto v0.50.2
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/datadog v0.92.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.92.1-0.20240118172122-8131d31601b8
Expand All @@ -29,8 +29,8 @@ require (
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/opentelemetry-mapping-go/pkg/quantile v0.11.0 // indirect
github.com/DataDog/sketches-go v1.4.3 // indirect
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 // indirect
github.com/DataDog/sketches-go v1.4.4 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
Expand Down
22 changes: 11 additions & 11 deletions connector/datadogconnector/go.sum

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

Loading

0 comments on commit bd1d706

Please sign in to comment.