Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 1 callers
Method
MatchAll
MatchAll returns whether the values matches all the provided IPNets
pkg/security/secl/compiler/eval/cidr.go:140
↓ 1 callers
Method
MatchEventType
MatchEventType returns true if the filter matches the passed EventType. If the filter is nil, or has EventTypeAll, it always matches.
pkg/workloadmeta/filter.go:81
↓ 1 callers
Method
MatchSource
MatchSource returns true if the filter matches the passed source. If the filter is nil, or has SourceAll, it always matches.
pkg/workloadmeta/filter.go:75
↓ 1 callers
Method
Mem
Mem returns basic memory info.
pkg/trace/watchdog/info.go:106
↓ 1 callers
Function
MemoryPercentageThresholdMonitor
MemoryPercentageThresholdMonitor monitors memory usage above a specified percentage threshold
pkg/util/cgroups/memory_controller.go:31
↓ 1 callers
Function
MemoryPressureMonitor
MemoryPressureMonitor monitors memory pressure levels
pkg/util/cgroups/memory_controller.go:54
↓ 1 callers
Function
MemoryThresholdMonitor
MemoryThresholdMonitor monitors memory usage above a specified threshold
pkg/util/cgroups/memory_controller.go:47
↓ 1 callers
Function
MemoryTracker
MemoryTracker is the method exposed to the RTLoader for memory tracking export MemoryTracker
pkg/collector/python/memory.go:74
↓ 1 callers
Function
Merge
Merge will merge additional configuration into an existing configuration
pkg/config/config.go:1400
↓ 1 callers
Method
Merge
Merge merges a set of languages with the current languages set
pkg/languagedetection/util/languageset.go:42
↓ 1 callers
Method
Merge
Merge in ConfigMap into current config map
test/new-e2e/pkg/runner/configmap.go:53
↓ 1 callers
Method
MergeConfigMap
(cfg map[string]any)
pkg/config/model/types.go:119
↓ 1 callers
Method
Metadata
Metadata is used to collect the version and revision of the Containerd API
pkg/util/containerd/containerd_util.go:142
↓ 1 callers
Method
Method
()
pkg/network/protocols/http/model_windows.go:83
↓ 1 callers
Function
MetricSourceToOriginCategory
(ms metrics.MetricSource)
pkg/serializer/internal/metrics/origin_mapping.go:12
↓ 1 callers
Function
MetricSourceToOriginService
(ms metrics.MetricSource)
pkg/serializer/internal/metrics/origin_mapping.go:68
↓ 1 callers
Function
Minus
Minus -int operator
pkg/security/secl/compiler/eval/operators.go:417
↓ 1 callers
Function
MockNetworkID
MockNetworkID mock the answer returned by GetNetworkID by setting a value in the cache. This value will be removed from the cache during the test clea
pkg/util/cloudproviders/network_mock.go:18
↓ 1 callers
Function
MockPrivilegedDetectors
MockPrivilegedDetectors is used in tests to inject mock tests. It should be called before `DetectWithPrivileges`
pkg/languagedetection/privileged/privileged_detector.go:102
↓ 1 callers
Method
ModifySpan
ModifySpan applies extra logic to the given span
pkg/serverless/trace/span_modifier.go:28
↓ 1 callers
Function
ModuleFileName
(moduleName string, debug bool)
pkg/network/ebpf/bpf_module.go:24
↓ 1 callers
Function
ModulesPath
ModulesPath returns the path to the modules file in /proc
pkg/security/utils/proc.go:129
↓ 1 callers
Method
Monitor
Monitor monitors this JMXFetch instance, waiting for JMX to stop. Gracefully handles restarting the JMXFetch process.
pkg/jmxfetch/jmxfetch.go:113
↓ 1 callers
Method
MountImage
(ctx context.Context, expiration time.Duration, namespace string, img containerd.Image, targetDir string)
pkg/util/containerd/containerd_util.go:71
↓ 1 callers
Function
MountInfoPidPath
MountInfoPidPath returns the path to the mountinfo file of a pid in /proc
pkg/util/kernel/fs.go:22
↓ 1 callers
Method
MoveNext
MoveNext moves to the next value. Returns false when reaching the end of the iteration.
pkg/serializer/marshaler/marshaler_adapter.go:50
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/process/events/model/model_common_gen.go:58
↓ 1 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/process/events/model/model_common_gen.go:620
↓ 1 callers
Method
Name
()
comp/remote-config/rcclient/rcclient_test.go:45
↓ 1 callers
Method
Name
()
pkg/collector/scheduler_test.go:38
↓ 1 callers
Method
Name
()
pkg/collector/scheduler_test.go:49
↓ 1 callers
Method
Name
Name returns the name of the runtime setting
pkg/config/settings/runtime_setting_profiling.go:46
↓ 1 callers
Method
Name
Name returns the name of the runtime setting
pkg/config/settings/runtime_setting_log_level.go:38
↓ 1 callers
Function
NamespacesToWatch
NamespacesToWatch returns the namespaces to watch. If the "containerd_namespace" option has been set, it returns the namespaces it contains. Otherwise
pkg/util/containerd/namespaces.go:20
↓ 1 callers
Function
NetNSPathFromPath
NetNSPathFromPath returns a new NetNSPath from the given path
pkg/security/utils/proc.go:56
↓ 1 callers
Method
NetstatTCPExtCounters
()
pkg/collector/corechecks/net/network.go:98
↓ 1 callers
Function
NetworkNFNatSelectors
NetworkNFNatSelectors is the list of probes that should be activated if the `nf_nat` module is loaded
pkg/security/ebpf/probes/event_types.go:19
↓ 1 callers
Function
NetworkSelectors
NetworkSelectors is the list of probes that should be activated when the network is enabled
pkg/security/ebpf/probes/event_types.go:38
↓ 1 callers
Function
NetworkVethSelectors
NetworkVethSelectors is the list of probes that should be activated if the `veth` module is loaded
pkg/security/ebpf/probes/event_types.go:29
↓ 1 callers
Function
New
New creates a new Factory.
pkg/logs/launchers/container/tailerfactory/factory.go:57
↓ 1 callers
Function
New
New returns an initialized Processor.
pkg/logs/internal/processor/processor.go:37
↓ 1 callers
Function
New
New returns an initialized Decoder
pkg/logs/internal/decoder/decoder.go:189
↓ 1 callers
Function
New
New creates a new scheduler.
pkg/logs/schedulers/cca/scheduler.go:30
↓ 1 callers
Function
New
New creates a new scheduler.
pkg/logs/schedulers/ad/scheduler.go:38
↓ 1 callers
Function
New
New returns a new ring buffer based event stream.
pkg/security/probe/eventstream/ringbuffer/ringbuffer.go:69
↓ 1 callers
Function
New
New creates a new SNMPLogger
pkg/snmp/traps/snmplog/snmplog.go:24
↓ 1 callers
Function
New
New creates a new manager
pkg/snmp/traps/status/status.go:36
↓ 1 callers
Function
NewAPIServer
NewAPIServer returns a new gRPC event server
pkg/security/module/server.go:442
↓ 1 callers
Function
NewAPIServiceFactory
NewAPIServiceFactory returns a new APIService metric family generator factory.
pkg/collector/corechecks/cluster/ksm/customresources/apiservice.go:36
↓ 1 callers
Function
NewAWSStore
NewAWSStore creates a new AWS store
test/new-e2e/pkg/runner/parameters/store_aws.go:26
↓ 1 callers
Function
NewActivityDumpLoadController
NewActivityDumpLoadController returns a new activity dump load controller
pkg/security/security_profile/dump/load_controller.go:40
↓ 1 callers
Function
NewActivityDumpManager
NewActivityDumpManager returns a new ActivityDumpManager instance
pkg/security/security_profile/dump/manager.go:255
↓ 1 callers
Function
NewActivityDumpRemoteStorageForwarder
NewActivityDumpRemoteStorageForwarder returns a new instance of ActivityDumpRemoteStorageForwarder
pkg/security/security_profile/dump/remote_storage_forwarder.go:26
↓ 1 callers
Function
NewActivityDumpStorageManager
NewActivityDumpStorageManager returns a new instance of ActivityDumpStorageManager
pkg/security/security_profile/dump/storage_manager.go:86
↓ 1 callers
Function
NewAgentClient
(cc grpc.ClientConnInterface)
pkg/proto/pbgo/core/api.pb.go:211
↓ 1 callers
Function
NewAgentClient
NewAgentClient creates a new instance of AgentClient
test/new-e2e/pkg/utils/e2e/client/agent_client.go:22
↓ 1 callers
Function
NewAgentSecureClient
(cc grpc.ClientConnInterface)
pkg/proto/pbgo/core/api.pb.go:359
↓ 1 callers
Function
NewAnomalyDetectionLimiter
NewAnomalyDetectionLimiter returns a new rate limiter which is bucketed by workload ID
pkg/security/events/rate_limiter.go:107
↓ 1 callers
Function
NewApproverMonitor
NewApproverMonitor returns a new Monitor
pkg/security/probe/monitors/approver/approver_monitor.go:89
↓ 1 callers
Function
NewBTFConstantFetcherFromReader
NewBTFConstantFetcherFromReader creates a BTFConstantFetcher from a reader pointing to a BTF file
pkg/security/probe/constantfetch/core.go:37
↓ 1 callers
Function
NewBoltCache
NewBoltCache is a CacheProvider. It returns a BoltDB cache provided by Trivy and an empty cleaner.
pkg/util/trivy/cache.go:60
↓ 1 callers
Function
NewBuilder
NewBuilder returns a new builder.
pkg/logs/status/builder.go:33
↓ 1 callers
Function
NewCFClient
NewCFClient returns a new Cloud Foundry client instance given a config
pkg/util/cloudproviders/cloudfoundry/types.go:567
↓ 1 callers
Function
NewCRCollector
NewCRCollector creates a new collector for Kubernetes CRs.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/cr.go:44
↓ 1 callers
Function
NewCRDCollector
NewCRDCollector creates a new collector for the Kubernetes CRD resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/crd.go:40
↓ 1 callers
Function
NewCWSConsumer
NewCWSConsumer initializes the module with options
pkg/security/module/cws.go:53
↓ 1 callers
Function
NewCappedSender
NewCappedSender returns a capped sender
pkg/collector/corechecks/containers/generic/rate_capping_sender.go:37
↓ 1 callers
Function
NewCertConfig
NewCertConfig creates a certificate configuration
pkg/clusteragent/admission/controllers/secret/config.go:20
↓ 1 callers
Function
NewCgroupsMonitor
NewCgroupsMonitor returns a new cgroups monitor
pkg/security/probe/monitors/cgroups/cgroups_monitor.go:32
↓ 1 callers
Function
NewChannelWriter
NewChannelWriter returns a new channel writer. Implements io.Writer, used for redirecting stdout/stderr logs to Datadog.
cmd/serverless-init/log/channel_writer.go:27
↓ 1 callers
Function
NewCheckBaseWithInterval
NewCheckBaseWithInterval returns a check base struct with a given check name and interval
pkg/collector/corechecks/checkbase.go:60
↓ 1 callers
Function
NewCheckConfig
NewCheckConfig builds a new check config.
pkg/collector/corechecks/oracle-dbm/config/config.go:164
↓ 1 callers
Function
NewCheckRunAggregator
()
test/fakeintake/aggregator/checkRunAggregator.go:72
↓ 1 callers
Function
NewCheckSlowCancel
(after time.Duration)
pkg/collector/collector_test.go:66
↓ 1 callers
Function
NewChooser
NewChooser returns a new Chooser.
pkg/logs/internal/util/containersorpods/containers_or_pods.go:101
↓ 1 callers
Function
NewCircuitBreaker
NewCircuitBreaker instantiates a new CircuitBreaker that only allows a maxEventsPerSec to pass. The rate of events is calculated using an EWMA.
pkg/network/netlink/circuit_breaker.go:49
↓ 1 callers
Function
NewClient
NewClient creates a new client
pkg/config/remote/client.go:119
↓ 1 callers
Function
NewClient
NewClient returns a Lambda Extensions API client
test/integration/serverless/recorder-extension/main.go:124
↓ 1 callers
Function
NewClusterCollector
NewClusterCollector creates a new collector for the Kubernetes Cluster resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/cluster.go:38
↓ 1 callers
Function
NewClusterRoleBindingCollector
NewClusterRoleBindingCollector creates a new collector for the Kubernetes ClusterRoleBinding resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/clusterrolebinding.go:39
↓ 1 callers
Function
NewClusterRoleCollector
NewClusterRoleCollector creates a new collector for the Kubernetes ClusterRole resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/clusterrole.go:39
↓ 1 callers
Function
NewCollector
NewCollector returns a new collector
pkg/util/trivy/trivy.go:162
↓ 1 callers
Function
NewCollectorBundle
NewCollectorBundle creates a new bundle from the check configuration. If collectors are declared in the check instance configuration then it'll only
pkg/collector/corechecks/cluster/orchestrator/collector_bundle.go:64
↓ 1 callers
Function
NewCommunicator
NewCommunicator creates a *sshtools.Communicator
test/new-e2e/system-probe/connector/sshtools/communicator.go:48
↓ 1 callers
Function
NewConfig
NewConfig returns a new Config object
pkg/security/probe/config/config.go:137
↓ 1 callers
Function
NewConfig
NewConfig creates a secret controller configuration
pkg/clusteragent/admission/controllers/secret/config.go:37
↓ 1 callers
Function
NewConfig
(sysprobeConfig *config.Config)
pkg/dynamicinstrumentation/config.go:19
↓ 1 callers
Function
NewConnectionsAggregator
NewConnectionsAggregator create a new aggregator
test/fakeintake/aggregator/connectionsAggregator.go:84
↓ 1 callers
Function
NewConstantBackoffPolicy
NewConstantBackoffPolicy constructs new Backoff object with a given duration (used in serverless)
pkg/util/backoff/backoff.go:52
↓ 1 callers
Function
NewContainerAggregator
NewContainerAggregator returns a new ContainerAggregator
test/fakeintake/aggregator/containerAggregator.go:58
↓ 1 callers
Function
NewContainerListener
NewContainerListener returns a new ContainerListener.
pkg/autodiscovery/listeners/container.go:39
↓ 1 callers
Function
NewContainerTagger
NewContainerTagger creates a new container tagger. Call Start to start the container tagger.
pkg/cloudfoundry/containertagger/container_tagger.go:43
↓ 1 callers
Function
NewContainerdUtil
NewContainerdUtil creates the Containerd util containing the Containerd client and implementing the ContainerdItf Errors are handled in the retrier.
pkg/util/containerd/containerd_util.go:85
↓ 1 callers
Method
NewCounterWithOpts
(subsystem, name string, tags []string, help string, opts Options)
comp/core/telemetry/telemetry.go:94
↓ 1 callers
Function
NewCronJobV1Beta1Collector
NewCronJobV1Beta1Collector creates a new collector for the Kubernetes Job resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/cronjob_v1beta1.go:31
↓ 1 callers
Function
NewCronJobV1Collector
NewCronJobV1Collector creates a new collector for the Kubernetes Job resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/cronjob_v1.go:31
↓ 1 callers
Function
NewCurrentInfo
NewCurrentInfo creates a new CurrentInfo referring to the current running program.
pkg/trace/watchdog/info.go:70
↓ 1 callers
Function
NewCustomResourceDefinitionFactory
NewCustomResourceDefinitionFactory returns a new CustomResourceDefinition metric family generator factory.
pkg/collector/corechecks/cluster/ksm/customresources/crd.go:40
↓ 1 callers
Function
NewCustomRoundTripper
NewCustomRoundTripper creates a new CustomRoundTripper with the apiserver timeout value already populated from the agent config, wrapping an existing
pkg/util/kubernetes/apiserver/roundtrip.go:30
↓ 1 callers
Function
NewDBClient
NewDBClient returns a DB client that uses the DB stored in dbPath.
pkg/util/podman/db_client.go:62
← previous
next →
10,501–10,600 of 32,574, ranked by callers