Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new remote workloadmeta only catalog #32008

Merged
merged 5 commits into from
Dec 11, 2024

Conversation

paulcacheux
Copy link
Contributor

@paulcacheux paulcacheux commented Dec 11, 2024

What does this PR do?

This PR creates a workloadmeta catalog that only contains the remote options. This allows user of this catalog to not include all the dependencies that would be needed to run a local workloadmeta. This also allows to drop the remotewm build tag.

The flavor check that used to filter the object received to only containers in the case of the security agent is also removed since most of the CWS logic has been moved to the system-probe anyway.

As a side note, the go deps check uses the build tags defined in the new branch for both the before and after sides, so the diff is not correct here. Most of those dependencies were already not included because of the remotewm tag

Motivation

Describe how you validated your changes

Code covered by tests. Plus dependency check in CI should be enough

Possible Drawbacks / Trade-offs

Additional Notes

@github-actions github-actions bot added component/system-probe team/container-platform The Container Platform Team medium review PR review might take time labels Dec 11, 2024
@paulcacheux paulcacheux changed the title Paulcacheux/remote wm catalog add a new remote workloadmeta only catalog Dec 11, 2024
Copy link

cit-pr-commenter bot commented Dec 11, 2024

Go Package Import Differences

Baseline: 623bea0
Comparison: f736348

binaryosarchchange
system-probelinuxamd64
+1, -109
-github.com/DataDog/datadog-agent/comp/autoscaling/datadogclient/def
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/container
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/vm
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/containerd
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/crio
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/docker
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecs
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecsfargate
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubeapiserver
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubelet
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubemetadata
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/podman
+github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog-remote
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/remote/processcollector
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util/kubernetes_resource_parsers
-github.com/DataDog/datadog-agent/internal/third_party/golang/expansion
-github.com/DataDog/datadog-agent/pkg/clusteragent/autoscaling/custommetrics
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/containerd
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/crio
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/docker
-github.com/DataDog/datadog-agent/pkg/util/ecs
-github.com/DataDog/datadog-agent/pkg/util/gpu
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/controllers
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection/metrics
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/autoscalers
-github.com/DataDog/datadog-agent/pkg/util/podman
-github.com/blang/semver/v4
-github.com/containerd/containerd/api/events
-github.com/containerd/containerd/runtime/restart
-github.com/containernetworking/cni/libcni
-github.com/containernetworking/cni/pkg/invoke
-github.com/containernetworking/cni/pkg/types
-github.com/containernetworking/cni/pkg/types/020
-github.com/containernetworking/cni/pkg/types/040
-github.com/containernetworking/cni/pkg/types/100
-github.com/containernetworking/cni/pkg/types/create
-github.com/containernetworking/cni/pkg/types/internal
-github.com/containernetworking/cni/pkg/utils
-github.com/containernetworking/cni/pkg/version
-github.com/containernetworking/plugins/pkg/ns
-github.com/cri-o/ocicni/pkg/ocicni
-github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule
-github.com/grpc-ecosystem/grpc-gateway/v2/runtime
-github.com/grpc-ecosystem/grpc-gateway/v2/utilities
-go.opentelemetry.io/otel/exporters/otlp/otlptrace
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry
-go.opentelemetry.io/otel/sdk
-go.opentelemetry.io/otel/sdk/instrumentation
-go.opentelemetry.io/otel/sdk/internal/env
-go.opentelemetry.io/otel/sdk/internal/x
-go.opentelemetry.io/otel/sdk/resource
-go.opentelemetry.io/otel/sdk/trace
-go.opentelemetry.io/otel/trace/noop
-go.opentelemetry.io/proto/otlp/collector/trace/v1
-go.opentelemetry.io/proto/otlp/common/v1
-go.opentelemetry.io/proto/otlp/resource/v1
-go.opentelemetry.io/proto/otlp/trace/v1
-google.golang.org/genproto/googleapis/rpc/errdetails
-google.golang.org/grpc/encoding/gzip
-gopkg.in/zorkian/go-datadog-api.v2
-k8s.io/apimachinery/pkg/api/validation/path
-k8s.io/apimachinery/pkg/util/mergepatch
-k8s.io/apimachinery/pkg/util/rand
-k8s.io/apimachinery/pkg/util/strategicpatch
-k8s.io/apimachinery/pkg/util/uuid
-k8s.io/apimachinery/pkg/util/version
-k8s.io/apimachinery/third_party/forked/golang/json
-k8s.io/apiserver/pkg/admission
-k8s.io/apiserver/pkg/apis/apiserver
-k8s.io/apiserver/pkg/apis/apiserver/v1
-k8s.io/apiserver/pkg/apis/audit
-k8s.io/apiserver/pkg/apis/audit/v1
-k8s.io/apiserver/pkg/audit
-k8s.io/apiserver/pkg/authentication/user
-k8s.io/apiserver/pkg/authorization/authorizer
-k8s.io/apiserver/pkg/endpoints/discovery
-k8s.io/apiserver/pkg/endpoints/handlers/negotiation
-k8s.io/apiserver/pkg/endpoints/handlers/responsewriters
-k8s.io/apiserver/pkg/endpoints/metrics
-k8s.io/apiserver/pkg/endpoints/request
-k8s.io/apiserver/pkg/endpoints/responsewriter
-k8s.io/apiserver/pkg/features
-k8s.io/apiserver/pkg/registry/rest
-k8s.io/apiserver/pkg/storage
-k8s.io/apiserver/pkg/storage/names
-k8s.io/apiserver/pkg/util/feature
-k8s.io/apiserver/pkg/util/flushwriter
-k8s.io/apiserver/pkg/warning
-k8s.io/client-go/tools/internal/events
-k8s.io/client-go/tools/record
-k8s.io/client-go/tools/record/util
-k8s.io/component-base/featuregate
-k8s.io/component-base/metrics
-k8s.io/component-base/metrics/legacyregistry
-k8s.io/component-base/metrics/prometheus/feature
-k8s.io/component-base/metrics/prometheusextension
-k8s.io/component-base/tracing
-k8s.io/component-base/tracing/api/v1
-k8s.io/component-base/version
-k8s.io/metrics/pkg/apis/custom_metrics
-k8s.io/metrics/pkg/apis/external_metrics
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider/defaults
system-probelinuxarm64
+1, -109
-github.com/DataDog/datadog-agent/comp/autoscaling/datadogclient/def
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/container
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/vm
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/containerd
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/crio
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/docker
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecs
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecsfargate
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubeapiserver
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubelet
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubemetadata
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/podman
+github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog-remote
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/remote/processcollector
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util/kubernetes_resource_parsers
-github.com/DataDog/datadog-agent/internal/third_party/golang/expansion
-github.com/DataDog/datadog-agent/pkg/clusteragent/autoscaling/custommetrics
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/containerd
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/crio
-github.com/DataDog/datadog-agent/pkg/sbom/collectors/docker
-github.com/DataDog/datadog-agent/pkg/util/ecs
-github.com/DataDog/datadog-agent/pkg/util/gpu
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/controllers
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection/metrics
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/autoscalers
-github.com/DataDog/datadog-agent/pkg/util/podman
-github.com/blang/semver/v4
-github.com/containerd/containerd/api/events
-github.com/containerd/containerd/runtime/restart
-github.com/containernetworking/cni/libcni
-github.com/containernetworking/cni/pkg/invoke
-github.com/containernetworking/cni/pkg/types
-github.com/containernetworking/cni/pkg/types/020
-github.com/containernetworking/cni/pkg/types/040
-github.com/containernetworking/cni/pkg/types/100
-github.com/containernetworking/cni/pkg/types/create
-github.com/containernetworking/cni/pkg/types/internal
-github.com/containernetworking/cni/pkg/utils
-github.com/containernetworking/cni/pkg/version
-github.com/containernetworking/plugins/pkg/ns
-github.com/cri-o/ocicni/pkg/ocicni
-github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule
-github.com/grpc-ecosystem/grpc-gateway/v2/runtime
-github.com/grpc-ecosystem/grpc-gateway/v2/utilities
-go.opentelemetry.io/otel/exporters/otlp/otlptrace
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry
-go.opentelemetry.io/otel/sdk
-go.opentelemetry.io/otel/sdk/instrumentation
-go.opentelemetry.io/otel/sdk/internal/env
-go.opentelemetry.io/otel/sdk/internal/x
-go.opentelemetry.io/otel/sdk/resource
-go.opentelemetry.io/otel/sdk/trace
-go.opentelemetry.io/otel/trace/noop
-go.opentelemetry.io/proto/otlp/collector/trace/v1
-go.opentelemetry.io/proto/otlp/common/v1
-go.opentelemetry.io/proto/otlp/resource/v1
-go.opentelemetry.io/proto/otlp/trace/v1
-google.golang.org/genproto/googleapis/rpc/errdetails
-google.golang.org/grpc/encoding/gzip
-gopkg.in/zorkian/go-datadog-api.v2
-k8s.io/apimachinery/pkg/api/validation/path
-k8s.io/apimachinery/pkg/util/mergepatch
-k8s.io/apimachinery/pkg/util/rand
-k8s.io/apimachinery/pkg/util/strategicpatch
-k8s.io/apimachinery/pkg/util/uuid
-k8s.io/apimachinery/pkg/util/version
-k8s.io/apimachinery/third_party/forked/golang/json
-k8s.io/apiserver/pkg/admission
-k8s.io/apiserver/pkg/apis/apiserver
-k8s.io/apiserver/pkg/apis/apiserver/v1
-k8s.io/apiserver/pkg/apis/audit
-k8s.io/apiserver/pkg/apis/audit/v1
-k8s.io/apiserver/pkg/audit
-k8s.io/apiserver/pkg/authentication/user
-k8s.io/apiserver/pkg/authorization/authorizer
-k8s.io/apiserver/pkg/endpoints/discovery
-k8s.io/apiserver/pkg/endpoints/handlers/negotiation
-k8s.io/apiserver/pkg/endpoints/handlers/responsewriters
-k8s.io/apiserver/pkg/endpoints/metrics
-k8s.io/apiserver/pkg/endpoints/request
-k8s.io/apiserver/pkg/endpoints/responsewriter
-k8s.io/apiserver/pkg/features
-k8s.io/apiserver/pkg/registry/rest
-k8s.io/apiserver/pkg/storage
-k8s.io/apiserver/pkg/storage/names
-k8s.io/apiserver/pkg/util/feature
-k8s.io/apiserver/pkg/util/flushwriter
-k8s.io/apiserver/pkg/warning
-k8s.io/client-go/tools/internal/events
-k8s.io/client-go/tools/record
-k8s.io/client-go/tools/record/util
-k8s.io/component-base/featuregate
-k8s.io/component-base/metrics
-k8s.io/component-base/metrics/legacyregistry
-k8s.io/component-base/metrics/prometheus/feature
-k8s.io/component-base/metrics/prometheusextension
-k8s.io/component-base/tracing
-k8s.io/component-base/tracing/api/v1
-k8s.io/component-base/version
-k8s.io/metrics/pkg/apis/custom_metrics
-k8s.io/metrics/pkg/apis/external_metrics
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider/defaults
system-probewindowsamd64
+1, -260
-archive/tar
-github.com/DataDog/datadog-agent/comp/autoscaling/datadogclient/def
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/container
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/cloudfoundry/vm
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/containerd
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/crio
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/docker
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecs
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/ecsfargate
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubeapiserver
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubelet
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/kubemetadata
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/podman
+github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/catalog-remote
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/internal/remote/processcollector
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util
-github.com/DataDog/datadog-agent/comp/core/workloadmeta/collectors/util/kubernetes_resource_parsers
-github.com/DataDog/datadog-agent/internal/third_party/golang/expansion
-github.com/DataDog/datadog-agent/internal/third_party/kubernetes/pkg/kubelet/cri/remote/util
-github.com/DataDog/datadog-agent/pkg/clusteragent/autoscaling/custommetrics
-github.com/DataDog/datadog-agent/pkg/sbom
-github.com/DataDog/datadog-agent/pkg/sbom/collectors
-github.com/DataDog/datadog-agent/pkg/sbom/scanner
-github.com/DataDog/datadog-agent/pkg/sbom/telemetry
-github.com/DataDog/datadog-agent/pkg/sbom/types
-github.com/DataDog/datadog-agent/pkg/util/containerd
-github.com/DataDog/datadog-agent/pkg/util/containers/cri
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/containerd
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/cri
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/docker
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/ecsfargate
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/kubelet
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/provider
-github.com/DataDog/datadog-agent/pkg/util/containers/metrics/system
-github.com/DataDog/datadog-agent/pkg/util/crio
-github.com/DataDog/datadog-agent/pkg/util/ecs
-github.com/DataDog/datadog-agent/pkg/util/ecs/common
-github.com/DataDog/datadog-agent/pkg/util/ecs/metadata
-github.com/DataDog/datadog-agent/pkg/util/ecs/metadata/v1
-github.com/DataDog/datadog-agent/pkg/util/ecs/metadata/v2
-github.com/DataDog/datadog-agent/pkg/util/ecs/metadata/v3or4
-github.com/DataDog/datadog-agent/pkg/util/ecs/telemetry
-github.com/DataDog/datadog-agent/pkg/util/gpu
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/controllers
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection/metrics
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/autoscalers
-github.com/DataDog/datadog-agent/pkg/util/workqueue/telemetry
-github.com/Microsoft/go-winio/backuptar
-github.com/Microsoft/go-winio/pkg/bindfilter
-github.com/Microsoft/go-winio/vhd
-github.com/Microsoft/hcsshim
-github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/stats
-github.com/Microsoft/hcsshim/computestorage
-github.com/Microsoft/hcsshim/internal/cow
-github.com/Microsoft/hcsshim/internal/hcs
-github.com/Microsoft/hcsshim/internal/hcs/schema1
-github.com/Microsoft/hcsshim/internal/hcs/schema2
-github.com/Microsoft/hcsshim/internal/hcserror
-github.com/Microsoft/hcsshim/internal/hns
-github.com/Microsoft/hcsshim/internal/interop
-github.com/Microsoft/hcsshim/internal/jobobject
-github.com/Microsoft/hcsshim/internal/log
-github.com/Microsoft/hcsshim/internal/logfields
-github.com/Microsoft/hcsshim/internal/longpath
-github.com/Microsoft/hcsshim/internal/memory
-github.com/Microsoft/hcsshim/internal/mergemaps
-github.com/Microsoft/hcsshim/internal/oc
-github.com/Microsoft/hcsshim/internal/protocol/guestrequest
-github.com/Microsoft/hcsshim/internal/queue
-github.com/Microsoft/hcsshim/internal/safefile
-github.com/Microsoft/hcsshim/internal/security
-github.com/Microsoft/hcsshim/internal/timeout
-github.com/Microsoft/hcsshim/internal/vmcompute
-github.com/Microsoft/hcsshim/internal/wclayer
-github.com/Microsoft/hcsshim/internal/winapi
-github.com/Microsoft/hcsshim/osversion
-github.com/Microsoft/hcsshim/pkg/ociwclayer
-github.com/blang/semver/v4
-github.com/containerd/cgroups/v3/cgroup1/stats
-github.com/containerd/containerd
-github.com/containerd/containerd/api/events
-github.com/containerd/containerd/api/runtime/sandbox/v1
-github.com/containerd/containerd/api/services/containers/v1
-github.com/containerd/containerd/api/services/content/v1
-github.com/containerd/containerd/api/services/diff/v1
-github.com/containerd/containerd/api/services/events/v1
-github.com/containerd/containerd/api/services/images/v1
-github.com/containerd/containerd/api/services/introspection/v1
-github.com/containerd/containerd/api/services/leases/v1
-github.com/containerd/containerd/api/services/namespaces/v1
-github.com/containerd/containerd/api/services/sandbox/v1
-github.com/containerd/containerd/api/services/snapshots/v1
-github.com/containerd/containerd/api/services/streaming/v1
-github.com/containerd/containerd/api/services/tasks/v1
-github.com/containerd/containerd/api/services/transfer/v1
-github.com/containerd/containerd/api/services/version/v1
-github.com/containerd/containerd/api/types
-github.com/containerd/containerd/api/types/task
-github.com/containerd/containerd/api/types/transfer
-github.com/containerd/containerd/archive
-github.com/containerd/containerd/archive/compression
-github.com/containerd/containerd/archive/tarheader
-github.com/containerd/containerd/cio
-github.com/containerd/containerd/containers
-github.com/containerd/containerd/content
-github.com/containerd/containerd/content/proxy
-github.com/containerd/containerd/defaults
-github.com/containerd/containerd/diff
-github.com/containerd/containerd/diff/proxy
-github.com/containerd/containerd/errdefs
-github.com/containerd/containerd/events
-github.com/containerd/containerd/events/exchange
-github.com/containerd/containerd/filters
-github.com/containerd/containerd/identifiers
-github.com/containerd/containerd/images
-github.com/containerd/containerd/images/archive
-github.com/containerd/containerd/labels
-github.com/containerd/containerd/leases
-github.com/containerd/containerd/leases/proxy
-github.com/containerd/containerd/mount
-github.com/containerd/containerd/namespaces
-github.com/containerd/containerd/oci
-github.com/containerd/containerd/pkg/cleanup
-github.com/containerd/containerd/pkg/deprecation
-github.com/containerd/containerd/pkg/dialer
-github.com/containerd/containerd/pkg/epoch
-github.com/containerd/containerd/pkg/kmutex
-github.com/containerd/containerd/pkg/randutil
-github.com/containerd/containerd/pkg/streaming
-github.com/containerd/containerd/pkg/transfer
-github.com/containerd/containerd/pkg/transfer/proxy
-github.com/containerd/containerd/pkg/transfer/streaming
-github.com/containerd/containerd/pkg/unpack
-github.com/containerd/containerd/plugin
-github.com/containerd/containerd/protobuf
-github.com/containerd/containerd/protobuf/proto
-github.com/containerd/containerd/protobuf/types
-github.com/containerd/containerd/reference
-github.com/containerd/containerd/remotes
-github.com/containerd/containerd/remotes/docker
-github.com/containerd/containerd/remotes/docker/auth
-github.com/containerd/containerd/remotes/docker/schema1
-github.com/containerd/containerd/remotes/errors
-github.com/containerd/containerd/rootfs
-github.com/containerd/containerd/runtime/linux/runctypes
-github.com/containerd/containerd/runtime/restart
-github.com/containerd/containerd/runtime/v2/runc/options
-github.com/containerd/containerd/sandbox
-github.com/containerd/containerd/sandbox/proxy
-github.com/containerd/containerd/services
-github.com/containerd/containerd/services/introspection
-github.com/containerd/containerd/services/warning
-github.com/containerd/containerd/snapshots
-github.com/containerd/containerd/snapshots/proxy
-github.com/containerd/containerd/tracing
-github.com/containerd/containerd/version
-github.com/containerd/continuity/fs
-github.com/containerd/errdefs
-github.com/containerd/errdefs/pkg/errgrpc
-github.com/containerd/errdefs/pkg/internal/cause
-github.com/containerd/errdefs/pkg/internal/types
-github.com/containerd/fifo
-github.com/containerd/log
-github.com/containerd/platforms
-github.com/containerd/ttrpc
-github.com/containerd/typeurl/v2
-github.com/docker/go-events
-github.com/golang/groupcache/lru
-github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule
-github.com/grpc-ecosystem/grpc-gateway/v2/runtime
-github.com/grpc-ecosystem/grpc-gateway/v2/utilities
-github.com/hashicorp/go-version
-github.com/moby/locker
-github.com/moby/sys/mountinfo
-github.com/moby/sys/sequential
-github.com/moby/sys/signal
-github.com/moby/sys/user
-github.com/moby/sys/userns
-github.com/opencontainers/image-spec/identity
-github.com/opencontainers/runtime-spec/specs-go
-github.com/opencontainers/selinux/go-selinux
-github.com/opencontainers/selinux/go-selinux/label
-github.com/sirupsen/logrus
-go.opencensus.io
-go.opencensus.io/internal
-go.opencensus.io/trace
-go.opencensus.io/trace/internal
-go.opencensus.io/trace/tracestate
-go.opentelemetry.io/otel/exporters/otlp/otlptrace
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry
-go.opentelemetry.io/otel/sdk
-go.opentelemetry.io/otel/sdk/instrumentation
-go.opentelemetry.io/otel/sdk/internal/env
-go.opentelemetry.io/otel/sdk/internal/x
-go.opentelemetry.io/otel/sdk/resource
-go.opentelemetry.io/otel/sdk/trace
-go.opentelemetry.io/otel/semconv/v1.17.0
-go.opentelemetry.io/otel/semconv/v1.21.0
-go.opentelemetry.io/otel/trace/noop
-go.opentelemetry.io/proto/otlp/collector/trace/v1
-go.opentelemetry.io/proto/otlp/common/v1
-go.opentelemetry.io/proto/otlp/resource/v1
-go.opentelemetry.io/proto/otlp/trace/v1
-golang.org/x/sync/semaphore
-google.golang.org/genproto/googleapis/rpc/code
-google.golang.org/genproto/googleapis/rpc/errdetails
-google.golang.org/grpc/encoding/gzip
-google.golang.org/grpc/health/grpc_health_v1
-google.golang.org/protobuf/types/known/structpb
-gopkg.in/zorkian/go-datadog-api.v2
-k8s.io/apimachinery/pkg/api/validation/path
-k8s.io/apimachinery/pkg/util/mergepatch
-k8s.io/apimachinery/pkg/util/rand
-k8s.io/apimachinery/pkg/util/strategicpatch
-k8s.io/apimachinery/pkg/util/uuid
-k8s.io/apimachinery/pkg/util/version
-k8s.io/apimachinery/third_party/forked/golang/json
-k8s.io/apiserver/pkg/admission
-k8s.io/apiserver/pkg/apis/apiserver
-k8s.io/apiserver/pkg/apis/apiserver/v1
-k8s.io/apiserver/pkg/apis/audit
-k8s.io/apiserver/pkg/apis/audit/v1
-k8s.io/apiserver/pkg/audit
-k8s.io/apiserver/pkg/authentication/user
-k8s.io/apiserver/pkg/authorization/authorizer
-k8s.io/apiserver/pkg/endpoints/discovery
-k8s.io/apiserver/pkg/endpoints/handlers/negotiation
-k8s.io/apiserver/pkg/endpoints/handlers/responsewriters
-k8s.io/apiserver/pkg/endpoints/metrics
-k8s.io/apiserver/pkg/endpoints/request
-k8s.io/apiserver/pkg/endpoints/responsewriter
-k8s.io/apiserver/pkg/features
-k8s.io/apiserver/pkg/registry/rest
-k8s.io/apiserver/pkg/storage
-k8s.io/apiserver/pkg/storage/names
-k8s.io/apiserver/pkg/util/feature
-k8s.io/apiserver/pkg/util/flushwriter
-k8s.io/apiserver/pkg/warning
-k8s.io/client-go/tools/internal/events
-k8s.io/client-go/tools/record
-k8s.io/client-go/tools/record/util
-k8s.io/component-base/featuregate
-k8s.io/component-base/metrics
-k8s.io/component-base/metrics/legacyregistry
-k8s.io/component-base/metrics/prometheus/feature
-k8s.io/component-base/metrics/prometheusextension
-k8s.io/component-base/tracing
-k8s.io/component-base/tracing/api/v1
-k8s.io/component-base/version
-k8s.io/cri-api/pkg/apis/runtime/v1
-k8s.io/metrics/pkg/apis/custom_metrics
-k8s.io/metrics/pkg/apis/external_metrics
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider
-sigs.k8s.io/custom-metrics-apiserver/pkg/provider/defaults

@paulcacheux paulcacheux added the qa/done QA done before merge and regressions are covered by tests label Dec 11, 2024
@paulcacheux paulcacheux marked this pull request as ready for review December 11, 2024 12:51
@paulcacheux paulcacheux requested review from a team as code owners December 11, 2024 12:51
Copy link
Contributor

@gabedos gabedos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. just small comment change

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 11, 2024

Package size comparison

Comparison with ancestor 623bea046b6c811266d986ae1329b584f107e13a

Diff per package
package diff status size ancestor threshold
datadog-agent-amd64-deb -0.00MB 1271.28MB 1271.29MB 140.00MB
datadog-iot-agent-amd64-deb 0.00MB 113.21MB 113.21MB 10.00MB
datadog-dogstatsd-amd64-deb 0.00MB 78.32MB 78.32MB 10.00MB
datadog-heroku-agent-amd64-deb 0.00MB 526.44MB 526.44MB 70.00MB
datadog-agent-x86_64-rpm -0.00MB 1280.52MB 1280.52MB 140.00MB
datadog-agent-x86_64-suse -0.00MB 1280.52MB 1280.52MB 140.00MB
datadog-iot-agent-x86_64-rpm 0.00MB ⚠️ 113.28MB 113.28MB 10.00MB
datadog-iot-agent-x86_64-suse 0.00MB ⚠️ 113.27MB 113.27MB 10.00MB
datadog-dogstatsd-x86_64-rpm 0.00MB 78.40MB 78.40MB 10.00MB
datadog-dogstatsd-x86_64-suse 0.00MB 78.40MB 78.40MB 10.00MB
datadog-agent-arm64-deb 0.00MB 1005.44MB 1005.44MB 140.00MB
datadog-iot-agent-arm64-deb 0.00MB ⚠️ 108.70MB 108.70MB 10.00MB
datadog-dogstatsd-arm64-deb 0.00MB 55.59MB 55.59MB 10.00MB
datadog-agent-aarch64-rpm 0.00MB 1014.66MB 1014.66MB 140.00MB
datadog-iot-agent-aarch64-rpm 0.00MB ⚠️ 108.77MB 108.77MB 10.00MB

Decision

⚠️ Warning

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 11, 2024

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv aws.create-vm --pipeline-id=50828497 --os-family=ubuntu

Note: This applies to commit f736348

@paulcacheux
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Dec 11, 2024

Devflow running: /merge

View all feedbacks in Devflow UI.


2024-12-11 13:24:18 UTC ℹ️ MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2024-12-11 14:19:24 UTC ℹ️ MergeQueue: merge request added to the queue

The median merge time in main is 24m.


2024-12-11 14:24:20 UTC ℹ️ MergeQueue: Retrying because previous merge request failed


2024-12-11 14:57:32 UTC ℹ️ MergeQueue: This merge request was merged

Copy link

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 6697a4c3-67a9-4b8e-b31e-cfa0010fdb98

Baseline: 623bea0
Comparison: f736348
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
quality_gate_idle_all_features memory utilization +0.88 [+0.76, +1.00] 1 Logs bounds checks dashboard
file_tree memory utilization +0.67 [+0.55, +0.79] 1 Logs
tcp_syslog_to_blackhole ingress throughput +0.61 [+0.56, +0.67] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.26 [-0.53, +1.06] 1 Logs
file_to_blackhole_0ms_latency_http1 egress throughput +0.00 [-0.86, +0.87] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput -0.00 [-0.01, +0.01] 1 Logs
file_to_blackhole_0ms_latency_http2 egress throughput -0.00 [-0.84, +0.84] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.00 [-0.86, +0.86] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.01 [-0.12, +0.11] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.06 [-0.78, +0.66] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.06 [-0.83, +0.70] 1 Logs
otel_to_otel_logs ingress throughput -0.06 [-0.73, +0.61] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput -0.11 [-0.58, +0.35] 1 Logs
file_to_blackhole_300ms_latency egress throughput -0.12 [-0.75, +0.51] 1 Logs
quality_gate_idle memory utilization -0.20 [-0.24, -0.16] 1 Logs bounds checks dashboard
quality_gate_logs % cpu utilization -0.84 [-3.75, +2.08] 1 Logs
uds_dogstatsd_to_api_cpu % cpu utilization -2.51 [-3.24, -1.79] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed links
file_to_blackhole_0ms_latency lost_bytes 10/10
file_to_blackhole_0ms_latency memory_usage 10/10
file_to_blackhole_0ms_latency_http1 lost_bytes 10/10
file_to_blackhole_0ms_latency_http1 memory_usage 10/10
file_to_blackhole_0ms_latency_http2 lost_bytes 10/10
file_to_blackhole_0ms_latency_http2 memory_usage 10/10
file_to_blackhole_1000ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency_linear_load memory_usage 10/10
file_to_blackhole_100ms_latency lost_bytes 10/10
file_to_blackhole_100ms_latency memory_usage 10/10
file_to_blackhole_300ms_latency lost_bytes 10/10
file_to_blackhole_300ms_latency memory_usage 10/10
file_to_blackhole_500ms_latency lost_bytes 10/10
file_to_blackhole_500ms_latency memory_usage 10/10
quality_gate_idle memory_usage 10/10 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard
quality_gate_logs lost_bytes 10/10
quality_gate_logs memory_usage 10/10

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.

@dd-mergequeue dd-mergequeue bot merged commit 91dc636 into main Dec 11, 2024
305 of 313 checks passed
@dd-mergequeue dd-mergequeue bot deleted the paulcacheux/remote-wm-catalog branch December 11, 2024 14:57
@github-actions github-actions bot added this to the 7.62.0 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog component/system-probe medium review PR review might take time qa/done QA done before merge and regressions are covered by tests team/agent-security team/container-platform The Container Platform Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants