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
↓ 2 callers
Function
NewTestTailer2
(id string)
pkg/logs/tailers/tailer_tracker_test.go:42
↓ 2 callers
Function
NewTimeoutError
NewTimeoutError returns a new error which was caused by a timeout.
pkg/errors/errors.go:103
↓ 2 callers
Function
NewTracer
NewTracer creates a [Tracer]
pkg/collector/corechecks/ebpf/probe/tcpqueuelength/tcp_queue_length.go:45
↓ 2 callers
Function
NewTrackerWithTimeProvider
NewTrackerWithTimeProvider Creates a new Tracker instance with a time provider closure (mostly for testing)
pkg/util/statstracker/stats_tracker.go:50
↓ 2 callers
Function
NewTrafficCaptureWriter
NewTrafficCaptureWriter creates a TrafficCaptureWriter instance.
comp/dogstatsd/replay/writer.go:87
↓ 2 callers
Function
NewTrapForwarder
NewTrapForwarder creates a simple TrapForwarder instance
pkg/snmp/traps/forwarder/forwarder.go:33
↓ 2 callers
Function
NewTrapListener
NewTrapListener creates a simple TrapListener instance but does not start it
pkg/snmp/traps/listener/listener.go:37
↓ 2 callers
Function
NewUDSListener
NewUDSListener returns an idle UDS Statsd listener
comp/dogstatsd/listeners/uds_common.go:120
↓ 2 callers
Function
NewUDSOobPoolManager
NewUDSOobPoolManager returns an UDS OOB pool manager
comp/dogstatsd/listeners/uds_common.go:108
↓ 2 callers
Function
NewUbuntuKernelVersion
NewUbuntuKernelVersion parses the ubuntu release string and returns a structure with each extracted fields
pkg/util/kernel/version.go:126
↓ 2 callers
Function
NewVMClient
NewVMClient creates a new instance of VMClient.
test/new-e2e/pkg/utils/e2e/client/vm_client.go:34
↓ 2 callers
Function
NewWinCrashReporter
NewWinCrashReporter creates the object for checking/setting the windows crash registry keys
pkg/util/winutil/crashreport/crashreport.go:39
↓ 2 callers
Function
NewWindowsService
NewWindowsService returns the service entry for the core agent
cmd/agent/windows/service/service.go:26
↓ 2 callers
Function
NewWithDefaults
NewWithDefaults creates a new scrubber with the default replacers installed.
pkg/util/scrubber/scrubber.go:85
↓ 2 callers
Function
NewZkTestSuite
use a constructor to make the suite parametric
test/integration/config_providers/zookeeper/zookeeper_provider_test.go:77
↓ 2 callers
Function
NextUrl
NextUrl returns the /next endpoint
pkg/serverless/registration/extension_api.go:140
↓ 2 callers
Function
NoObjPDU
(oid string)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:35
↓ 2 callers
Function
NoProcessExit
NoProcessExit creates a shutdown detector based on running processes
cmd/manager/auto_exit_noprocess.go:36
↓ 2 callers
Method
NodeLabels
NodeLabels is used to fetch the labels attached to a given node.
pkg/util/kubernetes/apiserver/apiserver.go:569
↓ 2 callers
Method
NonBlockingSend
NonBlockingSend tries to send the payload and fails silently if the input is full. returns false if the buffer is full - true if successful.
pkg/logs/sender/destination_sender.go:101
↓ 2 callers
Method
Notify
Notify sends a slice of EntityEvents to all registered subscribers at their chosen cardinality.
pkg/tagger/subscriber/subscriber.go:77
↓ 2 callers
Method
Notify
Notify implements Store#Notify
pkg/workloadmeta/store.go:425
↓ 2 callers
Function
NowNanoseconds
NowNanoseconds returns a time that can be compared to bpf_ktime_get_ns()
pkg/ebpf/time.go:17
↓ 2 callers
Function
NtQueryInformationProcess
NtQueryInformationProcess wraps the Windows NT kernel call of the same name
pkg/util/winutil/process.go:75
↓ 2 callers
Method
ObfuscateMemcachedString
ObfuscateMemcachedString obfuscates the Memcached command cmd.
pkg/obfuscate/memcached.go:13
↓ 2 callers
Method
ObfuscateURLString
ObfuscateURLString obfuscates the given URL. It must be a valid URL.
pkg/obfuscate/http.go:24
↓ 2 callers
Function
Oe
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Function
OnCloseConn
(c net.Conn, onclose func())
pkg/trace/api/listener.go:94
↓ 2 callers
Method
OnPointDropped
OnPointDropped increases the telemetry that counts the number of points droppped
comp/forwarder/defaultforwarder/internal/retry/point_count_telemetry.go:61
↓ 2 callers
Method
OnStop
()
pkg/util/winutil/etw/etw.go:25
↓ 2 callers
Method
OnTransaction
OnTransaction must be called for each transaction. Note: because of alternateDomains, `mainDomain` is not necessary the same as transaction.Domain.
comp/forwarder/defaultforwarder/internal/retry/queue_duration_capacity.go:60
↓ 2 callers
Function
OpenFile
OpenFile checks that location is acceptable for a capture and creates a new file using given fs implementation.
comp/dogstatsd/replay/writer.go:150
↓ 2 callers
Function
OrchestratorFactory
OrchestratorFactory returns the orchestrator check
pkg/collector/corechecks/cluster/orchestrator/orchestrator.go:97
↓ 2 callers
Method
OrchestratorMetadata
(msgs []types.ProcessMessageBody, clusterID string, nodeType int)
pkg/aggregator/sender/sender.go:39
↓ 2 callers
Function
Ot
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callers
Method
Owners
Owners returns pod owners, sourced either from: - the new `Owners` field, exposed by the kubelet since 1.6 - the legacy `kubernetes.io/created-by` ann
pkg/util/kubernetes/kubelet/pod.go:24
↓ 2 callers
Function
Parse
Parse returns parsed template variables found in the input data.
pkg/util/tmplvar/parse.go:28
↓ 2 callers
Function
ParseConfigSnmp
(c integration.Config)
pkg/snmp/snmpparse/config_snmp.go:57
↓ 2 callers
Method
ParseMacro
ParseMacro parses a SECL macro
pkg/security/secl/compiler/ast/secl.go:108
↓ 2 callers
Function
ParseMetrics
ParseMetrics parses prometheus-formatted metrics from the input data.
pkg/util/prometheus/parse.go:51
↓ 2 callers
Function
ParseMountInfoFile
ParseMountInfoFile collects the mounts for a specific process ID.
pkg/util/kernel/fs.go:27
↓ 2 callers
Function
ParseProcessIPs
ParseProcessIPs parses /proc/<pid>/net/fib_trie and returns the /32 IP addresses found. The result does not contain duplicate IPs. Here's an example
pkg/util/system/network_linux.go:146
↓ 2 callers
Function
ParseSecretData
ParseSecretData return the tls.Certificate contained in the provided Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:82
↓ 2 callers
Function
ParseStorageRequests
ParseStorageRequests parses storage requests from a gRPC call
pkg/security/config/dump.go:40
↓ 2 callers
Function
ParseString
ParseString returns parsed template variables found in the input string.
pkg/util/tmplvar/parse.go:23
↓ 2 callers
Function
ParseYAML
ParseYAML parses the data formatted in YAML, returns an error if the parsing failed.
comp/logs/agent/config/parser.go:32
↓ 2 callers
Method
PatchAllOwners
PatchAllOwners patches all owners with the corresponding language annotations
pkg/clusteragent/languagedetection/patcher.go:172
↓ 2 callers
Method
Path
Path returns the URL from the request fragment captured in eBPF.
pkg/network/protocols/http2/model_linux.go:26
↓ 2 callers
Function
PbToStringSlice
(s []protoiface.MessageV1)
pkg/trace/pb/util.go:12
↓ 2 callers
Method
PeekSender
PeekSender returns a Sender with passed ID or an error if the sender is not registered
pkg/aggregator/test_common.go:21
↓ 2 callers
Method
PersistRaw
PersistRaw saves the provided dump to the requested storages
pkg/security/security_profile/dump/storage_manager.go:131
↓ 2 callers
Function
PidTTY
PidTTY returns the TTY of the given pid
pkg/security/utils/proc.go:164
↓ 2 callers
Function
PolicyStateFromRuleDefinition
PolicyStateFromRuleDefinition returns a policy state based on the rule definition
pkg/security/rules/policy_monitor.go:206
↓ 2 callers
Method
PopulateForPod
PopulateForPod generates the PodUtils entries for a given pod.
pkg/collector/corechecks/containers/kubelet/common/pod.go:57
↓ 2 callers
Method
Position
Position exports the tokenizer's current position in the query
pkg/obfuscate/sql_tokenizer.go:892
↓ 2 callers
Method
PostStart
PostStart is called after the start of the provided eBPF manager. Final initialisation steps, such as setting up a map cleaner, should be performed he
pkg/network/protocols/protocols.go:43
↓ 2 callers
Function
PrepareK8SUserSessionContext
PrepareK8SUserSessionContext prepares the input parameters forwarded to cws-instrumentation
pkg/security/resolvers/usersessions/k8s_user_session_context.go:17
↓ 2 callers
Function
PrintRemoteConfigState
PrintRemoteConfigState dump the whole remote-config state
pkg/flare/remote_config.go:159
↓ 2 callers
Function
PrintWindowsUserWarning
PrintWindowsUserWarning prints a warning for standalone CLI commands on Windows.
pkg/cli/standalone/warnings.go:11
↓ 2 callers
Method
ProcessEMList
(emList []custommetrics.ExternalMetricValue)
pkg/util/kubernetes/autoscalers/processor.go:47
↓ 2 callers
Method
ProcessEvent
ProcessEvent processes an event through the various monitors and controllers of the probe
pkg/security/probe/probe_monitor.go:153
↓ 2 callers
Function
ProcessSourceToString
ProcessSourceToString returns the string corresponding to a process source
pkg/security/secl/model/model_unix.go:579
↓ 2 callers
Method
ProtoCounters
(protocols []string)
pkg/collector/corechecks/net/network.go:96
↓ 2 callers
Function
ProtoToSecurityProfile
ProtoToSecurityProfile decodes a Security Profile from its protobuf representation
pkg/security/security_profile/profile/profile_proto_dec_v1.go:20
↓ 2 callers
Method
Provide
Provide processes metrics and reports
pkg/collector/corechecks/containers/kubelet/provider/summary/provider.go:61
↓ 2 callers
Method
PublishAndReset
PublishAndReset updates stats about per-tag stats
pkg/trace/info/stats.go:58
↓ 2 callers
Method
Pull
Pull returns all events stored in the RingStore
pkg/process/events/store.go:172
↓ 2 callers
Method
PullChanges
PullChanges pulls a new podList from the kubelet and returns Pod objects for new / updated pods. Updated pods will be sent entirely, user must replace
pkg/util/kubernetes/kubelet/podwatcher.go:59
↓ 2 callers
Method
Put
Put resets the Packet origin and puts it back in the pool.
comp/dogstatsd/packets/pool.go:58
↓ 2 callers
Method
Put
Put returns a cache entry
pkg/security/resolvers/process/resolver.go:26
↓ 2 callers
Method
PutBatch
PutBatch puts a batch back into the pool
pkg/metrics/metric_sample_pool.go:62
↓ 2 callers
Function
QueryAccountIDTag
QueryAccountIDTag returns the account id tag matching the current deployment
pkg/security/common/account_id.go:59
↓ 2 callers
Method
QueryExternalMetric
QueryExternalMetric queries Datadog to validate the availability and value of one or more external metrics Also updates the rate limits statistics as
pkg/util/kubernetes/autoscalers/processor.go:182
↓ 2 callers
Method
QueryMetrics
(from, to int64, query string)
pkg/util/kubernetes/autoscalers/processor.go:39
↓ 2 callers
Function
RandNonZeroUint64
RandNonZeroUint64 returns a new non-zero uint64
pkg/security/utils/rand.go:35
↓ 2 callers
Method
RawClient
()
pkg/util/docker/client.go:23
↓ 2 callers
Method
RawContainerList
(ctx context.Context, options types.ContainerListOptions)
pkg/util/docker/client.go:24
↓ 2 callers
Function
Re
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Method
ReadAllPendingTransactions
()
pkg/network/protocols/http/driver_interface.go:111
↓ 2 callers
Function
ReadCgroupFile
ReadCgroupFile reads the content of a cgroup file
pkg/security/utils/sys.go:27
↓ 2 callers
Function
ReadConfig
ReadConfig builds and returns configuration from Agent configuration.
comp/netflow/config/config.go:57
↓ 2 callers
Method
ReadData
ReadData reads and returns up to size bytes starting at virtual address addr.
pkg/network/go/binversion/buildinfo.go:71
↓ 2 callers
Function
ReadElfBuildInfo
ReadElfBuildInfo extracts the Go toolchain version and module information strings from a Go binary. On success, vers should be non-empty. mod is empty
pkg/network/go/binversion/buildinfo.go:82
↓ 2 callers
Function
ReadKubernetesSecret
ReadKubernetesSecret reads a secrets store in k8s
cmd/secrethelper/providers/k8s_secret.go:22
↓ 2 callers
Function
ReadNumEvents
(t testing.TB, ti eventlog_test.APITester, sub PullSubscription, numEvents uint)
pkg/util/winutil/eventlog/subscription/helpers_test.go:20
↓ 2 callers
Function
RecoverOnPanic
RecoverOnPanic is used to recover panics triggered by processors.
pkg/collector/corechecks/cluster/orchestrator/processors/errors.go:27
↓ 2 callers
Method
Recv
()
pkg/security/proto/api/api_grpc.pb.go:88
↓ 2 callers
Method
RecvMsg
RecvMsg provides a mock function with given fields: m
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:103
↓ 2 callers
Method
RefreshCgroups
RefreshCgroups triggers a refresh if data are older than cacheValidity. 0 to always refesh.
pkg/util/cgroups/reader.go:188
↓ 2 callers
Function
RegexReplaceValue
RegexReplaceValue replaces a value using a regex and template
pkg/collector/corechecks/snmp/internal/checkconfig/config_metric.go:52
↓ 2 callers
Method
Register
Register adds an info provider
pkg/logs/internal/status/info.go:127
↓ 2 callers
Method
Register
Register adds an Extractor which will be notified for metadata extraction
pkg/process/checks/process_data.go:55
↓ 2 callers
Method
Register
(*Router)
cmd/system-probe/api/module/common.go:30
↓ 2 callers
Function
RegisterAdditionalLogger
RegisterAdditionalLogger registers an additional logger for logging
pkg/util/log/log.go:839
↓ 2 callers
Method
RegisterCustomSendEventHandler
(cb onCustomSendEventHandler)
pkg/security/tests/module_tester.go:1430
↓ 2 callers
Method
RegisterDiscarderPushedHandler
(cb onDiscarderPushedHandler)
pkg/security/tests/module_tester.go:1101
↓ 2 callers
Method
RegisterEventSource
Windows Event Logging methods
pkg/util/winutil/eventlog/api/types.go:199
↓ 2 callers
Method
RegisterOOBPoolManager
TODO: (components) pool manager should be injected as a component in the future. RegisterOOBPoolManager registers the OOB shared pool manager with the
comp/dogstatsd/replay/component.go:41
↓ 2 callers
Function
RegisterReadiness
RegisterReadiness registers a component for readiness check with the default 30 seconds timeout, returns a token
pkg/status/health/global.go:17
↓ 2 callers
Method
RegisterSharedPoolManager
TODO: (components) pool manager should be injected as a component in the future. RegisterSharedPoolManager registers the shared pool manager with the
comp/dogstatsd/replay/component.go:37
← previous
next →
6,901–7,000 of 32,574, ranked by callers