From 987f13c90eea46ef706b7636c29ddebc057f10f2 Mon Sep 17 00:00:00 2001 From: Gabriel Aszalos Date: Wed, 25 Oct 2023 16:44:52 +0300 Subject: [PATCH] exporter/datadog: disable APM stats via feature flag This change adds the "exporter.datadogexporter.disable_apm_stats" feature flag, which can be enabled to disable APM stats computation. Updates #28615 --- .chloggen/gbbr_nostats.yaml | 27 ++++++++++++++ cmd/configschema/go.mod | 16 ++++----- cmd/configschema/go.sum | 9 +++++ cmd/otelcontribcol/go.mod | 16 ++++----- cmd/otelcontribcol/go.sum | 9 +++++ connector/datadogconnector/go.mod | 16 ++++----- connector/datadogconnector/go.sum | 9 +++++ exporter/datadogexporter/factory.go | 7 ++++ exporter/datadogexporter/go.mod | 18 +++++----- exporter/datadogexporter/go.sum | 36 +++++++++---------- .../datadogexporter/integrationtest/go.mod | 16 ++++----- .../datadogexporter/integrationtest/go.sum | 9 +++++ exporter/datadogexporter/traces_exporter.go | 10 +++++- go.mod | 16 ++++----- go.sum | 9 +++++ internal/datadog/go.mod | 16 ++++----- internal/datadog/go.sum | 9 +++++ processor/datadogprocessor/go.mod | 16 ++++----- processor/datadogprocessor/go.sum | 9 +++++ 19 files changed, 189 insertions(+), 84 deletions(-) create mode 100755 .chloggen/gbbr_nostats.yaml diff --git a/.chloggen/gbbr_nostats.yaml b/.chloggen/gbbr_nostats.yaml new file mode 100755 index 000000000000..e73f94376a84 --- /dev/null +++ b/.chloggen/gbbr_nostats.yaml @@ -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: exporter/datadog + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Added the "exporter.datadogexporter.disable_apm_stats" feature gate to disable APM stats computation. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [28615] + +# (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: [] diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod index 1ca4739fa9c5..dc3f98d0f606 100644 --- a/cmd/configschema/go.mod +++ b/cmd/configschema/go.mod @@ -213,14 +213,14 @@ 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.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 // 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-api-client-go/v2 v2.18.0 // indirect github.com/DataDog/datadog-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum index 4f31605ff17c..903f42342e58 100644 --- a/cmd/configschema/go.sum +++ b/cmd/configschema/go.sum @@ -159,20 +159,29 @@ github.com/DataDog/agent-payload/v5 v5.0.89 h1:uuLWf/exyNYBnheG9OH2dOWZpCJvaEHX3 github.com/DataDog/agent-payload/v5 v5.0.89/go.mod h1:oQZi1VZp1e3QvlSUX4iphZCpJaFepUxWq0hNXxihKBM= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-api-client-go/v2 v2.18.0 h1:QkX1vY1JtvDeF6N6EarPrJMHlerVGdTvGQOUWqfeVDs= github.com/DataDog/datadog-api-client-go/v2 v2.18.0/go.mod h1:lHlfhsNQ2qZclvpVQTfrGowUDIdIzAao38A05f9EQpc= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod index 57370b7d9960..2e7a34c9317e 100644 --- a/cmd/otelcontribcol/go.mod +++ b/cmd/otelcontribcol/go.mod @@ -252,14 +252,14 @@ 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.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 // 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-api-client-go/v2 v2.18.0 // indirect github.com/DataDog/datadog-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum index f1293d5d2685..d390d80361ea 100644 --- a/cmd/otelcontribcol/go.sum +++ b/cmd/otelcontribcol/go.sum @@ -158,20 +158,29 @@ github.com/DataDog/agent-payload/v5 v5.0.89 h1:uuLWf/exyNYBnheG9OH2dOWZpCJvaEHX3 github.com/DataDog/agent-payload/v5 v5.0.89/go.mod h1:oQZi1VZp1e3QvlSUX4iphZCpJaFepUxWq0hNXxihKBM= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-api-client-go/v2 v2.18.0 h1:QkX1vY1JtvDeF6N6EarPrJMHlerVGdTvGQOUWqfeVDs= github.com/DataDog/datadog-api-client-go/v2 v2.18.0/go.mod h1:lHlfhsNQ2qZclvpVQTfrGowUDIdIzAao38A05f9EQpc= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= diff --git a/connector/datadogconnector/go.mod b/connector/datadogconnector/go.mod index f4c5e969f30c..379f60ba54e5 100644 --- a/connector/datadogconnector/go.mod +++ b/connector/datadogconnector/go.mod @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/connector/datad go 1.20 require ( - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.8.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/datadog v0.88.0 github.com/stretchr/testify v1.8.4 @@ -15,13 +15,13 @@ require ( ) require ( - github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // 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-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.8.0 // indirect diff --git a/connector/datadogconnector/go.sum b/connector/datadogconnector/go.sum index f3030f801160..3007b670aeba 100644 --- a/connector/datadogconnector/go.sum +++ b/connector/datadogconnector/go.sum @@ -1,19 +1,28 @@ github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-go/v5 v5.1.1 h1:JLZ6s2K1pG2h9GkvEvMdEGqMDyVLEAccdX5TltWcLMU= github.com/DataDog/datadog-go/v5 v5.1.1/go.mod h1:KhiYb2Badlv9/rofz+OznKoEF5XKTonWyhx5K83AP8E= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I= diff --git a/exporter/datadogexporter/factory.go b/exporter/datadogexporter/factory.go index 593d4c3fa35f..61750b561700 100644 --- a/exporter/datadogexporter/factory.go +++ b/exporter/datadogexporter/factory.go @@ -35,6 +35,13 @@ var mertricExportNativeClientFeatureGate = featuregate.GlobalRegistry().MustRegi featuregate.WithRegisterDescription("When enabled, metric export in datadogexporter uses native Datadog client APIs instead of Zorkian APIs."), ) +// noAPMStatsFeatureGate causes the trace consumer to skip APM stats computation. +var noAPMStatsFeatureGate = featuregate.GlobalRegistry().MustRegister( + "exporter.datadogexporter.disable_apm_stats", + featuregate.StageAlpha, + featuregate.WithRegisterDescription("Datadog Exporter will not compute APM Stats"), +) + // isMetricExportV2Enabled returns true if metric export in datadogexporter uses native Datadog client APIs, false if it uses Zorkian APIs func isMetricExportV2Enabled() bool { return mertricExportNativeClientFeatureGate.IsEnabled() diff --git a/exporter/datadogexporter/go.mod b/exporter/datadogexporter/go.mod index 38aa8649b652..458a0148316f 100644 --- a/exporter/datadogexporter/go.mod +++ b/exporter/datadogexporter/go.mod @@ -4,8 +4,8 @@ go 1.20 require ( github.com/DataDog/agent-payload/v5 v5.0.89 - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 + github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 github.com/DataDog/datadog-api-client-go/v2 v2.18.0 github.com/DataDog/gohai v0.0.0-20220718130825-1776f9beb9cc github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata v0.8.0 @@ -54,12 +54,12 @@ require ( cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 // indirect contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect - github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect + github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2 // 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-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect github.com/DataDog/zstd v1.5.2 // indirect @@ -72,7 +72,7 @@ require ( github.com/cenkalti/backoff v2.2.1+incompatible // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 // indirect - github.com/containerd/cgroups v1.0.4 // indirect + github.com/containerd/cgroups/v3 v3.0.2 // indirect github.com/coreos/go-systemd/v22 v22.5.0 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/docker/distribution v2.8.2+incompatible // indirect diff --git a/exporter/datadogexporter/go.sum b/exporter/datadogexporter/go.sum index bc0c10820337..97985e219b13 100644 --- a/exporter/datadogexporter/go.sum +++ b/exporter/datadogexporter/go.sum @@ -50,22 +50,22 @@ 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/agent-payload/v5 v5.0.89 h1:uuLWf/exyNYBnheG9OH2dOWZpCJvaEHX3W9CAd8KarU= github.com/DataDog/agent-payload/v5 v5.0.89/go.mod h1:oQZi1VZp1e3QvlSUX4iphZCpJaFepUxWq0hNXxihKBM= -github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= -github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= -github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= -github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= -github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= -github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= -github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= -github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= -github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= -github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= -github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= -github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= -github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= -github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= -github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= -github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 h1:Y56sdsJotnJmxTzyHvADM2/0VpWzonQrSAeIjHCqk+s= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 h1:l/VVYTvmuu5iO6Hx3Zh7r9Ax5J0CFDJ/Mc0CXNqiyBk= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2 h1:MXrLVVauNLDQnJ0TTY35L1rtKv7YnNU3zl8wtE5sI9g= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2 h1:X3nPQuiTkBVWaBGLb9oEycHhSzMJsgRcb3VNoxlGyYM= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2 h1:64AGy6AuNW/7uW+ix55S1iFqadpzLDHYk5LtbHCeSJc= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2 h1:Z4PwDkI/ML5spAbG1aXbPkWiJ4T4XD2pQqKgfSy/rb8= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2 h1:SQ6pGb8ppcTnCKoTuaCfZpAhMlTWhEqdIQiVL1Jgpnk= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-api-client-go/v2 v2.18.0 h1:QkX1vY1JtvDeF6N6EarPrJMHlerVGdTvGQOUWqfeVDs= github.com/DataDog/datadog-api-client-go/v2 v2.18.0/go.mod h1:lHlfhsNQ2qZclvpVQTfrGowUDIdIzAao38A05f9EQpc= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= @@ -145,8 +145,8 @@ github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/xds/go v0.0.0-20230607035331-e9ce68804cb4 h1:/inchEIKaYC1Akx+H+gqO04wryn5h75LSazbRlnya1k= -github.com/containerd/cgroups v1.0.4 h1:jN/mbWBEaz+T1pi5OFtnkQ+8qnmEbAr1Oo1FRm5B0dA= -github.com/containerd/cgroups v1.0.4/go.mod h1:nLNQtsF7Sl2HxNebu77i1R0oDlhiTG+kO4JTrUzo6IA= +github.com/containerd/cgroups/v3 v3.0.2 h1:f5WFqIVSgo5IZmtTT3qVBo6TzI1ON6sycSBKkymb9L0= +github.com/containerd/cgroups/v3 v3.0.2/go.mod h1:JUgITrzdFqp42uI2ryGA+ge0ap/nxzYgkGmIcetmErE= github.com/containerd/containerd v1.7.7 h1:QOC2K4A42RQpcrZyptP6z9EJZnlHfHJUfZrAAHe15q4= github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs= diff --git a/exporter/datadogexporter/integrationtest/go.mod b/exporter/datadogexporter/integrationtest/go.mod index da573cd9c118..5ab718cbeafe 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.48.1 + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 github.com/open-telemetry/opentelemetry-collector-contrib/connector/datadogconnector v0.88.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/datadogexporter v0.88.0 github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.88.0 @@ -30,13 +30,13 @@ require ( cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 // indirect contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect github.com/DataDog/agent-payload/v5 v5.0.89 // indirect - github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // 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-api-client-go/v2 v2.18.0 // indirect github.com/DataDog/datadog-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect diff --git a/exporter/datadogexporter/integrationtest/go.sum b/exporter/datadogexporter/integrationtest/go.sum index 4163c1d418f3..a67aa4ae8847 100644 --- a/exporter/datadogexporter/integrationtest/go.sum +++ b/exporter/datadogexporter/integrationtest/go.sum @@ -560,20 +560,29 @@ github.com/DataDog/agent-payload/v5 v5.0.89 h1:uuLWf/exyNYBnheG9OH2dOWZpCJvaEHX3 github.com/DataDog/agent-payload/v5 v5.0.89/go.mod h1:oQZi1VZp1e3QvlSUX4iphZCpJaFepUxWq0hNXxihKBM= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-api-client-go/v2 v2.18.0 h1:QkX1vY1JtvDeF6N6EarPrJMHlerVGdTvGQOUWqfeVDs= github.com/DataDog/datadog-api-client-go/v2 v2.18.0/go.mod h1:lHlfhsNQ2qZclvpVQTfrGowUDIdIzAao38A05f9EQpc= github.com/DataDog/datadog-go/v5 v5.1.1 h1:JLZ6s2K1pG2h9GkvEvMdEGqMDyVLEAccdX5TltWcLMU= diff --git a/exporter/datadogexporter/traces_exporter.go b/exporter/datadogexporter/traces_exporter.go index 5ce3084be205..8e3125367ade 100644 --- a/exporter/datadogexporter/traces_exporter.go +++ b/exporter/datadogexporter/traces_exporter.go @@ -90,6 +90,10 @@ func newTracesExporter( var _ consumer.ConsumeTracesFunc = (*traceExporter)(nil).consumeTraces +// headerComputedStats specifies the HTTP header which indicates whether APM stats +// have already been computed for a payload. +const headerComputedStats = "Datadog-Client-Computed-Stats" + func (exp *traceExporter) consumeTraces( ctx context.Context, td ptrace.Traces, @@ -115,9 +119,13 @@ func (exp *traceExporter) consumeTraces( rspans := td.ResourceSpans() hosts := make(map[string]struct{}) tags := make(map[string]struct{}) + header := make(http.Header) + if noAPMStatsFeatureGate.IsEnabled() { + header[headerComputedStats] = []string{"true"} + } for i := 0; i < rspans.Len(); i++ { rspan := rspans.At(i) - src := exp.agent.OTLPReceiver.ReceiveResourceSpans(ctx, rspan, http.Header{}) + src := exp.agent.OTLPReceiver.ReceiveResourceSpans(ctx, rspan, header) switch src.Kind { case source.HostnameKind: hosts[src.Identifier] = struct{}{} diff --git a/go.mod b/go.mod index 40aa0511c779..543f45f9e7d4 100644 --- a/go.mod +++ b/go.mod @@ -226,14 +226,14 @@ 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.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 // 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-api-client-go/v2 v2.18.0 // indirect github.com/DataDog/datadog-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect diff --git a/go.sum b/go.sum index 0f5711301b15..65fc79fea2f3 100644 --- a/go.sum +++ b/go.sum @@ -163,20 +163,29 @@ github.com/DataDog/agent-payload/v5 v5.0.89 h1:uuLWf/exyNYBnheG9OH2dOWZpCJvaEHX3 github.com/DataDog/agent-payload/v5 v5.0.89/go.mod h1:oQZi1VZp1e3QvlSUX4iphZCpJaFepUxWq0hNXxihKBM= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-api-client-go/v2 v2.18.0 h1:QkX1vY1JtvDeF6N6EarPrJMHlerVGdTvGQOUWqfeVDs= github.com/DataDog/datadog-api-client-go/v2 v2.18.0/go.mod h1:lHlfhsNQ2qZclvpVQTfrGowUDIdIzAao38A05f9EQpc= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= diff --git a/internal/datadog/go.mod b/internal/datadog/go.mod index 735a0175b28f..9e0e1489779f 100644 --- a/internal/datadog/go.mod +++ b/internal/datadog/go.mod @@ -3,20 +3,20 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/internal/datado go 1.20 require ( - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 + github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.8.0 github.com/stretchr/testify v1.8.4 go.opentelemetry.io/collector/pdata v1.0.0-rcv0017.0.20231026220224-6405e152a2d9 ) require ( - github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // indirect + github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2 // 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-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.8.0 // indirect diff --git a/internal/datadog/go.sum b/internal/datadog/go.sum index a12ae678d6f2..51ebc7c9691c 100644 --- a/internal/datadog/go.sum +++ b/internal/datadog/go.sum @@ -1,19 +1,28 @@ github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-go/v5 v5.1.1 h1:JLZ6s2K1pG2h9GkvEvMdEGqMDyVLEAccdX5TltWcLMU= github.com/DataDog/datadog-go/v5 v5.1.1/go.mod h1:KhiYb2Badlv9/rofz+OznKoEF5XKTonWyhx5K83AP8E= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I= diff --git a/processor/datadogprocessor/go.mod b/processor/datadogprocessor/go.mod index 9485a2fa8f5e..d12708491b2e 100644 --- a/processor/datadogprocessor/go.mod +++ b/processor/datadogprocessor/go.mod @@ -4,7 +4,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/processor/datad go 1.20 require ( - github.com/DataDog/datadog-agent/pkg/proto v0.48.1 + github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2 github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics v0.8.0 github.com/DataDog/sketches-go v1.4.3 github.com/open-telemetry/opentelemetry-collector-contrib/internal/datadog v0.88.0 @@ -20,13 +20,13 @@ require ( ) require ( - github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/trace v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 // indirect - github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 // indirect + github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2 // 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-go/v5 v5.1.1 // indirect github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.8.0 // indirect diff --git a/processor/datadogprocessor/go.sum b/processor/datadogprocessor/go.sum index ec32dfcade06..fdc7ea03aa0e 100644 --- a/processor/datadogprocessor/go.sum +++ b/processor/datadogprocessor/go.sum @@ -1,19 +1,28 @@ github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1 h1:uS2NzlwpCs+ZBHE9MLK1tGgxJOe2fVbwwjEEu34Kll4= github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.1/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= +github.com/DataDog/datadog-agent/pkg/obfuscate v0.49.0-rc.2/go.mod h1:HzySONXnAgSmIQfL6gOv9hWprKJkx8CicuXuUbmgWfo= github.com/DataDog/datadog-agent/pkg/proto v0.48.1 h1:dJC8KQ1XUtM6Pfq3x5MV9KLXnB2Q1lJ70E1hAcxDHKs= github.com/DataDog/datadog-agent/pkg/proto v0.48.1/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= +github.com/DataDog/datadog-agent/pkg/proto v0.49.0-rc.2/go.mod h1:A4qG1PwNPYcM391xyksJ47ZZjknSAQVvNdXAXsrR+N0= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 h1:5nE6N3JSs2IG3xzMthNFhXfOaXlrsdgqmJ73lndFf8c= github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= +github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.49.0-rc.2/go.mod h1:Vc+snp0Bey4MrrJyiV2tVxxJb6BmLomPvN1RgAvjGaQ= github.com/DataDog/datadog-agent/pkg/trace v0.48.1 h1:2yhGetREZlomEniLJmt+KIClgsWIKOqnUCIKH1D12Rc= github.com/DataDog/datadog-agent/pkg/trace v0.48.1/go.mod h1:24Ct0NokFmHNvy+oHkDQ9589fLYAlJcLCFQTWiAzOf4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7 h1:ciOBHpTSHrFy/xn/+ana53F3cvPdhR3JGuoHeGa6r+4= +github.com/DataDog/datadog-agent/pkg/trace v0.50.0-devel.0.20231030140030-aa8a206e6ac7/go.mod h1:x6SswkmUaSmjAhSPUeVixs/Czr0w9Y5324Anoa6V+xE= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1 h1:wPh8rTOGVc212I+Oiek2yALrHOL1UJmS3+XYBv5Wb0Q= github.com/DataDog/datadog-agent/pkg/util/cgroups v0.48.1/go.mod h1:wYr3mEs5nYZuu7u9IkVzMaLmEoPH4cPG9WdastYRSJE= +github.com/DataDog/datadog-agent/pkg/util/cgroups v0.49.0-rc.2/go.mod h1:hVKZ+BweMQiL/dOCPvSPH/66vDSd3A3IeWQPuExkZw0= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1 h1:0tOZ2S6G4Y6aeBPbrkL68xGN235kkjNjp71T4rEclVM= github.com/DataDog/datadog-agent/pkg/util/log v0.48.1/go.mod h1:WxtFyf5kxB/gKKoAJMCtGd0MI7ZrbSjk8wCxTjx55oI= +github.com/DataDog/datadog-agent/pkg/util/log v0.49.0-rc.2/go.mod h1:RvGVny6LcLD0F9/N5OnxPoXKE8GwFtAKCD/viDv0Jw8= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1 h1:xFZ6rpOv00L/20e7Y8rGVOW4wr4y+rHlBydOH9rdKeI= github.com/DataDog/datadog-agent/pkg/util/pointer v0.48.1/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= +github.com/DataDog/datadog-agent/pkg/util/pointer v0.49.0-rc.2/go.mod h1:eTXti9mx7qhkoi+Qg3mMmvVY5McghUUgsf4Hrk9zY8k= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1 h1:N7hTFdOBIaPHQ1W98kKs9AvW91WgiMTDD82iH8pyBXI= github.com/DataDog/datadog-agent/pkg/util/scrubber v0.48.1/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= +github.com/DataDog/datadog-agent/pkg/util/scrubber v0.49.0-rc.2/go.mod h1:EOGgNrSPskIxY3+KgCl+yEggMjrGqrA2oL5va+/p2jM= github.com/DataDog/datadog-go/v5 v5.1.1 h1:JLZ6s2K1pG2h9GkvEvMdEGqMDyVLEAccdX5TltWcLMU= github.com/DataDog/datadog-go/v5 v5.1.1/go.mod h1:KhiYb2Badlv9/rofz+OznKoEF5XKTonWyhx5K83AP8E= github.com/DataDog/go-tuf v1.0.2-0.5.2 h1:EeZr937eKAWPxJ26IykAdWA4A0jQXJgkhUjqEI/w7+I=