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
Function
NewStringArrayVariable
NewStringArrayVariable returns a new string array variable
pkg/security/secl/compiler/eval/variables.go:154
↓ 1 callers
Function
NewStringMapItem
NewStringMapItem returns a new StringMapItem
pkg/security/ebpf/map.go:87
↓ 1 callers
Function
NewStringValuesMacro
NewStringValuesMacro returns a new macro from an array of strings
pkg/security/secl/compiler/eval/macro.go:53
↓ 1 callers
Function
NewSubmitter
NewSubmitter creates a new instance of Submitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expecta
pkg/process/runner/mocks/submitter.go:44
↓ 1 callers
Function
NewSyscallsMonitor
NewSyscallsMonitor returns a new Monitor
pkg/security/probe/monitors/syscalls/syscalls_monitor.go:85
↓ 1 callers
Function
NewSystemdConnection
NewSystemdConnection establishes a private, direct connection to systemd. This can be used for communicating with systemd without a dbus daemon. Calle
pkg/collector/corechecks/systemd/dbus_conn.go:30
↓ 1 callers
Function
NewTCPServer
(addr string, onMessage func(c net.Conn))
pkg/network/protocols/http/testutil/tcp_server.go:15
↓ 1 callers
Function
NewTagger
NewTagger returns an allocated tagger. You still have to run Init() once the config package is ready.
pkg/tagger/replay/tagger.go:38
↓ 1 callers
Function
NewTagsSet
NewTagsSet create a new set of Tags
pkg/network/tags.go:15
↓ 1 callers
Function
NewTestClient
NewTestClient create a an ExtendedClient from VMClient and AgentCommandRunner, includes svcManager and pkgManager to write agent-platform tests
test/new-e2e/tests/agent-platform/common/test_client.go:73
↓ 1 callers
Function
NewTestDecoder
()
pkg/logs/tailers/docker/tailer_test.go:76
↓ 1 callers
Function
NewTimeResolver
NewTimeResolver returns a new time resolver
pkg/network/tracer/time_resolver.go:26
↓ 1 callers
Function
NewTracePipe
NewTracePipe instantiates a new trace pipe
pkg/security/tests/trace_pipe.go:58
↓ 1 callers
Function
NewTracePipe
NewTracePipe instantiates a new trace pipe
pkg/ebpf/ebpftest/trace_pipe_linux.go:44
↓ 1 callers
Function
NewTracer
NewTracer creates a new tracer
pkg/network/tracer/connection/tracer.go:155
↓ 1 callers
Function
NewTracker
NewTracker Creates a new Tracker instance
pkg/util/statstracker/stats_tracker.go:43
↓ 1 callers
Function
NewUnassignedPodCollector
NewUnassignedPodCollector creates a new collector for the Kubernetes Pod resource that is not assigned to any node.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/pod_unassigned.go:40
↓ 1 callers
Function
NewUnixNamedPipe
NewUnixNamedPipe UnixNamedPipe constructor
pkg/util/pipe_nix.go:28
↓ 1 callers
Function
NewUtilizationTracker
NewUtilizationTracker instantiates and configures a utilization tracker that calculates the values and publishes them to expvars
pkg/collector/worker/utilization_tracker.go:43
↓ 1 callers
Function
NewVerticalPodAutoscalerCollector
NewVerticalPodAutoscalerCollector creates a new collector for the Kubernetes VerticalPodAutoscaler resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/verticalpodautoscaler.go:40
↓ 1 callers
Function
NewWinCrashProbe
NewWinCrashProbe returns an initialized WinCrashProbe
pkg/collector/corechecks/system/wincrashdetect/probe/wincrashprobe.go:25
↓ 1 callers
Function
NewWinProcMon
(onStart chan *ProcessStartNotification, onStop chan *ProcessStopNotification)
pkg/windowsdriver/procmon/procmon.go:44
↓ 1 callers
Function
NewWindowsAPITester
NewWindowsAPITester constructs a new API tester for the Windows Event Log API
pkg/util/winutil/eventlog/test/windows.go:33
↓ 1 callers
Function
NewWindowsMonitor
NewWindowsMonitor returns a new WindowsMonitor instance
pkg/network/usm/monitor_windows.go:40
↓ 1 callers
Function
NewWorkloadMetaCollector
NewWorkloadMetaCollector returns a new WorkloadMetaCollector.
pkg/tagger/collectors/workloadmeta_main.go:154
↓ 1 callers
Function
NewZapCore
NewZapCore creates a new zap core that wraps the default agent log instance.
pkg/util/log/zap/zapcore.go:95
↓ 1 callers
Function
NewZookeeperConfigProvider
NewZookeeperConfigProvider returns a new Client connected to a Zookeeper backend.
pkg/autodiscovery/providers/zookeeper.go:43
↓ 1 callers
Method
Next
Next returns the next `ConnectionStats` object available for writing. It will resize the internal buffer if necessary.
pkg/network/buffer.go:25
↓ 1 callers
Method
NextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
test/integration/serverless/recorder-extension/main.go:161
↓ 1 callers
Method
NextPartialDump
NextPartialDump returns a new dump with the same parameters as the current one, or with reduced load config parameters when applicable
pkg/security/security_profile/dump/load_controller.go:85
↓ 1 callers
Method
NextSkip
(skip uint64)
pkg/logs/tailers/journald/journal_factory.go:24
↓ 1 callers
Function
NoOpProcessEvent
NoOpProcessEvent conforms to the Lambda Runtime API but act as a no-op this is required NOT to fail the extension (and customer code) when no api key
pkg/serverless/registration/extension_api.go:114
↓ 1 callers
Method
NodeAnnotations
NodeAnnotations is used to fetch the annotations attached to a given node.
pkg/util/kubernetes/apiserver/apiserver.go:578
↓ 1 callers
Method
NodeMetadataMapping
NodeMetadataMapping only fetch the endpoints from Kubernetes apiserver and add the metadataMapper of the node to the cache Only called when the node a
pkg/util/kubernetes/apiserver/apiserver_kubelet.go:24
↓ 1 callers
Function
NodeUIDToTaggerEntityName
NodeUIDToTaggerEntityName returns a prefixed tagger entity name from a node UID
pkg/util/kubernetes/kubelet/kubelet_common.go:59
↓ 1 callers
Function
NormalizePath
NormalizePath is a no-op for Linux for now
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go:142
↓ 1 callers
Function
NotOfValue
NotOfValue returns the NOT of a value
pkg/security/secl/compiler/eval/utils.go:17
↓ 1 callers
Method
NotifyDiscarderFound
NotifyDiscarderFound notifies all the ruleset listeners that a discarder was found for an event
pkg/security/secl/rules/ruleset.go:524
↓ 1 callers
Method
NotifyRuleMatch
NotifyRuleMatch notifies all the ruleset listeners that an event matched a rule
pkg/security/secl/rules/ruleset.go:512
↓ 1 callers
Function
NumVCPU
NumVCPU returns the number of virtualizes CPUs available to the process. It should be used instead of runtime.NumCPU() in virtualized environments lik
pkg/runtime/runtime.go:87
↓ 1 callers
Method
OS_Stats
()
pkg/collector/corechecks/oracle-dbm/os_stats.go:27
↓ 1 callers
Method
ObfuscateElasticSearchString
ObfuscateElasticSearchString obfuscates the given ElasticSearch JSON query.
pkg/obfuscate/json.go:21
↓ 1 callers
Method
ObfuscateMongoDBString
ObfuscateMongoDBString obfuscates the given MongoDB JSON query.
pkg/obfuscate/json.go:16
↓ 1 callers
Method
ObfuscateSQLExecPlan
ObfuscateSQLExecPlan obfuscates query conditions in the provided JSON encoded execution plan. If normalize=True, then cost and row estimates are also
pkg/obfuscate/sql.go:419
↓ 1 callers
Method
ObfuscateWithSQLLexer
ObfuscateWithSQLLexer obfuscates the given SQL query using the go-sqllexer package. If ObfuscationMode is set to ObfuscateOnly, the query will be obfu
pkg/obfuscate/sql.go:428
↓ 1 callers
Function
ObjGetInfoByFd
(attr *ObjGetInfoByFdAttr)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/prog.go:32
↓ 1 callers
Method
OkHttpClient
(String url)
pkg/network/java/testutil/JavaClientSimulator/src/main/java/Clients/JavaClients.java:96
↓ 1 callers
Method
OnData
([]uint8)
pkg/windowsdriver/olreader/olreader.go:42
↓ 1 callers
Method
OnError
(err error)
pkg/windowsdriver/olreader/olreader.go:43
↓ 1 callers
Method
OnEvent
(*DDEtwEventInfo)
pkg/util/winutil/etw/etw.go:26
↓ 1 callers
Method
OnLocalStorageCleanup
(files []string)
pkg/security/security_profile/dump/manager.go:50
↓ 1 callers
Method
OnNewDiscarder
OnNewDiscarder is called when a new discarder is found
pkg/security/probe/probe_linux.go:961
↓ 1 callers
Method
OnPointSuccessfullySent
(int)
comp/forwarder/defaultforwarder/worker.go:46
↓ 1 callers
Method
OnStart
()
pkg/util/winutil/etw/etw.go:24
↓ 1 callers
Method
Open
(name string)
pkg/windowsdriver/olreader/olreader.go:69
↓ 1 callers
Function
OrNullLogger
OrNullLogger ensures that the provided logger is non-nil by returning a NullLogger if it is
pkg/security/secl/log/logger.go:48
↓ 1 callers
Method
Orchestrator
Orchestrator returns the orchestrator name for a node type.
pkg/orchestrator/model/types.go:166
↓ 1 callers
Function
OutputDatadogEnvVariablesForDebugging
OutputDatadogEnvVariablesForDebugging outputs the Datadog environment variables for debugging purposes
pkg/serverless/debug/debug.go:22
↓ 1 callers
Function
OverrideTime
OverrideTime overrides the Date from a Status object
pkg/process/util/status/status.go:120
↓ 1 callers
Method
PacketType
PacketType returns the type of packet this source reads
pkg/network/dns/snooper.go:71
↓ 1 callers
Method
Parse
Parse - Transforms the SECL `Expression` into its AST representation
pkg/security/secl/compiler/eval/macro.go:86
↓ 1 callers
Method
Parse
Parse parses a comma-separated languages string and adds the languages to the language set
pkg/languagedetection/util/languageset.go:33
↓ 1 callers
Method
Parse
Parse reads the docker check configuration
pkg/collector/corechecks/containers/docker/config.go:46
↓ 1 callers
Method
ParseAnnotations
ParseAnnotations updates the containers languages based on existing language annotations
pkg/languagedetection/util/containerslanguages.go:44
↓ 1 callers
Function
ParseArn
ParseArn parses an AWS ARN and returns the region and account
pkg/serverless/trigger/extractor.go:241
↓ 1 callers
Function
ParseConfigPath
ParseConfigPath parses a config path
pkg/config/remote/data/file.go:46
↓ 1 callers
Function
ParseEvalEventType
ParseEvalEventType convert a eval.EventType (string) to its uint64 representation the current algorithm is not efficient but allows us to reduce the n
pkg/security/config/config.go:433
↓ 1 callers
Method
ParseInto
(data []byte, t *translation, pktInfo *dnsPacketInfo)
pkg/network/dns/parser.go:111
↓ 1 callers
Function
ParseMetricsWithFilter
ParseMetricsWithFilter parses prometheus-formatted metrics from the input data, ignoring lines which contain text that matches the passed in filter.
pkg/util/prometheus/parse.go:25
↓ 1 callers
Function
ParseNetlinkMessage
ParseNetlinkMessage parses b as an array of netlink messages and returns the slice containing the netlink.Message structures.
pkg/network/netlink/socket.go:235
↓ 1 callers
Function
ParseProcessFlags
ParseProcessFlags parses the process flags
pkg/security/secl/args/parse.go:16
↓ 1 callers
Function
ParseProcessOptions
ParseProcessOptions parses the process options
pkg/security/secl/args/parse.go:49
↓ 1 callers
Function
ParseProcessRoutes
ParseProcessRoutes is just a stub for platforms where that's currently not defined (like MacOS). This allows code that refers to this (like the docker
pkg/util/system/network_stub.go:16
↓ 1 callers
Function
ParseProcessRoutes
ParseProcessRoutes parses /proc/<pid>/net/route into a list of NetworkDestionation If PID is 0, it parses /proc/net/route instead
pkg/util/system/network_linux.go:25
↓ 1 callers
Function
ParseRawFlare
This file contains the logic for parsing the flare content returned by the Fake Intake and transforms it into a manageable Flare structure. Datadog A
test/fakeintake/client/flare/parse_flare.go:70
↓ 1 callers
Function
ParseReleaseString
ParseReleaseString converts a release string with format 4.4.2[-1] to a kernel version number in LINUX_VERSION_CODE format. That is, for kernel "a.b.c
pkg/util/kernel/version.go:78
↓ 1 callers
Function
ParseStorageType
ParseStorageType returns a storage type from its string representation
pkg/security/config/dump.go:154
↓ 1 callers
Function
PatchEBPFTelemetry
(m *manager.Manager, enable bool, undefinedProbes []manager.ProbeIdentificationPair)
pkg/network/telemetry/ebpf_telemetry.go:311
↓ 1 callers
Method
Pause
()
pkg/security/probe/probe_linux.go:73
↓ 1 callers
Method
PctMem
PctMem returns the percentage of memory used by the group.
pkg/gohai/processes/gops/process_group.go:43
↓ 1 callers
Function
PdhAddEnglishCounter
PdhAddEnglishCounter adds the specified counter to the query * Parameters hQuery [in] Handle to the query to which you want to add the counter. This h
pkg/util/winutil/pdhutil/pdh.go:227
↓ 1 callers
Function
PdhCloseQuery
PdhCloseQuery Closes all counters contained in the specified query, closes all handles related to the query, and frees all memory associated with the
pkg/util/winutil/pdhutil/pdh.go:253
↓ 1 callers
Function
PdhOpenQuery
revive:enable:var-naming (type) PdhOpenQuery Creates a new query that is used to manage the collection of performance data. * Parameters szDataSource
pkg/util/winutil/pdhutil/pdh.go:206
↓ 1 callers
Method
Peak
Peak returns the maximum number of simultaneous connections that were active while the server was running.
pkg/trace/writer/testserver.go:106
↓ 1 callers
Function
Pids
Pids returns a list of process ids.
comp/metadata/host/utils/host_windows.go:137
↓ 1 callers
Function
PingTCP
PingTCP connects to the provided IP address over TCP/TCPv6, sends the string "ping", reads from the connection, and returns the open connection for fu
pkg/network/testutil/ping.go:19
↓ 1 callers
Function
PingUDP
PingUDP connects to the provided IP address over UDP/UDPv6, sends the string "ping", and returns the open connection for further use/inspection.
pkg/network/testutil/ping.go:49
↓ 1 callers
Method
PostLanguageMetadata
(ctx context.Context, data *pbgo.ParentLanguageAnnotationRequest)
comp/languagedetection/client/client.go:56
↓ 1 callers
Method
PostProbeStart
PostProbeStart is called after the event stream (the probe) is started
pkg/eventmonitor/eventmonitor.go:77
↓ 1 callers
Method
PostProcess
PostProcess is called once during each check run, after all calls to `Process`
pkg/collector/corechecks/containers/generic/processor_extension.go:30
↓ 1 callers
Method
PostProcess
PostProcess actually computes the metrics
pkg/collector/corechecks/containers/generic/processor_network.go:72
↓ 1 callers
Method
PostProcess
PostProcess is called once during each check run, after all calls to `Process`
pkg/collector/corechecks/containers/docker/check_network.go:108
↓ 1 callers
Method
PreProcess
PreProcess is called once during check run, before any call to `Process`
pkg/collector/corechecks/containers/generic/processor_extension.go:22
↓ 1 callers
Method
PreProcess
PreProcess is called once during check run, before any call to `Process`
pkg/collector/corechecks/containers/generic/processor_network.go:40
↓ 1 callers
Method
PreProcess
PreProcess creates a new empty mapping for the upcoming check run
pkg/collector/corechecks/containers/docker/check_network.go:71
↓ 1 callers
Method
Prepare
Prepare desc
comp/netflow/goflowlib/formatdriver.go:34
↓ 1 callers
Method
PrepareFileGenerator
(config FileGeneratorConfig)
pkg/security/tests/files_generator.go:384
↓ 1 callers
Method
PrepareGraphData
PrepareGraphData returns a graph from the activity tree
pkg/security/security_profile/activity_tree/activity_tree_graph.go:40
↓ 1 callers
Function
Preprocess
Preprocess runs the clang preprocessor on `in` and writes the output to `out`
pkg/ebpf/compiler/compiler.go:171
↓ 1 callers
Function
PreprocessFile
PreprocessFile pre-processes the `#include` of embedded headers. It will only replace top-level includes for files that exist and does not evaluate th
pkg/ebpf/preprocess.go:31
← previous
next →
10,801–10,900 of 32,574, ranked by callers