diff --git a/.chloggen/mx-psi_bump-tov0.12.0.yaml b/.chloggen/mx-psi_bump-tov0.12.0.yaml new file mode 100755 index 000000000000..4c0c105155dd --- /dev/null +++ b/.chloggen/mx-psi_bump-tov0.12.0.yaml @@ -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: [] diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod index 61e4e29c51ef..f1d4e30f42da 100644 --- a/cmd/configschema/go.mod +++ b/cmd/configschema/go.mod @@ -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 @@ -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 @@ -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 diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum index d98595e6008b..1843320dc802 100644 --- a/cmd/configschema/go.sum +++ b/cmd/configschema/go.sum @@ -154,8 +154,8 @@ github.com/DataDog/agent-payload/v5 v5.0.102 h1:X8EZQeOewahQ7N/arllAP7hCGHNScdTh github.com/DataDog/agent-payload/v5 v5.0.102/go.mod h1:COngtbYYCncpIPiE5D93QlXDH/3VAKk10jDNwGHcMRE= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -179,17 +179,17 @@ github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee h1:tXibLZk3G6HncIFJKaNItsdzcrk4YqILNDZlXPTNt4k= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee/go.mod h1:nTot/Iy0kW16bXgXr6blEc8gFeAS7vTqYlhAxh+dbc0= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 h1:7Y53V1RUKMI5M8lyte5QziGxUEaGcWO4Raq89cL5oZo= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0/go.mod h1:HZEgHdrdgnyYCT1veZEn8TonMMo+oBHuq2IZ/PlTbyE= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 h1:hI0ADWaPLkG7TDZSx/RX+hxTwBeI0BKF0Wmx2genfMw= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0/go.mod h1:Xl5jjxQujCHLCB5gMwHB2jkVsE/TX+YUAkHBc6pFLu0= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 h1:lr/KfZBN9/Gy2MdKPNJiXZH8iz2BaFIW8+QRfIERn9I= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0/go.mod h1:WUCAKoHIvhHFgIjsRa2Kaunv9gbmpqsUaltMhB2Y0I4= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 h1:UkraFhhKe11O1BmNHrBGfMMcJpmsZ/6kzU4FGyG8wWU= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0/go.mod h1:FhHNEP2Ca9C9tNIcmC85JJd5Vpwxo16MNrlLvAc4588= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod index bb1e259b6994..ea01dde488a1 100644 --- a/cmd/otelcontribcol/go.mod +++ b/cmd/otelcontribcol/go.mod @@ -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 @@ -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 diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum index 62ecf10f31d6..7405f1321e3a 100644 --- a/cmd/otelcontribcol/go.sum +++ b/cmd/otelcontribcol/go.sum @@ -154,8 +154,8 @@ github.com/DataDog/agent-payload/v5 v5.0.102 h1:X8EZQeOewahQ7N/arllAP7hCGHNScdTh github.com/DataDog/agent-payload/v5 v5.0.102/go.mod h1:COngtbYYCncpIPiE5D93QlXDH/3VAKk10jDNwGHcMRE= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -179,17 +179,17 @@ github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee h1:tXibLZk3G6HncIFJKaNItsdzcrk4YqILNDZlXPTNt4k= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee/go.mod h1:nTot/Iy0kW16bXgXr6blEc8gFeAS7vTqYlhAxh+dbc0= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 h1:7Y53V1RUKMI5M8lyte5QziGxUEaGcWO4Raq89cL5oZo= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0/go.mod h1:HZEgHdrdgnyYCT1veZEn8TonMMo+oBHuq2IZ/PlTbyE= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 h1:hI0ADWaPLkG7TDZSx/RX+hxTwBeI0BKF0Wmx2genfMw= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0/go.mod h1:Xl5jjxQujCHLCB5gMwHB2jkVsE/TX+YUAkHBc6pFLu0= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 h1:lr/KfZBN9/Gy2MdKPNJiXZH8iz2BaFIW8+QRfIERn9I= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0/go.mod h1:WUCAKoHIvhHFgIjsRa2Kaunv9gbmpqsUaltMhB2Y0I4= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 h1:UkraFhhKe11O1BmNHrBGfMMcJpmsZ/6kzU4FGyG8wWU= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0/go.mod h1:FhHNEP2Ca9C9tNIcmC85JJd5Vpwxo16MNrlLvAc4588= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= diff --git a/connector/datadogconnector/go.mod b/connector/datadogconnector/go.mod index 4f0e20701fee..fef983d1cec1 100644 --- a/connector/datadogconnector/go.mod +++ b/connector/datadogconnector/go.mod @@ -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 @@ -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 diff --git a/connector/datadogconnector/go.sum b/connector/datadogconnector/go.sum index 1511dadea992..f1c86ca1026b 100644 --- a/connector/datadogconnector/go.sum +++ b/connector/datadogconnector/go.sum @@ -37,8 +37,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -57,15 +57,15 @@ github.com/DataDog/go-sqllexer v0.0.8 h1:vfC8R9PhmJfeOKcFYAX9UOd890A3wu3KrjU9Kr7 github.com/DataDog/go-sqllexer v0.0.8/go.mod h1:nB4Ea2YNsqMwtbWMc4Fm/oP98IIrSPapqwOwPioMspY= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I= github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= -github.com/DataDog/sketches-go v1.4.3 h1:ZB9nijteJRFUQixkQfatCqASartGNfiolIlMiEv3u/w= -github.com/DataDog/sketches-go v1.4.3/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= +github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= +github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= diff --git a/exporter/datadogexporter/go.mod b/exporter/datadogexporter/go.mod index 95796996982c..b701fb32c25f 100644 --- a/exporter/datadogexporter/go.mod +++ b/exporter/datadogexporter/go.mod @@ -4,15 +4,15 @@ go 1.20 require ( github.com/DataDog/agent-payload/v5 v5.0.102 - github.com/DataDog/datadog-agent/pkg/proto v0.50.2 + github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel github.com/DataDog/datadog-agent/pkg/trace v0.50.2 github.com/DataDog/datadog-api-client-go/v2 v2.21.0 github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee - github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 - github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 - github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 - github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 - github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 github.com/DataDog/sketches-go v1.4.4 github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.21.0 github.com/aws/aws-sdk-go v1.49.22 diff --git a/exporter/datadogexporter/go.sum b/exporter/datadogexporter/go.sum index c93371fe18b1..f410b414b1e5 100644 --- a/exporter/datadogexporter/go.sum +++ b/exporter/datadogexporter/go.sum @@ -67,8 +67,8 @@ github.com/DataDog/agent-payload/v5 v5.0.102 h1:X8EZQeOewahQ7N/arllAP7hCGHNScdTh github.com/DataDog/agent-payload/v5 v5.0.102/go.mod h1:COngtbYYCncpIPiE5D93QlXDH/3VAKk10jDNwGHcMRE= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -92,17 +92,17 @@ github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee h1:tXibLZk3G6HncIFJKaNItsdzcrk4YqILNDZlXPTNt4k= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee/go.mod h1:nTot/Iy0kW16bXgXr6blEc8gFeAS7vTqYlhAxh+dbc0= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 h1:7Y53V1RUKMI5M8lyte5QziGxUEaGcWO4Raq89cL5oZo= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0/go.mod h1:HZEgHdrdgnyYCT1veZEn8TonMMo+oBHuq2IZ/PlTbyE= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 h1:hI0ADWaPLkG7TDZSx/RX+hxTwBeI0BKF0Wmx2genfMw= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0/go.mod h1:Xl5jjxQujCHLCB5gMwHB2jkVsE/TX+YUAkHBc6pFLu0= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 h1:lr/KfZBN9/Gy2MdKPNJiXZH8iz2BaFIW8+QRfIERn9I= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0/go.mod h1:WUCAKoHIvhHFgIjsRa2Kaunv9gbmpqsUaltMhB2Y0I4= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 h1:UkraFhhKe11O1BmNHrBGfMMcJpmsZ/6kzU4FGyG8wWU= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0/go.mod h1:FhHNEP2Ca9C9tNIcmC85JJd5Vpwxo16MNrlLvAc4588= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= diff --git a/exporter/datadogexporter/integrationtest/go.mod b/exporter/datadogexporter/integrationtest/go.mod index d82fac7bceb2..94f8d84e3b57 100644 --- a/exporter/datadogexporter/integrationtest/go.mod +++ b/exporter/datadogexporter/integrationtest/go.mod @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datado go 1.20 require ( - github.com/DataDog/datadog-agent/pkg/proto v0.50.2 + github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel github.com/open-telemetry/opentelemetry-collector-contrib/connector/datadogconnector v0.92.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter v0.92.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/datadog v0.92.0 @@ -44,11 +44,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/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.21.0 // indirect diff --git a/exporter/datadogexporter/integrationtest/go.sum b/exporter/datadogexporter/integrationtest/go.sum index 2ac77b44ea64..79dd32c74aac 100644 --- a/exporter/datadogexporter/integrationtest/go.sum +++ b/exporter/datadogexporter/integrationtest/go.sum @@ -56,8 +56,8 @@ github.com/DataDog/agent-payload/v5 v5.0.102 h1:X8EZQeOewahQ7N/arllAP7hCGHNScdTh github.com/DataDog/agent-payload/v5 v5.0.102/go.mod h1:COngtbYYCncpIPiE5D93QlXDH/3VAKk10jDNwGHcMRE= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -80,17 +80,17 @@ github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee h1:tXibLZk3G6HncIFJKaNItsdzcrk4YqILNDZlXPTNt4k= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee/go.mod h1:nTot/Iy0kW16bXgXr6blEc8gFeAS7vTqYlhAxh+dbc0= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 h1:7Y53V1RUKMI5M8lyte5QziGxUEaGcWO4Raq89cL5oZo= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0/go.mod h1:HZEgHdrdgnyYCT1veZEn8TonMMo+oBHuq2IZ/PlTbyE= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 h1:hI0ADWaPLkG7TDZSx/RX+hxTwBeI0BKF0Wmx2genfMw= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0/go.mod h1:Xl5jjxQujCHLCB5gMwHB2jkVsE/TX+YUAkHBc6pFLu0= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 h1:lr/KfZBN9/Gy2MdKPNJiXZH8iz2BaFIW8+QRfIERn9I= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0/go.mod h1:WUCAKoHIvhHFgIjsRa2Kaunv9gbmpqsUaltMhB2Y0I4= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 h1:UkraFhhKe11O1BmNHrBGfMMcJpmsZ/6kzU4FGyG8wWU= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0/go.mod h1:FhHNEP2Ca9C9tNIcmC85JJd5Vpwxo16MNrlLvAc4588= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= diff --git a/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go index d3c3a8dddda2..c4d64a4057c4 100644 --- a/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go +++ b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go @@ -27,33 +27,43 @@ func newGohai(logger *zap.Logger) *gohai.Gohai { if p, err := new(cpu.Cpu).Collect(); err != nil { logger.Info("Failed to retrieve cpu metadata", zap.Error(err)) + } else if cpu, ok := p.(map[string]string); !ok { + logger.Warn("Internal error: Failed to cast cpu metadata to map[string]string", zap.Any("cpu", p)) } else { - res.CPU = p + res.CPU = cpu } if p, err := new(filesystem.FileSystem).Collect(); err != nil { logger.Info("Failed to retrieve filesystem metadata", zap.Error(err)) + } else if fs, ok := p.([]any); !ok { + logger.Warn("Internal error: Failed to cast filesystem metadata to []any", zap.Any("filesystem", p)) } else { - res.FileSystem = p + res.FileSystem = fs } if p, err := new(memory.Memory).Collect(); err != nil { logger.Info("Failed to retrieve memory metadata", zap.Error(err)) + } else if mem, ok := p.(map[string]string); !ok { + logger.Warn("Internal error: Failed to cast memory metadata to map[string]string", zap.Any("memory", p)) } else { - res.Memory = p + res.Memory = mem } // in case of containerized environment, this would return pod id not node's ip if p, err := new(network.Network).Collect(); err != nil { logger.Info("Failed to retrieve network metadata", zap.Error(err)) + } else if net, ok := p.(map[string]any); !ok { + logger.Warn("Internal error: Failed to cast network metadata to map[string]any", zap.Any("network", p)) } else { - res.Network = p + res.Network = net } if p, err := new(platform.Platform).Collect(); err != nil { logger.Info("Failed to retrieve platform metadata", zap.Error(err)) + } else if platform, ok := p.(map[string]string); !ok { + logger.Warn("Internal error: Failed to cast platform metadata to map[string]string", zap.Any("platform", p)) } else { - res.Platform = p + res.Platform = platform } return res diff --git a/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai_test.go b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai_test.go index 773d8147ae92..cf0e72fe3817 100644 --- a/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai_test.go +++ b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai_test.go @@ -19,8 +19,11 @@ func TestGetPayload(t *testing.T) { logger := zap.NewNop() gohai := NewPayload(logger) assert.NotNil(t, gohai.Gohai.Gohai.CPU) + assert.NotPanics(t, func() { gohai.CPU() }) assert.NotNil(t, gohai.Gohai.Gohai.FileSystem) assert.NotNil(t, gohai.Gohai.Gohai.Memory) assert.NotNil(t, gohai.Gohai.Gohai.Network) + assert.NotPanics(t, func() { gohai.Network() }) assert.NotNil(t, gohai.Gohai.Gohai.Platform) + assert.NotPanics(t, func() { gohai.Platform() }) } diff --git a/go.mod b/go.mod index 6d2b1d8a1274..99d98f9b8b35 100644 --- a/go.mod +++ b/go.mod @@ -236,7 +236,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 @@ -248,11 +248,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 diff --git a/go.sum b/go.sum index 237fb2ef9730..1c5e0ed61eaf 100644 --- a/go.sum +++ b/go.sum @@ -158,8 +158,8 @@ github.com/DataDog/agent-payload/v5 v5.0.102 h1:X8EZQeOewahQ7N/arllAP7hCGHNScdTh github.com/DataDog/agent-payload/v5 v5.0.102/go.mod h1:COngtbYYCncpIPiE5D93QlXDH/3VAKk10jDNwGHcMRE= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -183,17 +183,17 @@ github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee h1:tXibLZk3G6HncIFJKaNItsdzcrk4YqILNDZlXPTNt4k= github.com/DataDog/gohai v0.0.0-20230524154621-4316413895ee/go.mod h1:nTot/Iy0kW16bXgXr6blEc8gFeAS7vTqYlhAxh+dbc0= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0 h1:7Y53V1RUKMI5M8lyte5QziGxUEaGcWO4Raq89cL5oZo= -github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.11.0/go.mod h1:HZEgHdrdgnyYCT1veZEn8TonMMo+oBHuq2IZ/PlTbyE= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0 h1:hI0ADWaPLkG7TDZSx/RX+hxTwBeI0BKF0Wmx2genfMw= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.11.0/go.mod h1:Xl5jjxQujCHLCB5gMwHB2jkVsE/TX+YUAkHBc6pFLu0= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0 h1:lr/KfZBN9/Gy2MdKPNJiXZH8iz2BaFIW8+QRfIERn9I= +github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.13.0/go.mod h1:WUCAKoHIvhHFgIjsRa2Kaunv9gbmpqsUaltMhB2Y0I4= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0 h1:UkraFhhKe11O1BmNHrBGfMMcJpmsZ/6kzU4FGyG8wWU= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs v0.13.0/go.mod h1:FhHNEP2Ca9C9tNIcmC85JJd5Vpwxo16MNrlLvAc4588= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= diff --git a/internal/datadog/go.mod b/internal/datadog/go.mod index b4a2101360f2..91937b0e3b7c 100644 --- a/internal/datadog/go.mod +++ b/internal/datadog/go.mod @@ -3,9 +3,9 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/internal/datado go 1.20 require ( - github.com/DataDog/datadog-agent/pkg/proto v0.50.2 + github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel github.com/DataDog/datadog-agent/pkg/trace v0.50.2 - github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 + github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 github.com/stretchr/testify v1.8.4 go.opentelemetry.io/collector/featuregate v1.0.2-0.20240118172122-8131d31601b8 go.opentelemetry.io/collector/pdata v1.0.2-0.20240118172122-8131d31601b8 @@ -21,9 +21,9 @@ 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/otlp/attributes v0.11.0 // 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/otlp/attributes 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/Microsoft/go-winio v0.6.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect diff --git a/internal/datadog/go.sum b/internal/datadog/go.sum index e39797253a47..e0d9a92bd049 100644 --- a/internal/datadog/go.sum +++ b/internal/datadog/go.sum @@ -1,8 +1,8 @@ contrib.go.opencensus.io/exporter/prometheus v0.4.2 h1:sqfsYl5GIY/L570iT+l93ehxaWJs2/OwXtiWwew3oAg= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -21,15 +21,15 @@ github.com/DataDog/go-sqllexer v0.0.8 h1:vfC8R9PhmJfeOKcFYAX9UOd890A3wu3KrjU9Kr7 github.com/DataDog/go-sqllexer v0.0.8/go.mod h1:nB4Ea2YNsqMwtbWMc4Fm/oP98IIrSPapqwOwPioMspY= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I= github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= -github.com/DataDog/sketches-go v1.4.3 h1:ZB9nijteJRFUQixkQfatCqASartGNfiolIlMiEv3u/w= -github.com/DataDog/sketches-go v1.4.3/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= +github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= +github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= diff --git a/processor/datadogprocessor/go.mod b/processor/datadogprocessor/go.mod index b844702c81fe..2417d08531c8 100644 --- a/processor/datadogprocessor/go.mod +++ b/processor/datadogprocessor/go.mod @@ -4,9 +4,9 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/processor/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/DataDog/sketches-go v1.4.4 github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.92.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/datadog v0.92.0 @@ -36,7 +36,7 @@ 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/opentelemetry-mapping-go/pkg/quantile v0.13.0 // 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 diff --git a/processor/datadogprocessor/go.sum b/processor/datadogprocessor/go.sum index fb2f16e4faa3..d6234f04a7d6 100644 --- a/processor/datadogprocessor/go.sum +++ b/processor/datadogprocessor/go.sum @@ -37,8 +37,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2 h1:y08IzbpFM/HBaKfgayFZe1FpcbZn6bVPXoZ++93vxv8= github.com/DataDog/datadog-agent/pkg/obfuscate v0.50.2/go.mod h1:A4nLJvxlg6BO/8/zg81til9yT0uRPuXDFMAzDMpmgn4= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2 h1:dDg+U7ERLvir5D/TkJ6xA/RvU1hXcujTjCJoZG03KZE= -github.com/DataDog/datadog-agent/pkg/proto v0.50.2/go.mod h1:HvK26YCxg6MfYvPJgpHC7nSjw6DTpNhd75Wlb0GAvis= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel h1:nBejGNIU6Jk7bPBxz2bAO+f+kahAXWBXPecebY3R+Zo= +github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel/go.mod h1:wjr5YlVvGip6VmAGzHrdBaGUu1LaA9B6gHvInm5kHiY= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2 h1:7jn5EOu84uph4sd+pB3vF8LnsdTjhh+1/NnCvfNpG4A= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.50.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.50.2 h1:eyjTZx3yupppiND/qwiUj6VuWHfyGfPMrqQwRgE41Rw= @@ -57,13 +57,13 @@ github.com/DataDog/go-sqllexer v0.0.8 h1:vfC8R9PhmJfeOKcFYAX9UOd890A3wu3KrjU9Kr7 github.com/DataDog/go-sqllexer v0.0.8/go.mod h1:nB4Ea2YNsqMwtbWMc4Fm/oP98IIrSPapqwOwPioMspY= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I= github.com/DataDog/go-tuf v1.0.2-0.5.2/go.mod h1:zBcq6f654iVqmkk8n2Cx81E1JnNTMOAx1UEO/wZR+P0= -github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.11.0 h1:4ifgkQU0qHxrCE5axRmI4AaJYZLj95VEVxIbXlIPLUg= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0 h1:qaqPqVPoiW8p9/RYaF5m7qt47+jSv6bXXeP9XM7UbfA= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.11.0/go.mod h1:YV4ZdhvqDCGIA17CFm2QZWe1AHL+YY5UEpnTWYXLIm8= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0 h1:JAFzV1P69kSvlmd8D+i9V6kpxOuy8WVbGUBGxufLjtI= -github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.11.0/go.mod h1:cP0qZvP+u4jzz2z28KzxFYww4xX2sYv+yPQAMSLoSMU= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0 h1:G5fefqlKYsJX0iqkp5Smdica6J3Ty7Gay8NINjwpdpY= -github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.11.0/go.mod h1:4ed2dYa6xQKKfVhJoLpNf89N0pKA8H2R0SyiCcL6PoI= +github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.13.0 h1:EatE0Se2D+neaCHyA4UGmm25LTZIPfns9NXo3Wz62I0= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0 h1:iNB43SdjqplTqzyusfTSQq5GBo57lS8COqhEqyxkDGM= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.13.0/go.mod h1:NRv/hOlGq1LrJN1bbY7gJa4upTDTh5ZRW19U5w/wuNQ= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0 h1:AQDXcQK7L5e4WPhc/wNyeUSy/ew/tSV/EReM+V6S298= +github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.13.0/go.mod h1:ilNWHsAKu6SJ6rl8w7DcrBWDuQzVaXLWV/gpsvwTbTk= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0 h1:09d5bGyysT7lbX0gx8sT8f08ftQKO+fswjP9GTRgXaI= +github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.13.0/go.mod h1:Ni+/S5Efqm2MiNxRMm8zsgDt/Xn/7lxCvewkassHXNI= github.com/DataDog/sketches-go v1.4.4 h1:dF52vzXRFSPOj2IjXSWLvXq3jubL4CI69kwYjJ1w5Z8= github.com/DataDog/sketches-go v1.4.4/go.mod h1:XR0ns2RtEEF09mDKXiKZiQg+nfZStrq1ZuL1eezeZe0= github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=