MCPcopy Create free account

hub / github.com/DataDog/datadog-agent / functions

Functions32,574 in github.com/DataDog/datadog-agent

↓ 1 callersFunctionNewStringArrayVariable
NewStringArrayVariable returns a new string array variable
pkg/security/secl/compiler/eval/variables.go:154
↓ 1 callersFunctionNewStringMapItem
NewStringMapItem returns a new StringMapItem
pkg/security/ebpf/map.go:87
↓ 1 callersFunctionNewStringValuesMacro
NewStringValuesMacro returns a new macro from an array of strings
pkg/security/secl/compiler/eval/macro.go:53
↓ 1 callersFunctionNewSubmitter
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 callersFunctionNewSyscallsMonitor
NewSyscallsMonitor returns a new Monitor
pkg/security/probe/monitors/syscalls/syscalls_monitor.go:85
↓ 1 callersFunctionNewSystemdConnection
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 callersFunctionNewTCPServer
(addr string, onMessage func(c net.Conn))
pkg/network/protocols/http/testutil/tcp_server.go:15
↓ 1 callersFunctionNewTagger
NewTagger returns an allocated tagger. You still have to run Init() once the config package is ready.
pkg/tagger/replay/tagger.go:38
↓ 1 callersFunctionNewTagsSet
NewTagsSet create a new set of Tags
pkg/network/tags.go:15
↓ 1 callersFunctionNewTestClient
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 callersFunctionNewTestDecoder
()
pkg/logs/tailers/docker/tailer_test.go:76
↓ 1 callersFunctionNewTimeResolver
NewTimeResolver returns a new time resolver
pkg/network/tracer/time_resolver.go:26
↓ 1 callersFunctionNewTracePipe
NewTracePipe instantiates a new trace pipe
pkg/security/tests/trace_pipe.go:58
↓ 1 callersFunctionNewTracePipe
NewTracePipe instantiates a new trace pipe
pkg/ebpf/ebpftest/trace_pipe_linux.go:44
↓ 1 callersFunctionNewTracer
NewTracer creates a new tracer
pkg/network/tracer/connection/tracer.go:155
↓ 1 callersFunctionNewTracker
NewTracker Creates a new Tracker instance
pkg/util/statstracker/stats_tracker.go:43
↓ 1 callersFunctionNewUnassignedPodCollector
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 callersFunctionNewUnixNamedPipe
NewUnixNamedPipe UnixNamedPipe constructor
pkg/util/pipe_nix.go:28
↓ 1 callersFunctionNewUtilizationTracker
NewUtilizationTracker instantiates and configures a utilization tracker that calculates the values and publishes them to expvars
pkg/collector/worker/utilization_tracker.go:43
↓ 1 callersFunctionNewVerticalPodAutoscalerCollector
NewVerticalPodAutoscalerCollector creates a new collector for the Kubernetes VerticalPodAutoscaler resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/k8s/verticalpodautoscaler.go:40
↓ 1 callersFunctionNewWinCrashProbe
NewWinCrashProbe returns an initialized WinCrashProbe
pkg/collector/corechecks/system/wincrashdetect/probe/wincrashprobe.go:25
↓ 1 callersFunctionNewWinProcMon
(onStart chan *ProcessStartNotification, onStop chan *ProcessStopNotification)
pkg/windowsdriver/procmon/procmon.go:44
↓ 1 callersFunctionNewWindowsAPITester
NewWindowsAPITester constructs a new API tester for the Windows Event Log API
pkg/util/winutil/eventlog/test/windows.go:33
↓ 1 callersFunctionNewWindowsMonitor
NewWindowsMonitor returns a new WindowsMonitor instance
pkg/network/usm/monitor_windows.go:40
↓ 1 callersFunctionNewWorkloadMetaCollector
NewWorkloadMetaCollector returns a new WorkloadMetaCollector.
pkg/tagger/collectors/workloadmeta_main.go:154
↓ 1 callersFunctionNewZapCore
NewZapCore creates a new zap core that wraps the default agent log instance.
pkg/util/log/zap/zapcore.go:95
↓ 1 callersFunctionNewZookeeperConfigProvider
NewZookeeperConfigProvider returns a new Client connected to a Zookeeper backend.
pkg/autodiscovery/providers/zookeeper.go:43
↓ 1 callersMethodNext
Next returns the next `ConnectionStats` object available for writing. It will resize the internal buffer if necessary.
pkg/network/buffer.go:25
↓ 1 callersMethodNextEvent
NextEvent blocks while long polling for the next lambda invoke or shutdown
test/integration/serverless/recorder-extension/main.go:161
↓ 1 callersMethodNextPartialDump
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 callersMethodNextSkip
(skip uint64)
pkg/logs/tailers/journald/journal_factory.go:24
↓ 1 callersFunctionNoOpProcessEvent
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 callersMethodNodeAnnotations
NodeAnnotations is used to fetch the annotations attached to a given node.
pkg/util/kubernetes/apiserver/apiserver.go:578
↓ 1 callersMethodNodeMetadataMapping
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 callersFunctionNodeUIDToTaggerEntityName
NodeUIDToTaggerEntityName returns a prefixed tagger entity name from a node UID
pkg/util/kubernetes/kubelet/kubelet_common.go:59
↓ 1 callersFunctionNormalizePath
NormalizePath is a no-op for Linux for now
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go:142
↓ 1 callersFunctionNotOfValue
NotOfValue returns the NOT of a value
pkg/security/secl/compiler/eval/utils.go:17
↓ 1 callersMethodNotifyDiscarderFound
NotifyDiscarderFound notifies all the ruleset listeners that a discarder was found for an event
pkg/security/secl/rules/ruleset.go:524
↓ 1 callersMethodNotifyRuleMatch
NotifyRuleMatch notifies all the ruleset listeners that an event matched a rule
pkg/security/secl/rules/ruleset.go:512
↓ 1 callersFunctionNumVCPU
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 callersMethodOS_Stats
()
pkg/collector/corechecks/oracle-dbm/os_stats.go:27
↓ 1 callersMethodObfuscateElasticSearchString
ObfuscateElasticSearchString obfuscates the given ElasticSearch JSON query.
pkg/obfuscate/json.go:21
↓ 1 callersMethodObfuscateMongoDBString
ObfuscateMongoDBString obfuscates the given MongoDB JSON query.
pkg/obfuscate/json.go:16
↓ 1 callersMethodObfuscateSQLExecPlan
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 callersMethodObfuscateWithSQLLexer
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 callersFunctionObjGetInfoByFd
(attr *ObjGetInfoByFdAttr)
pkg/collector/corechecks/ebpf/probe/ebpfcheck/prog.go:32
↓ 1 callersMethodOkHttpClient
(String url)
pkg/network/java/testutil/JavaClientSimulator/src/main/java/Clients/JavaClients.java:96
↓ 1 callersMethodOnData
([]uint8)
pkg/windowsdriver/olreader/olreader.go:42
↓ 1 callersMethodOnError
(err error)
pkg/windowsdriver/olreader/olreader.go:43
↓ 1 callersMethodOnEvent
(*DDEtwEventInfo)
pkg/util/winutil/etw/etw.go:26
↓ 1 callersMethodOnLocalStorageCleanup
(files []string)
pkg/security/security_profile/dump/manager.go:50
↓ 1 callersMethodOnNewDiscarder
OnNewDiscarder is called when a new discarder is found
pkg/security/probe/probe_linux.go:961
↓ 1 callersMethodOnPointSuccessfullySent
(int)
comp/forwarder/defaultforwarder/worker.go:46
↓ 1 callersMethodOnStart
()
pkg/util/winutil/etw/etw.go:24
↓ 1 callersMethodOpen
(name string)
pkg/windowsdriver/olreader/olreader.go:69
↓ 1 callersFunctionOrNullLogger
OrNullLogger ensures that the provided logger is non-nil by returning a NullLogger if it is
pkg/security/secl/log/logger.go:48
↓ 1 callersMethodOrchestrator
Orchestrator returns the orchestrator name for a node type.
pkg/orchestrator/model/types.go:166
↓ 1 callersFunctionOutputDatadogEnvVariablesForDebugging
OutputDatadogEnvVariablesForDebugging outputs the Datadog environment variables for debugging purposes
pkg/serverless/debug/debug.go:22
↓ 1 callersFunctionOverrideTime
OverrideTime overrides the Date from a Status object
pkg/process/util/status/status.go:120
↓ 1 callersMethodPacketType
PacketType returns the type of packet this source reads
pkg/network/dns/snooper.go:71
↓ 1 callersMethodParse
Parse - Transforms the SECL `Expression` into its AST representation
pkg/security/secl/compiler/eval/macro.go:86
↓ 1 callersMethodParse
Parse parses a comma-separated languages string and adds the languages to the language set
pkg/languagedetection/util/languageset.go:33
↓ 1 callersMethodParse
Parse reads the docker check configuration
pkg/collector/corechecks/containers/docker/config.go:46
↓ 1 callersMethodParseAnnotations
ParseAnnotations updates the containers languages based on existing language annotations
pkg/languagedetection/util/containerslanguages.go:44
↓ 1 callersFunctionParseArn
ParseArn parses an AWS ARN and returns the region and account
pkg/serverless/trigger/extractor.go:241
↓ 1 callersFunctionParseConfigPath
ParseConfigPath parses a config path
pkg/config/remote/data/file.go:46
↓ 1 callersFunctionParseEvalEventType
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 callersMethodParseInto
(data []byte, t *translation, pktInfo *dnsPacketInfo)
pkg/network/dns/parser.go:111
↓ 1 callersFunctionParseMetricsWithFilter
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 callersFunctionParseNetlinkMessage
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 callersFunctionParseProcessFlags
ParseProcessFlags parses the process flags
pkg/security/secl/args/parse.go:16
↓ 1 callersFunctionParseProcessOptions
ParseProcessOptions parses the process options
pkg/security/secl/args/parse.go:49
↓ 1 callersFunctionParseProcessRoutes
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 callersFunctionParseProcessRoutes
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 callersFunctionParseRawFlare
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 callersFunctionParseReleaseString
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 callersFunctionParseStorageType
ParseStorageType returns a storage type from its string representation
pkg/security/config/dump.go:154
↓ 1 callersFunctionPatchEBPFTelemetry
(m *manager.Manager, enable bool, undefinedProbes []manager.ProbeIdentificationPair)
pkg/network/telemetry/ebpf_telemetry.go:311
↓ 1 callersMethodPause
()
pkg/security/probe/probe_linux.go:73
↓ 1 callersMethodPctMem
PctMem returns the percentage of memory used by the group.
pkg/gohai/processes/gops/process_group.go:43
↓ 1 callersFunctionPdhAddEnglishCounter
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 callersFunctionPdhCloseQuery
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 callersFunctionPdhOpenQuery
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 callersMethodPeak
Peak returns the maximum number of simultaneous connections that were active while the server was running.
pkg/trace/writer/testserver.go:106
↓ 1 callersFunctionPids
Pids returns a list of process ids.
comp/metadata/host/utils/host_windows.go:137
↓ 1 callersFunctionPingTCP
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 callersFunctionPingUDP
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 callersMethodPostLanguageMetadata
(ctx context.Context, data *pbgo.ParentLanguageAnnotationRequest)
comp/languagedetection/client/client.go:56
↓ 1 callersMethodPostProbeStart
PostProbeStart is called after the event stream (the probe) is started
pkg/eventmonitor/eventmonitor.go:77
↓ 1 callersMethodPostProcess
PostProcess is called once during each check run, after all calls to `Process`
pkg/collector/corechecks/containers/generic/processor_extension.go:30
↓ 1 callersMethodPostProcess
PostProcess actually computes the metrics
pkg/collector/corechecks/containers/generic/processor_network.go:72
↓ 1 callersMethodPostProcess
PostProcess is called once during each check run, after all calls to `Process`
pkg/collector/corechecks/containers/docker/check_network.go:108
↓ 1 callersMethodPreProcess
PreProcess is called once during check run, before any call to `Process`
pkg/collector/corechecks/containers/generic/processor_extension.go:22
↓ 1 callersMethodPreProcess
PreProcess is called once during check run, before any call to `Process`
pkg/collector/corechecks/containers/generic/processor_network.go:40
↓ 1 callersMethodPreProcess
PreProcess creates a new empty mapping for the upcoming check run
pkg/collector/corechecks/containers/docker/check_network.go:71
↓ 1 callersMethodPrepare
Prepare desc
comp/netflow/goflowlib/formatdriver.go:34
↓ 1 callersMethodPrepareFileGenerator
(config FileGeneratorConfig)
pkg/security/tests/files_generator.go:384
↓ 1 callersMethodPrepareGraphData
PrepareGraphData returns a graph from the activity tree
pkg/security/security_profile/activity_tree/activity_tree_graph.go:40
↓ 1 callersFunctionPreprocess
Preprocess runs the clang preprocessor on `in` and writes the output to `out`
pkg/ebpf/compiler/compiler.go:171
↓ 1 callersFunctionPreprocessFile
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
← previousnext →10,801–10,900 of 32,574, ranked by callers