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

[ASCII-145] Extract render subpackge from status #20776

Merged
merged 8 commits into from
Nov 20, 2023

Conversation

GustavoCaso
Copy link
Member

@GustavoCaso GustavoCaso commented Nov 10, 2023

What does this PR do?

The PR uses the work from this PR as the base.

The main takeaways from this PR are:

  • Extracted the rendering functionality to a sub-package with the pkg/status package. pkg/status/render (Probably the name could be change to pkg/status/format
  • On the package that was importing the entire status package only for the formatting functions, we no longer have to do it. They can import the status/render package. The result is less packages are imported
  • The last commit modified the check <check name> subcommand, so it no longer import the entire status package, but rather just status/collector and status/render 🎉

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

The output of the status commands works as expected.

Normal agent

  • agent status
  • agent check [checkName]
  • agent launch-gui
  • agent flare [caseID]

Cluster agent

  • agent status
  • agent metamap [nodeName]
  • agent flare [caseID]

Process agent

  • /opt/datadog-agent/embedded/bin/process-agent status

Security Agent

  • agent status

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Changed code has automated tests for its functionality.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.
  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.
  • If applicable, the need-change/operator and need-change/helm labels have been applied.
  • If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
  • If applicable, the config template has been updated.

Copy link
Contributor

@dustmop dustmop left a comment

Choose a reason for hiding this comment

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

LGTM, with one suggestion

pkg/status/render/helpers.go Outdated Show resolved Hide resolved
@GustavoCaso GustavoCaso force-pushed the extract-render-subpackge-from-status branch from c6c0cdc to 48453eb Compare November 13, 2023 10:36
Copy link

cit-pr-commenter bot commented Nov 13, 2023

Go Package Import Differences

Baseline: a2ef092
Comparison: 7d61e71

binaryosarchchange
agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
agentwindowsamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
agentwindows386
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
agentdarwinamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
agentdarwinarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
iot-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
iot-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
heroku-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
cluster-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
cluster-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
cluster-agent-cloudfoundrylinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
cluster-agent-cloudfoundrylinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
process-agentlinuxamd64
+1, -169
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/internal/third_party/client-go/tools/leaderelection/resourcelock
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/common
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/secret
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/webhook
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/metrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/mutate
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics/model
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/corechecks
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/docker
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/generic
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-github.com/DataDog/datadog-agent/pkg/security/common/containerutils
-github.com/DataDog/datadog-agent/pkg/security/config
-github.com/DataDog/datadog-agent/pkg/security/ebpf
-github.com/DataDog/datadog-agent/pkg/security/ebpf/kernel
-github.com/DataDog/datadog-agent/pkg/security/ebpf/probes
-github.com/DataDog/datadog-agent/pkg/security/probe/config
-github.com/DataDog/datadog-agent/pkg/security/probe/kfilters
-github.com/DataDog/datadog-agent/pkg/security/probe/managerhelper
-github.com/DataDog/datadog-agent/pkg/security/proto/api
-github.com/DataDog/datadog-agent/pkg/security/resolvers/usersessions
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/ast
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/eval
-github.com/DataDog/datadog-agent/pkg/security/secl/log
-github.com/DataDog/datadog-agent/pkg/security/secl/model
-github.com/DataDog/datadog-agent/pkg/security/secl/model/usersession
-github.com/DataDog/datadog-agent/pkg/security/secl/rules
-github.com/DataDog/datadog-agent/pkg/security/secl/validators
-github.com/DataDog/datadog-agent/pkg/security/seclog
-github.com/DataDog/datadog-agent/pkg/security/utils
-github.com/DataDog/datadog-agent/pkg/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/executable
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/certificate
-github.com/DataDog/datadog-operator/apis/datadoghq/common
-github.com/DataDog/datadog-operator/apis/datadoghq/common/v1
-github.com/DataDog/datadog-operator/apis/datadoghq/v1alpha1
-github.com/DataDog/datadog-operator/apis/datadoghq/v2alpha1
-github.com/DataDog/datadog-operator/apis/utils
-github.com/DataDog/datadog-operator/pkg/defaulting
-github.com/DataDog/datadog-operator/pkg/utils
-github.com/DataDog/ebpf-manager
-github.com/DataDog/ebpf-manager/internal
-github.com/DataDog/ebpf-manager/tracefs
-github.com/DataDog/extendeddaemonset/api/v1alpha1
-github.com/Masterminds/semver/v3
-github.com/alecthomas/participle
-github.com/alecthomas/participle/lexer
-github.com/alecthomas/participle/lexer/ebnf
-github.com/alecthomas/participle/lexer/ebnf/internal
-github.com/armon/go-metrics
-github.com/bhmj/jsonslice
-github.com/cilium/ebpf/internal/epoll
-github.com/cilium/ebpf/link
-github.com/cilium/ebpf/perf
-github.com/cilium/ebpf/ringbuf
-github.com/coreos/go-semver/semver
-github.com/evanphx/json-patch/v5
-github.com/go-ini/ini
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/golang-lru/v2
-github.com/hashicorp/golang-lru/v2/internal
-github.com/hashicorp/golang-lru/v2/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/kardianos/osext
-github.com/mailru/easyjson
-github.com/openshift/api/security/v1
-github.com/samuel/go-zookeeper/zk
-github.com/skydive-project/go-debouncer
-github.com/wI2L/jsondiff
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-golang.org/x/mod/semver
-gomodules.xyz/jsonpatch/v2
-hash/maphash
-k8s.io/api/admission/v1
-k8s.io/api/admission/v1beta1
-k8s.io/client-go/metadata
-k8s.io/client-go/restmapper
-k8s.io/client-go/tools/leaderelection
-k8s.io/client-go/tools/leaderelection/resourcelock
-k8s.io/component-base/config
-k8s.io/component-base/config/v1alpha1
-sigs.k8s.io/controller-runtime
-sigs.k8s.io/controller-runtime/pkg/builder
-sigs.k8s.io/controller-runtime/pkg/cache
-sigs.k8s.io/controller-runtime/pkg/cache/internal
-sigs.k8s.io/controller-runtime/pkg/certwatcher
-sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics
-sigs.k8s.io/controller-runtime/pkg/client
-sigs.k8s.io/controller-runtime/pkg/client/apiutil
-sigs.k8s.io/controller-runtime/pkg/client/config
-sigs.k8s.io/controller-runtime/pkg/cluster
-sigs.k8s.io/controller-runtime/pkg/config
-sigs.k8s.io/controller-runtime/pkg/config/v1alpha1
-sigs.k8s.io/controller-runtime/pkg/controller
-sigs.k8s.io/controller-runtime/pkg/controller/controllerutil
-sigs.k8s.io/controller-runtime/pkg/conversion
-sigs.k8s.io/controller-runtime/pkg/event
-sigs.k8s.io/controller-runtime/pkg/handler
-sigs.k8s.io/controller-runtime/pkg/healthz
-sigs.k8s.io/controller-runtime/pkg/internal/controller
-sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics
-sigs.k8s.io/controller-runtime/pkg/internal/field/selector
-sigs.k8s.io/controller-runtime/pkg/internal/httpserver
-sigs.k8s.io/controller-runtime/pkg/internal/log
-sigs.k8s.io/controller-runtime/pkg/internal/recorder
-sigs.k8s.io/controller-runtime/pkg/internal/source
-sigs.k8s.io/controller-runtime/pkg/leaderelection
-sigs.k8s.io/controller-runtime/pkg/log
-sigs.k8s.io/controller-runtime/pkg/manager
-sigs.k8s.io/controller-runtime/pkg/manager/signals
-sigs.k8s.io/controller-runtime/pkg/metrics
-sigs.k8s.io/controller-runtime/pkg/predicate
-sigs.k8s.io/controller-runtime/pkg/ratelimiter
-sigs.k8s.io/controller-runtime/pkg/reconcile
-sigs.k8s.io/controller-runtime/pkg/recorder
-sigs.k8s.io/controller-runtime/pkg/source
-sigs.k8s.io/controller-runtime/pkg/webhook
-sigs.k8s.io/controller-runtime/pkg/webhook/admission
-sigs.k8s.io/controller-runtime/pkg/webhook/conversion
-sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
-text/scanner
process-agentlinuxarm64
+1, -169
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/internal/third_party/client-go/tools/leaderelection/resourcelock
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/common
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/secret
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/webhook
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/metrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/mutate
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics/model
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/corechecks
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/docker
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/generic
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-github.com/DataDog/datadog-agent/pkg/security/common/containerutils
-github.com/DataDog/datadog-agent/pkg/security/config
-github.com/DataDog/datadog-agent/pkg/security/ebpf
-github.com/DataDog/datadog-agent/pkg/security/ebpf/kernel
-github.com/DataDog/datadog-agent/pkg/security/ebpf/probes
-github.com/DataDog/datadog-agent/pkg/security/probe/config
-github.com/DataDog/datadog-agent/pkg/security/probe/kfilters
-github.com/DataDog/datadog-agent/pkg/security/probe/managerhelper
-github.com/DataDog/datadog-agent/pkg/security/proto/api
-github.com/DataDog/datadog-agent/pkg/security/resolvers/usersessions
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/ast
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/eval
-github.com/DataDog/datadog-agent/pkg/security/secl/log
-github.com/DataDog/datadog-agent/pkg/security/secl/model
-github.com/DataDog/datadog-agent/pkg/security/secl/model/usersession
-github.com/DataDog/datadog-agent/pkg/security/secl/rules
-github.com/DataDog/datadog-agent/pkg/security/secl/validators
-github.com/DataDog/datadog-agent/pkg/security/seclog
-github.com/DataDog/datadog-agent/pkg/security/utils
-github.com/DataDog/datadog-agent/pkg/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/executable
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/certificate
-github.com/DataDog/datadog-operator/apis/datadoghq/common
-github.com/DataDog/datadog-operator/apis/datadoghq/common/v1
-github.com/DataDog/datadog-operator/apis/datadoghq/v1alpha1
-github.com/DataDog/datadog-operator/apis/datadoghq/v2alpha1
-github.com/DataDog/datadog-operator/apis/utils
-github.com/DataDog/datadog-operator/pkg/defaulting
-github.com/DataDog/datadog-operator/pkg/utils
-github.com/DataDog/ebpf-manager
-github.com/DataDog/ebpf-manager/internal
-github.com/DataDog/ebpf-manager/tracefs
-github.com/DataDog/extendeddaemonset/api/v1alpha1
-github.com/Masterminds/semver/v3
-github.com/alecthomas/participle
-github.com/alecthomas/participle/lexer
-github.com/alecthomas/participle/lexer/ebnf
-github.com/alecthomas/participle/lexer/ebnf/internal
-github.com/armon/go-metrics
-github.com/bhmj/jsonslice
-github.com/cilium/ebpf/internal/epoll
-github.com/cilium/ebpf/link
-github.com/cilium/ebpf/perf
-github.com/cilium/ebpf/ringbuf
-github.com/coreos/go-semver/semver
-github.com/evanphx/json-patch/v5
-github.com/go-ini/ini
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/golang-lru/v2
-github.com/hashicorp/golang-lru/v2/internal
-github.com/hashicorp/golang-lru/v2/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/kardianos/osext
-github.com/mailru/easyjson
-github.com/openshift/api/security/v1
-github.com/samuel/go-zookeeper/zk
-github.com/skydive-project/go-debouncer
-github.com/wI2L/jsondiff
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-golang.org/x/mod/semver
-gomodules.xyz/jsonpatch/v2
-hash/maphash
-k8s.io/api/admission/v1
-k8s.io/api/admission/v1beta1
-k8s.io/client-go/metadata
-k8s.io/client-go/restmapper
-k8s.io/client-go/tools/leaderelection
-k8s.io/client-go/tools/leaderelection/resourcelock
-k8s.io/component-base/config
-k8s.io/component-base/config/v1alpha1
-sigs.k8s.io/controller-runtime
-sigs.k8s.io/controller-runtime/pkg/builder
-sigs.k8s.io/controller-runtime/pkg/cache
-sigs.k8s.io/controller-runtime/pkg/cache/internal
-sigs.k8s.io/controller-runtime/pkg/certwatcher
-sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics
-sigs.k8s.io/controller-runtime/pkg/client
-sigs.k8s.io/controller-runtime/pkg/client/apiutil
-sigs.k8s.io/controller-runtime/pkg/client/config
-sigs.k8s.io/controller-runtime/pkg/cluster
-sigs.k8s.io/controller-runtime/pkg/config
-sigs.k8s.io/controller-runtime/pkg/config/v1alpha1
-sigs.k8s.io/controller-runtime/pkg/controller
-sigs.k8s.io/controller-runtime/pkg/controller/controllerutil
-sigs.k8s.io/controller-runtime/pkg/conversion
-sigs.k8s.io/controller-runtime/pkg/event
-sigs.k8s.io/controller-runtime/pkg/handler
-sigs.k8s.io/controller-runtime/pkg/healthz
-sigs.k8s.io/controller-runtime/pkg/internal/controller
-sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics
-sigs.k8s.io/controller-runtime/pkg/internal/field/selector
-sigs.k8s.io/controller-runtime/pkg/internal/httpserver
-sigs.k8s.io/controller-runtime/pkg/internal/log
-sigs.k8s.io/controller-runtime/pkg/internal/recorder
-sigs.k8s.io/controller-runtime/pkg/internal/source
-sigs.k8s.io/controller-runtime/pkg/leaderelection
-sigs.k8s.io/controller-runtime/pkg/log
-sigs.k8s.io/controller-runtime/pkg/manager
-sigs.k8s.io/controller-runtime/pkg/manager/signals
-sigs.k8s.io/controller-runtime/pkg/metrics
-sigs.k8s.io/controller-runtime/pkg/predicate
-sigs.k8s.io/controller-runtime/pkg/ratelimiter
-sigs.k8s.io/controller-runtime/pkg/reconcile
-sigs.k8s.io/controller-runtime/pkg/recorder
-sigs.k8s.io/controller-runtime/pkg/source
-sigs.k8s.io/controller-runtime/pkg/webhook
-sigs.k8s.io/controller-runtime/pkg/webhook/admission
-sigs.k8s.io/controller-runtime/pkg/webhook/conversion
-sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
-text/scanner
process-agentwindowsamd64
+1, -157
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/internal/third_party/client-go/tools/leaderelection/resourcelock
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/common
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/secret
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/webhook
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/metrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/mutate
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics/model
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/corechecks
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/docker
-github.com/DataDog/datadog-agent/pkg/collector/corechecks/containers/generic
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-github.com/DataDog/datadog-agent/pkg/security/config
-github.com/DataDog/datadog-agent/pkg/security/probe/config
-github.com/DataDog/datadog-agent/pkg/security/probe/kfilters
-github.com/DataDog/datadog-agent/pkg/security/proto/api
-github.com/DataDog/datadog-agent/pkg/security/resolvers/usersessions
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/ast
-github.com/DataDog/datadog-agent/pkg/security/secl/compiler/eval
-github.com/DataDog/datadog-agent/pkg/security/secl/log
-github.com/DataDog/datadog-agent/pkg/security/secl/model
-github.com/DataDog/datadog-agent/pkg/security/secl/model/usersession
-github.com/DataDog/datadog-agent/pkg/security/secl/rules
-github.com/DataDog/datadog-agent/pkg/security/secl/validators
-github.com/DataDog/datadog-agent/pkg/security/seclog
-github.com/DataDog/datadog-agent/pkg/security/utils
-github.com/DataDog/datadog-agent/pkg/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/certificate
-github.com/DataDog/datadog-operator/apis/datadoghq/common
-github.com/DataDog/datadog-operator/apis/datadoghq/common/v1
-github.com/DataDog/datadog-operator/apis/datadoghq/v1alpha1
-github.com/DataDog/datadog-operator/apis/datadoghq/v2alpha1
-github.com/DataDog/datadog-operator/apis/utils
-github.com/DataDog/datadog-operator/pkg/defaulting
-github.com/DataDog/datadog-operator/pkg/utils
-github.com/DataDog/extendeddaemonset/api/v1alpha1
-github.com/Masterminds/semver/v3
-github.com/alecthomas/participle
-github.com/alecthomas/participle/lexer
-github.com/alecthomas/participle/lexer/ebnf
-github.com/alecthomas/participle/lexer/ebnf/internal
-github.com/armon/go-metrics
-github.com/avast/retry-go/v4
-github.com/bhmj/jsonslice
-github.com/coreos/go-semver/semver
-github.com/evanphx/json-patch/v5
-github.com/go-ini/ini
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/golang-lru/v2
-github.com/hashicorp/golang-lru/v2/internal
-github.com/hashicorp/golang-lru/v2/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/mailru/easyjson
-github.com/openshift/api/security/v1
-github.com/samuel/go-zookeeper/zk
-github.com/skydive-project/go-debouncer
-github.com/wI2L/jsondiff
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-golang.org/x/exp/slices
-golang.org/x/mod/semver
-gomodules.xyz/jsonpatch/v2
-hash/maphash
-k8s.io/api/admission/v1
-k8s.io/api/admission/v1beta1
-k8s.io/client-go/metadata
-k8s.io/client-go/restmapper
-k8s.io/client-go/tools/leaderelection
-k8s.io/client-go/tools/leaderelection/resourcelock
-k8s.io/component-base/config
-k8s.io/component-base/config/v1alpha1
-sigs.k8s.io/controller-runtime
-sigs.k8s.io/controller-runtime/pkg/builder
-sigs.k8s.io/controller-runtime/pkg/cache
-sigs.k8s.io/controller-runtime/pkg/cache/internal
-sigs.k8s.io/controller-runtime/pkg/certwatcher
-sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics
-sigs.k8s.io/controller-runtime/pkg/client
-sigs.k8s.io/controller-runtime/pkg/client/apiutil
-sigs.k8s.io/controller-runtime/pkg/client/config
-sigs.k8s.io/controller-runtime/pkg/cluster
-sigs.k8s.io/controller-runtime/pkg/config
-sigs.k8s.io/controller-runtime/pkg/config/v1alpha1
-sigs.k8s.io/controller-runtime/pkg/controller
-sigs.k8s.io/controller-runtime/pkg/controller/controllerutil
-sigs.k8s.io/controller-runtime/pkg/conversion
-sigs.k8s.io/controller-runtime/pkg/event
-sigs.k8s.io/controller-runtime/pkg/handler
-sigs.k8s.io/controller-runtime/pkg/healthz
-sigs.k8s.io/controller-runtime/pkg/internal/controller
-sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics
-sigs.k8s.io/controller-runtime/pkg/internal/field/selector
-sigs.k8s.io/controller-runtime/pkg/internal/httpserver
-sigs.k8s.io/controller-runtime/pkg/internal/log
-sigs.k8s.io/controller-runtime/pkg/internal/recorder
-sigs.k8s.io/controller-runtime/pkg/internal/source
-sigs.k8s.io/controller-runtime/pkg/leaderelection
-sigs.k8s.io/controller-runtime/pkg/log
-sigs.k8s.io/controller-runtime/pkg/manager
-sigs.k8s.io/controller-runtime/pkg/manager/signals
-sigs.k8s.io/controller-runtime/pkg/metrics
-sigs.k8s.io/controller-runtime/pkg/predicate
-sigs.k8s.io/controller-runtime/pkg/ratelimiter
-sigs.k8s.io/controller-runtime/pkg/reconcile
-sigs.k8s.io/controller-runtime/pkg/recorder
-sigs.k8s.io/controller-runtime/pkg/source
-sigs.k8s.io/controller-runtime/pkg/webhook
-sigs.k8s.io/controller-runtime/pkg/webhook/admission
-sigs.k8s.io/controller-runtime/pkg/webhook/conversion
-sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
-text/scanner
process-agentdarwinamd64
+1, -137
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/internal/third_party/client-go/tools/leaderelection/resourcelock
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/common
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/secret
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/webhook
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/metrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/mutate
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics/model
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-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/security/resolvers/usersessions
-github.com/DataDog/datadog-agent/pkg/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/executable
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/certificate
-github.com/DataDog/datadog-operator/apis/datadoghq/common
-github.com/DataDog/datadog-operator/apis/datadoghq/common/v1
-github.com/DataDog/datadog-operator/apis/datadoghq/v1alpha1
-github.com/DataDog/datadog-operator/apis/datadoghq/v2alpha1
-github.com/DataDog/datadog-operator/apis/utils
-github.com/DataDog/datadog-operator/pkg/defaulting
-github.com/DataDog/datadog-operator/pkg/utils
-github.com/DataDog/extendeddaemonset/api/v1alpha1
-github.com/Masterminds/semver/v3
-github.com/armon/go-metrics
-github.com/bhmj/jsonslice
-github.com/coreos/go-semver/semver
-github.com/evanphx/json-patch/v5
-github.com/go-ini/ini
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/kardianos/osext
-github.com/mitchellh/go-homedir
-github.com/openshift/api/security/v1
-github.com/samuel/go-zookeeper/zk
-github.com/wI2L/jsondiff
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-golang.org/x/exp/slices
-golang.org/x/mod/semver
-gomodules.xyz/jsonpatch/v2
-hash/maphash
-k8s.io/api/admission/v1
-k8s.io/api/admission/v1beta1
-k8s.io/client-go/metadata
-k8s.io/client-go/restmapper
-k8s.io/client-go/tools/leaderelection
-k8s.io/client-go/tools/leaderelection/resourcelock
-k8s.io/component-base/config
-k8s.io/component-base/config/v1alpha1
-sigs.k8s.io/controller-runtime
-sigs.k8s.io/controller-runtime/pkg/builder
-sigs.k8s.io/controller-runtime/pkg/cache
-sigs.k8s.io/controller-runtime/pkg/cache/internal
-sigs.k8s.io/controller-runtime/pkg/certwatcher
-sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics
-sigs.k8s.io/controller-runtime/pkg/client
-sigs.k8s.io/controller-runtime/pkg/client/apiutil
-sigs.k8s.io/controller-runtime/pkg/client/config
-sigs.k8s.io/controller-runtime/pkg/cluster
-sigs.k8s.io/controller-runtime/pkg/config
-sigs.k8s.io/controller-runtime/pkg/config/v1alpha1
-sigs.k8s.io/controller-runtime/pkg/controller
-sigs.k8s.io/controller-runtime/pkg/controller/controllerutil
-sigs.k8s.io/controller-runtime/pkg/conversion
-sigs.k8s.io/controller-runtime/pkg/event
-sigs.k8s.io/controller-runtime/pkg/handler
-sigs.k8s.io/controller-runtime/pkg/healthz
-sigs.k8s.io/controller-runtime/pkg/internal/controller
-sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics
-sigs.k8s.io/controller-runtime/pkg/internal/field/selector
-sigs.k8s.io/controller-runtime/pkg/internal/httpserver
-sigs.k8s.io/controller-runtime/pkg/internal/log
-sigs.k8s.io/controller-runtime/pkg/internal/recorder
-sigs.k8s.io/controller-runtime/pkg/internal/source
-sigs.k8s.io/controller-runtime/pkg/leaderelection
-sigs.k8s.io/controller-runtime/pkg/log
-sigs.k8s.io/controller-runtime/pkg/manager
-sigs.k8s.io/controller-runtime/pkg/manager/signals
-sigs.k8s.io/controller-runtime/pkg/metrics
-sigs.k8s.io/controller-runtime/pkg/predicate
-sigs.k8s.io/controller-runtime/pkg/ratelimiter
-sigs.k8s.io/controller-runtime/pkg/reconcile
-sigs.k8s.io/controller-runtime/pkg/recorder
-sigs.k8s.io/controller-runtime/pkg/source
-sigs.k8s.io/controller-runtime/pkg/webhook
-sigs.k8s.io/controller-runtime/pkg/webhook/admission
-sigs.k8s.io/controller-runtime/pkg/webhook/conversion
-sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
process-agentdarwinarm64
+1, -137
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/internal/third_party/client-go/tools/leaderelection/resourcelock
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/common
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/secret
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/controllers/webhook
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/metrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission/mutate
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics/model
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-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/security/resolvers/usersessions
-github.com/DataDog/datadog-agent/pkg/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/executable
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/certificate
-github.com/DataDog/datadog-operator/apis/datadoghq/common
-github.com/DataDog/datadog-operator/apis/datadoghq/common/v1
-github.com/DataDog/datadog-operator/apis/datadoghq/v1alpha1
-github.com/DataDog/datadog-operator/apis/datadoghq/v2alpha1
-github.com/DataDog/datadog-operator/apis/utils
-github.com/DataDog/datadog-operator/pkg/defaulting
-github.com/DataDog/datadog-operator/pkg/utils
-github.com/DataDog/extendeddaemonset/api/v1alpha1
-github.com/Masterminds/semver/v3
-github.com/armon/go-metrics
-github.com/bhmj/jsonslice
-github.com/coreos/go-semver/semver
-github.com/evanphx/json-patch/v5
-github.com/go-ini/ini
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/kardianos/osext
-github.com/mitchellh/go-homedir
-github.com/openshift/api/security/v1
-github.com/samuel/go-zookeeper/zk
-github.com/wI2L/jsondiff
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-golang.org/x/exp/slices
-golang.org/x/mod/semver
-gomodules.xyz/jsonpatch/v2
-hash/maphash
-k8s.io/api/admission/v1
-k8s.io/api/admission/v1beta1
-k8s.io/client-go/metadata
-k8s.io/client-go/restmapper
-k8s.io/client-go/tools/leaderelection
-k8s.io/client-go/tools/leaderelection/resourcelock
-k8s.io/component-base/config
-k8s.io/component-base/config/v1alpha1
-sigs.k8s.io/controller-runtime
-sigs.k8s.io/controller-runtime/pkg/builder
-sigs.k8s.io/controller-runtime/pkg/cache
-sigs.k8s.io/controller-runtime/pkg/cache/internal
-sigs.k8s.io/controller-runtime/pkg/certwatcher
-sigs.k8s.io/controller-runtime/pkg/certwatcher/metrics
-sigs.k8s.io/controller-runtime/pkg/client
-sigs.k8s.io/controller-runtime/pkg/client/apiutil
-sigs.k8s.io/controller-runtime/pkg/client/config
-sigs.k8s.io/controller-runtime/pkg/cluster
-sigs.k8s.io/controller-runtime/pkg/config
-sigs.k8s.io/controller-runtime/pkg/config/v1alpha1
-sigs.k8s.io/controller-runtime/pkg/controller
-sigs.k8s.io/controller-runtime/pkg/controller/controllerutil
-sigs.k8s.io/controller-runtime/pkg/conversion
-sigs.k8s.io/controller-runtime/pkg/event
-sigs.k8s.io/controller-runtime/pkg/handler
-sigs.k8s.io/controller-runtime/pkg/healthz
-sigs.k8s.io/controller-runtime/pkg/internal/controller
-sigs.k8s.io/controller-runtime/pkg/internal/controller/metrics
-sigs.k8s.io/controller-runtime/pkg/internal/field/selector
-sigs.k8s.io/controller-runtime/pkg/internal/httpserver
-sigs.k8s.io/controller-runtime/pkg/internal/log
-sigs.k8s.io/controller-runtime/pkg/internal/recorder
-sigs.k8s.io/controller-runtime/pkg/internal/source
-sigs.k8s.io/controller-runtime/pkg/leaderelection
-sigs.k8s.io/controller-runtime/pkg/log
-sigs.k8s.io/controller-runtime/pkg/manager
-sigs.k8s.io/controller-runtime/pkg/manager/signals
-sigs.k8s.io/controller-runtime/pkg/metrics
-sigs.k8s.io/controller-runtime/pkg/predicate
-sigs.k8s.io/controller-runtime/pkg/ratelimiter
-sigs.k8s.io/controller-runtime/pkg/reconcile
-sigs.k8s.io/controller-runtime/pkg/recorder
-sigs.k8s.io/controller-runtime/pkg/source
-sigs.k8s.io/controller-runtime/pkg/webhook
-sigs.k8s.io/controller-runtime/pkg/webhook/admission
-sigs.k8s.io/controller-runtime/pkg/webhook/conversion
-sigs.k8s.io/controller-runtime/pkg/webhook/internal/metrics
heroku-process-agentlinuxamd64
+1, -297
-encoding/base32
-github.com/DataDog/datadog-agent/cmd/agent/common
-github.com/DataDog/datadog-agent/cmd/agent/common/path
-github.com/DataDog/datadog-agent/comp/core/flare/types
-github.com/DataDog/datadog-agent/comp/metadata/internal/util
-github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
-github.com/DataDog/datadog-agent/comp/metadata/runner
-github.com/DataDog/datadog-agent/comp/metadata/runner/runnerimpl
-github.com/DataDog/datadog-agent/comp/otelcol/collector
-github.com/DataDog/datadog-agent/pkg/autodiscovery
-github.com/DataDog/datadog-agent/pkg/autodiscovery/common/utils
-github.com/DataDog/datadog-agent/pkg/autodiscovery/configresolver
-github.com/DataDog/datadog-agent/pkg/autodiscovery/listeners
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers
-github.com/DataDog/datadog-agent/pkg/autodiscovery/providers/names
-github.com/DataDog/datadog-agent/pkg/autodiscovery/scheduler
-github.com/DataDog/datadog-agent/pkg/autodiscovery/telemetry
-github.com/DataDog/datadog-agent/pkg/clusteragent/admission
-github.com/DataDog/datadog-agent/pkg/clusteragent/api
-github.com/DataDog/datadog-agent/pkg/clusteragent/clusterchecks
-github.com/DataDog/datadog-agent/pkg/clusteragent/custommetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/externalmetrics
-github.com/DataDog/datadog-agent/pkg/clusteragent/orchestrator
-github.com/DataDog/datadog-agent/pkg/collector
-github.com/DataDog/datadog-agent/pkg/collector/internal/middleware
-github.com/DataDog/datadog-agent/pkg/collector/loaders
-github.com/DataDog/datadog-agent/pkg/collector/runner
-github.com/DataDog/datadog-agent/pkg/collector/runner/expvars
-github.com/DataDog/datadog-agent/pkg/collector/runner/tracker
-github.com/DataDog/datadog-agent/pkg/collector/scheduler
-github.com/DataDog/datadog-agent/pkg/collector/worker
-github.com/DataDog/datadog-agent/pkg/config/autodiscovery
-github.com/DataDog/datadog-agent/pkg/config/legacy
-github.com/DataDog/datadog-agent/pkg/metadata
-github.com/DataDog/datadog-agent/pkg/persistentcache
-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/snmp
-github.com/DataDog/datadog-agent/pkg/snmp/snmpintegration
-github.com/DataDog/datadog-agent/pkg/status
-github.com/DataDog/datadog-agent/pkg/status/collector
+github.com/DataDog/datadog-agent/pkg/status/render
-github.com/DataDog/datadog-agent/pkg/util/executable
-github.com/DataDog/datadog-agent/pkg/util/jsonquery
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver
-github.com/DataDog/datadog-agent/pkg/util/kubernetes/apiserver/leaderelection/metrics
-github.com/armon/go-metrics
-github.com/bhmj/jsonslice
-github.com/coreos/go-semver/semver
-github.com/emicklei/go-restful/v3
-github.com/emicklei/go-restful/v3/log
-github.com/go-ini/ini
-github.com/go-openapi/jsonpointer
-github.com/go-openapi/jsonreference
-github.com/go-openapi/jsonreference/internal
-github.com/go-openapi/swag
-github.com/google/gnostic/compiler
-github.com/google/gnostic/extensions
-github.com/google/gnostic/jsonschema
-github.com/google/gnostic/openapiv2
-github.com/google/gnostic/openapiv3
-github.com/google/go-cmp/cmp
-github.com/google/go-cmp/cmp/internal/diff
-github.com/google/go-cmp/cmp/internal/flags
-github.com/google/go-cmp/cmp/internal/function
-github.com/google/go-cmp/cmp/internal/value
-github.com/hashicorp/consul/api
-github.com/hashicorp/go-cleanhttp
-github.com/hashicorp/go-hclog
-github.com/hashicorp/go-immutable-radix
-github.com/hashicorp/go-rootcerts
-github.com/hashicorp/golang-lru/simplelru
-github.com/hashicorp/serf/coordinate
-github.com/itchyny/gojq
-github.com/itchyny/timefmt-go
-github.com/josharian/intern
-github.com/kardianos/osext
-github.com/mailru/easyjson/buffer
-github.com/mailru/easyjson/jlexer
-github.com/mailru/easyjson/jwriter
-github.com/munnerz/goautoneg
-github.com/samuel/go-zookeeper/zk
-go.etcd.io/etcd/api/v3/version
-go.etcd.io/etcd/client/pkg/v3/pathutil
-go.etcd.io/etcd/client/pkg/v3/srv
-go.etcd.io/etcd/client/pkg/v3/types
-go.etcd.io/etcd/client/v2
-k8s.io/api/admissionregistration/v1
-k8s.io/api/admissionregistration/v1alpha1
-k8s.io/api/admissionregistration/v1beta1
-k8s.io/api/apidiscovery/v2beta1
-k8s.io/api/apiserverinternal/v1alpha1
-k8s.io/api/apps/v1
-k8s.io/api/apps/v1beta1
-k8s.io/api/apps/v1beta2
-k8s.io/api/authentication/v1
-k8s.io/api/authentication/v1alpha1
-k8s.io/api/authentication/v1beta1
-k8s.io/api/authorization/v1
-k8s.io/api/authorization/v1beta1
-k8s.io/api/autoscaling/v1
-k8s.io/api/autoscaling/v2
-k8s.io/api/autoscaling/v2beta1
-k8s.io/api/autoscaling/v2beta2
-k8s.io/api/batch/v1
-k8s.io/api/batch/v1beta1
-k8s.io/api/certificates/v1
-k8s.io/api/certificates/v1alpha1
-k8s.io/api/certificates/v1beta1
-k8s.io/api/coordination/v1
-k8s.io/api/coordination/v1beta1
-k8s.io/api/discovery/v1
-k8s.io/api/discovery/v1beta1
-k8s.io/api/events/v1
-k8s.io/api/events/v1beta1
-k8s.io/api/extensions/v1beta1
-k8s.io/api/flowcontrol/v1alpha1
-k8s.io/api/flowcontrol/v1beta1
-k8s.io/api/flowcontrol/v1beta2
-k8s.io/api/flowcontrol/v1beta3
-k8s.io/api/networking/v1
-k8s.io/api/networking/v1alpha1
-k8s.io/api/networking/v1beta1
-k8s.io/api/node/v1
-k8s.io/api/node/v1alpha1
-k8s.io/api/node/v1beta1
-k8s.io/api/policy/v1
-k8s.io/api/policy/v1beta1
-k8s.io/api/rbac/v1
-k8s.io/api/rbac/v1alpha1
-k8s.io/api/rbac/v1beta1
-k8s.io/api/resource/v1alpha2
-k8s.io/api/scheduling/v1
-k8s.io/api/scheduling/v1alpha1
-k8s.io/api/scheduling/v1beta1
-k8s.io/api/storage/v1
-k8s.io/api/storage/v1alpha1
-k8s.io/api/storage/v1beta1
-k8s.io/apimachinery/pkg/api/equality
-k8s.io/apimachinery/pkg/api/errors
-k8s.io/apimachinery/pkg/api/meta
-k8s.io/apimachinery/pkg/api/validation
-k8s.io/apimachinery/pkg/apis/meta/v1/unstructured
-k8s.io/apimachinery/pkg/apis/meta/v1/validation
-k8s.io/apimachinery/pkg/runtime/serializer
-k8s.io/apimachinery/pkg/runtime/serializer/json
-k8s.io/apimachinery/pkg/runtime/serializer/protobuf
-k8s.io/apimachinery/pkg/runtime/serializer/recognizer
-k8s.io/apimachinery/pkg/runtime/serializer/streaming
-k8s.io/apimachinery/pkg/runtime/serializer/versioning
-k8s.io/apimachinery/pkg/util/framer
-k8s.io/apimachinery/pkg/util/managedfields
-k8s.io/apimachinery/pkg/util/managedfields/internal
-k8s.io/apimachinery/pkg/util/wait
-k8s.io/apimachinery/pkg/util/yaml
-k8s.io/apimachinery/pkg/version
-k8s.io/client-go/applyconfigurations/admissionregistration/v1
-k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1
-k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1
-k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1
-k8s.io/client-go/applyconfigurations/apps/v1
-k8s.io/client-go/applyconfigurations/apps/v1beta1
-k8s.io/client-go/applyconfigurations/apps/v1beta2
-k8s.io/client-go/applyconfigurations/autoscaling/v1
-k8s.io/client-go/applyconfigurations/autoscaling/v2
-k8s.io/client-go/applyconfigurations/autoscaling/v2beta1
-k8s.io/client-go/applyconfigurations/autoscaling/v2beta2
-k8s.io/client-go/applyconfigurations/batch/v1
-k8s.io/client-go/applyconfigurations/batch/v1beta1
-k8s.io/client-go/applyconfigurations/certificates/v1
-k8s.io/client-go/applyconfigurations/certificates/v1alpha1
-k8s.io/client-go/applyconfigurations/certificates/v1beta1
-k8s.io/client-go/applyconfigurations/coordination/v1
-k8s.io/client-go/applyconfigurations/coordination/v1beta1
-k8s.io/client-go/applyconfigurations/core/v1
-k8s.io/client-go/applyconfigurations/discovery/v1
-k8s.io/client-go/applyconfigurations/discovery/v1beta1
-k8s.io/client-go/applyconfigurations/events/v1
-k8s.io/client-go/applyconfigurations/events/v1beta1
-k8s.io/client-go/applyconfigurations/extensions/v1beta1
-k8s.io/client-go/applyconfigurations/flowcontrol/v1alpha1
-k8s.io/client-go/applyconfigurations/flowcontrol/v1beta1
-k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2
-k8s.io/client-go/applyconfigurations/flowcontrol/v1beta3
-k8s.io/client-go/applyconfigurations/internal
-k8s.io/client-go/applyconfigurations/meta/v1
-k8s.io/client-go/applyconfigurations/networking/v1
-k8s.io/client-go/applyconfigurations/networking/v1alpha1
-k8s.io/client-go/applyconfigurations/networking/v1beta1
-k8s.io/client-go/applyconfigurations/node/v1
-k8s.io/client-go/applyconfigurations/node/v1alpha1
-k8s.io/client-go/applyconfigurations/node/v1beta1
-k8s.io/client-go/applyconfigurations/policy/v1
-k8s.io/client-go/applyconfigurations/policy/v1beta1
-k8s.io/client-go/applyconfigurations/rbac/v1
-k8s.io/client-go/applyconfigurations/rbac/v1alpha1
-k8s.io/client-go/applyconfigurations/rbac/v1beta1
-k8s.io/client-go/applyconfigurations/resource/v1alpha2
-k8s.io/client-go/applyconfigurations/scheduling/v1
-k8s.io/client-go/applyconfigurations/scheduling/v1alpha1
-k8s.io/client-go/applyconfigurations/scheduling/v1beta1
-k8s.io/client-go/applyconfigurations/storage/v1
-k8s.io/client-go/applyconfigurations/storage/v1alpha1
-k8s.io/client-go/applyconfigurations/storage/v1beta1
-k8s.io/client-go/discovery
-k8s.io/client-go/kubernetes
-k8s.io/client-go/kubernetes/scheme
-k8s.io/client-go/kubernetes/typed/admissionregistration/v1
-k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1
-k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1
-k8s.io/client-go/kubernetes/typed/apiserverinternal/v1alpha1
-k8s.io/client-go/kubernetes/typed/apps/v1
-k8s.io/client-go/kubernetes/typed/apps/v1beta1
-k8s.io/client-go/kubernetes/typed/apps/v1beta2
-k8s.io/client-go/kubernetes/typed/authentication/v1
-k8s.io/client-go/kubernetes/typed/authentication/v1alpha1
-k8s.io/client-go/kubernetes/typed/authentication/v1beta1
-k8s.io/client-go/kubernetes/typed/authorization/v1
-k8s.io/client-go/kubernetes/typed/authorization/v1beta1
-k8s.io/client-go/kubernetes/typed/autoscaling/v1
-k8s.io/client-go/kubernetes/typed/autoscaling/v2
-k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1
-k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2
-k8s.io/client-go/kubernetes/typed/batch/v1
-k8s.io/client-go/kubernetes/typed/batch/v1beta1
-k8s.io/client-go/kubernetes/typed/certificates/v1
-k8s.io/client-go/kubernetes/typed/certificates/v1alpha1
-k8s.io/client-go/kubernetes/typed/certificates/v1beta1
-k8s.io/client-go/kubernetes/typed/coordination/v1
-k8s.io/client-go/kubernetes/typed/coordination/v1beta1
-k8s.io/client-go/kubernetes/typed/core/v1
-k8s.io/client-go/kubernetes/typed/discovery/v1
-k8s.io/client-go/kubernetes/typed/discovery/v1beta1
-k8s.io/client-go/kubernetes/typed/events/v1
-k8s.io/client-go/kubernetes/typed/events/v1beta1
-k8s.io/client-go/kubernetes/typed/extensions/v1beta1
-k8s.io/client-go/kubernetes/typed/flowcontrol/v1alpha1
-k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1
-k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2
-k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta3
-k8s.io/client-go/kubernetes/typed/networking/v1
-k8s.io/client-go/kubernetes/typed/networking/v1alpha1
-k8s.io/client-go/kubernetes/typed/networking/v1beta1
-k8s.io/client-go/kubernetes/typed/node/v1
-k8s.io/client-go/kubernetes/typed/node/v1alpha1
-k8s.io/client-go/kubernetes/typed/node/v1beta1
-k8s.io/client-go/kubernetes/typed/policy/v1
-k8s.io/client-go/kubernetes/typed/policy/v1beta1
-k8s.io/client-go/kubernetes/typed/rbac/v1
-k8s.io/client-go/kubernetes/typed/rbac/v1alpha1
-k8s.io/client-go/kubernetes/typed/rbac/v1beta1
-k8s.io/client-go/kubernetes/typed/resource/v1alpha2
-k8s.io/client-go/kubernetes/typed/scheduling/v1
-k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1
-k8s.io/client-go/kubernetes/typed/scheduling/v1beta1
-k8s.io/client-go/kubernetes/typed/storage/v1
-k8s.io/client-go/kubernetes/typed/storage/v1alpha1
-k8s.io/client-go/kubernetes/typed/storage/v1beta1
-k8s.io/client-go/openapi
-k8s.io/client-go/pkg/apis/clientauthentication
-k8s.io/client-go/pkg/apis/clientauthentication/install
-k8s.io/client-go/pkg/apis/clientauthentication/v1
-k8s.io/client-go/pkg/apis/clientauthentication/v1beta1
-k8s.io/client-go/pkg/version
-k8s.io/client-go/plugin/pkg/client/auth/exec
-k8s.io/client-go/rest
-k8s.io/client-go/rest/watch
-k8s.io/client-go/tools/clientcmd/api
-k8s.io/client-go/tools/metrics
-k8s.io/client-go/tools/reference
-k8s.io/client-go/transport
-k8s.io/client-go/util/cert
-k8s.io/client-go/util/connrotation
-k8s.io/client-go/util/flowcontrol
-k8s.io/client-go/util/keyutil
-k8s.io/client-go/util/workqueue
-k8s.io/kube-openapi/pkg/builder3/util
-k8s.io/kube-openapi/pkg/cached
-k8s.io/kube-openapi/pkg/common
-k8s.io/kube-openapi/pkg/handler3
-k8s.io/kube-openapi/pkg/internal
-k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json
-k8s.io/kube-openapi/pkg/openapiconv
-k8s.io/kube-openapi/pkg/schemaconv
-k8s.io/kube-openapi/pkg/schemamutation
-k8s.io/kube-openapi/pkg/spec3
-k8s.io/kube-openapi/pkg/util/proto
-k8s.io/kube-openapi/pkg/validation/spec
-k8s.io/utils/clock
-k8s.io/utils/clock/testing
-k8s.io/utils/integer
-sigs.k8s.io/structured-merge-diff/v4/fieldpath
-sigs.k8s.io/structured-merge-diff/v4/merge
-sigs.k8s.io/structured-merge-diff/v4/schema
-sigs.k8s.io/structured-merge-diff/v4/typed
-sigs.k8s.io/yaml
security-agentlinuxamd64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render
security-agentlinuxarm64
+1, -0
+github.com/DataDog/datadog-agent/pkg/status/render

Copy link
Contributor

@dianashevchenko dianashevchenko left a comment

Choose a reason for hiding this comment

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

Approved, reviewed on the basis of apm files

Copy link
Member

@sblumenthal sblumenthal left a comment

Choose a reason for hiding this comment

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

LGTM for container-integrations files

Copy link
Contributor

@kkhor-datadog kkhor-datadog left a comment

Choose a reason for hiding this comment

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

The changes look fine, but mind updating the QA instructions for the process agent status check? The command should be /opt/datadog-agent/embedded/bin/process-agent status because it's a different binary

pkg/status/render/render_test.go Outdated Show resolved Hide resolved
pkg/cli/subcommands/check/command.go Outdated Show resolved Hide resolved
@GustavoCaso GustavoCaso force-pushed the extract-render-subpackge-from-status branch from 58dec94 to fe628cc Compare November 15, 2023 16:34
@GustavoCaso GustavoCaso added this to the 7.51.0 milestone Nov 15, 2023
@GustavoCaso GustavoCaso force-pushed the extract-collector-to-a-subpackage-of-status branch from 176f2de to d8c61b3 Compare November 17, 2023 12:05
@GustavoCaso GustavoCaso force-pushed the extract-render-subpackge-from-status branch from 5f9922f to 65ca3d3 Compare November 17, 2023 12:10
Base automatically changed from extract-collector-to-a-subpackage-of-status to main November 20, 2023 11:35
@GustavoCaso GustavoCaso force-pushed the extract-render-subpackge-from-status branch from 65ca3d3 to 7d61e71 Compare November 20, 2023 11:44
@GustavoCaso GustavoCaso changed the title Extract render subpackge from status [ASCII-145] Extract render subpackge from status Nov 20, 2023
@GustavoCaso GustavoCaso merged commit 3f05720 into main Nov 20, 2023
140 checks passed
@GustavoCaso GustavoCaso deleted the extract-render-subpackge-from-status branch November 20, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants