MCPcopy Create free account

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

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

↓ 2 callersFunctionNewTestTailer2
(id string)
pkg/logs/tailers/tailer_tracker_test.go:42
↓ 2 callersFunctionNewTimeoutError
NewTimeoutError returns a new error which was caused by a timeout.
pkg/errors/errors.go:103
↓ 2 callersFunctionNewTracer
NewTracer creates a [Tracer]
pkg/collector/corechecks/ebpf/probe/tcpqueuelength/tcp_queue_length.go:45
↓ 2 callersFunctionNewTrackerWithTimeProvider
NewTrackerWithTimeProvider Creates a new Tracker instance with a time provider closure (mostly for testing)
pkg/util/statstracker/stats_tracker.go:50
↓ 2 callersFunctionNewTrafficCaptureWriter
NewTrafficCaptureWriter creates a TrafficCaptureWriter instance.
comp/dogstatsd/replay/writer.go:87
↓ 2 callersFunctionNewTrapForwarder
NewTrapForwarder creates a simple TrapForwarder instance
pkg/snmp/traps/forwarder/forwarder.go:33
↓ 2 callersFunctionNewTrapListener
NewTrapListener creates a simple TrapListener instance but does not start it
pkg/snmp/traps/listener/listener.go:37
↓ 2 callersFunctionNewUDSListener
NewUDSListener returns an idle UDS Statsd listener
comp/dogstatsd/listeners/uds_common.go:120
↓ 2 callersFunctionNewUDSOobPoolManager
NewUDSOobPoolManager returns an UDS OOB pool manager
comp/dogstatsd/listeners/uds_common.go:108
↓ 2 callersFunctionNewUbuntuKernelVersion
NewUbuntuKernelVersion parses the ubuntu release string and returns a structure with each extracted fields
pkg/util/kernel/version.go:126
↓ 2 callersFunctionNewVMClient
NewVMClient creates a new instance of VMClient.
test/new-e2e/pkg/utils/e2e/client/vm_client.go:34
↓ 2 callersFunctionNewWinCrashReporter
NewWinCrashReporter creates the object for checking/setting the windows crash registry keys
pkg/util/winutil/crashreport/crashreport.go:39
↓ 2 callersFunctionNewWindowsService
NewWindowsService returns the service entry for the core agent
cmd/agent/windows/service/service.go:26
↓ 2 callersFunctionNewWithDefaults
NewWithDefaults creates a new scrubber with the default replacers installed.
pkg/util/scrubber/scrubber.go:85
↓ 2 callersFunctionNewZkTestSuite
use a constructor to make the suite parametric
test/integration/config_providers/zookeeper/zookeeper_provider_test.go:77
↓ 2 callersFunctionNextUrl
NextUrl returns the /next endpoint
pkg/serverless/registration/extension_api.go:140
↓ 2 callersFunctionNoObjPDU
(oid string)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:35
↓ 2 callersFunctionNoProcessExit
NoProcessExit creates a shutdown detector based on running processes
cmd/manager/auto_exit_noprocess.go:36
↓ 2 callersMethodNodeLabels
NodeLabels is used to fetch the labels attached to a given node.
pkg/util/kubernetes/apiserver/apiserver.go:569
↓ 2 callersMethodNonBlockingSend
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 callersMethodNotify
Notify sends a slice of EntityEvents to all registered subscribers at their chosen cardinality.
pkg/tagger/subscriber/subscriber.go:77
↓ 2 callersMethodNotify
Notify implements Store#Notify
pkg/workloadmeta/store.go:425
↓ 2 callersFunctionNowNanoseconds
NowNanoseconds returns a time that can be compared to bpf_ktime_get_ns()
pkg/ebpf/time.go:17
↓ 2 callersFunctionNtQueryInformationProcess
NtQueryInformationProcess wraps the Windows NT kernel call of the same name
pkg/util/winutil/process.go:75
↓ 2 callersMethodObfuscateMemcachedString
ObfuscateMemcachedString obfuscates the Memcached command cmd.
pkg/obfuscate/memcached.go:13
↓ 2 callersMethodObfuscateURLString
ObfuscateURLString obfuscates the given URL. It must be a valid URL.
pkg/obfuscate/http.go:24
↓ 2 callersFunctionOe
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callersFunctionOnCloseConn
(c net.Conn, onclose func())
pkg/trace/api/listener.go:94
↓ 2 callersMethodOnPointDropped
OnPointDropped increases the telemetry that counts the number of points droppped
comp/forwarder/defaultforwarder/internal/retry/point_count_telemetry.go:61
↓ 2 callersMethodOnStop
()
pkg/util/winutil/etw/etw.go:25
↓ 2 callersMethodOnTransaction
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 callersFunctionOpenFile
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 callersFunctionOrchestratorFactory
OrchestratorFactory returns the orchestrator check
pkg/collector/corechecks/cluster/orchestrator/orchestrator.go:97
↓ 2 callersMethodOrchestratorMetadata
(msgs []types.ProcessMessageBody, clusterID string, nodeType int)
pkg/aggregator/sender/sender.go:39
↓ 2 callersFunctionOt
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callersMethodOwners
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 callersFunctionParse
Parse returns parsed template variables found in the input data.
pkg/util/tmplvar/parse.go:28
↓ 2 callersFunctionParseConfigSnmp
(c integration.Config)
pkg/snmp/snmpparse/config_snmp.go:57
↓ 2 callersMethodParseMacro
ParseMacro parses a SECL macro
pkg/security/secl/compiler/ast/secl.go:108
↓ 2 callersFunctionParseMetrics
ParseMetrics parses prometheus-formatted metrics from the input data.
pkg/util/prometheus/parse.go:51
↓ 2 callersFunctionParseMountInfoFile
ParseMountInfoFile collects the mounts for a specific process ID.
pkg/util/kernel/fs.go:27
↓ 2 callersFunctionParseProcessIPs
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 callersFunctionParseSecretData
ParseSecretData return the tls.Certificate contained in the provided Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:82
↓ 2 callersFunctionParseStorageRequests
ParseStorageRequests parses storage requests from a gRPC call
pkg/security/config/dump.go:40
↓ 2 callersFunctionParseString
ParseString returns parsed template variables found in the input string.
pkg/util/tmplvar/parse.go:23
↓ 2 callersFunctionParseYAML
ParseYAML parses the data formatted in YAML, returns an error if the parsing failed.
comp/logs/agent/config/parser.go:32
↓ 2 callersMethodPatchAllOwners
PatchAllOwners patches all owners with the corresponding language annotations
pkg/clusteragent/languagedetection/patcher.go:172
↓ 2 callersMethodPath
Path returns the URL from the request fragment captured in eBPF.
pkg/network/protocols/http2/model_linux.go:26
↓ 2 callersFunctionPbToStringSlice
(s []protoiface.MessageV1)
pkg/trace/pb/util.go:12
↓ 2 callersMethodPeekSender
PeekSender returns a Sender with passed ID or an error if the sender is not registered
pkg/aggregator/test_common.go:21
↓ 2 callersMethodPersistRaw
PersistRaw saves the provided dump to the requested storages
pkg/security/security_profile/dump/storage_manager.go:131
↓ 2 callersFunctionPidTTY
PidTTY returns the TTY of the given pid
pkg/security/utils/proc.go:164
↓ 2 callersFunctionPolicyStateFromRuleDefinition
PolicyStateFromRuleDefinition returns a policy state based on the rule definition
pkg/security/rules/policy_monitor.go:206
↓ 2 callersMethodPopulateForPod
PopulateForPod generates the PodUtils entries for a given pod.
pkg/collector/corechecks/containers/kubelet/common/pod.go:57
↓ 2 callersMethodPosition
Position exports the tokenizer's current position in the query
pkg/obfuscate/sql_tokenizer.go:892
↓ 2 callersMethodPostStart
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 callersFunctionPrepareK8SUserSessionContext
PrepareK8SUserSessionContext prepares the input parameters forwarded to cws-instrumentation
pkg/security/resolvers/usersessions/k8s_user_session_context.go:17
↓ 2 callersFunctionPrintRemoteConfigState
PrintRemoteConfigState dump the whole remote-config state
pkg/flare/remote_config.go:159
↓ 2 callersFunctionPrintWindowsUserWarning
PrintWindowsUserWarning prints a warning for standalone CLI commands on Windows.
pkg/cli/standalone/warnings.go:11
↓ 2 callersMethodProcessEMList
(emList []custommetrics.ExternalMetricValue)
pkg/util/kubernetes/autoscalers/processor.go:47
↓ 2 callersMethodProcessEvent
ProcessEvent processes an event through the various monitors and controllers of the probe
pkg/security/probe/probe_monitor.go:153
↓ 2 callersFunctionProcessSourceToString
ProcessSourceToString returns the string corresponding to a process source
pkg/security/secl/model/model_unix.go:579
↓ 2 callersMethodProtoCounters
(protocols []string)
pkg/collector/corechecks/net/network.go:96
↓ 2 callersFunctionProtoToSecurityProfile
ProtoToSecurityProfile decodes a Security Profile from its protobuf representation
pkg/security/security_profile/profile/profile_proto_dec_v1.go:20
↓ 2 callersMethodProvide
Provide processes metrics and reports
pkg/collector/corechecks/containers/kubelet/provider/summary/provider.go:61
↓ 2 callersMethodPublishAndReset
PublishAndReset updates stats about per-tag stats
pkg/trace/info/stats.go:58
↓ 2 callersMethodPull
Pull returns all events stored in the RingStore
pkg/process/events/store.go:172
↓ 2 callersMethodPullChanges
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 callersMethodPut
Put resets the Packet origin and puts it back in the pool.
comp/dogstatsd/packets/pool.go:58
↓ 2 callersMethodPut
Put returns a cache entry
pkg/security/resolvers/process/resolver.go:26
↓ 2 callersMethodPutBatch
PutBatch puts a batch back into the pool
pkg/metrics/metric_sample_pool.go:62
↓ 2 callersFunctionQueryAccountIDTag
QueryAccountIDTag returns the account id tag matching the current deployment
pkg/security/common/account_id.go:59
↓ 2 callersMethodQueryExternalMetric
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 callersMethodQueryMetrics
(from, to int64, query string)
pkg/util/kubernetes/autoscalers/processor.go:39
↓ 2 callersFunctionRandNonZeroUint64
RandNonZeroUint64 returns a new non-zero uint64
pkg/security/utils/rand.go:35
↓ 2 callersMethodRawClient
()
pkg/util/docker/client.go:23
↓ 2 callersMethodRawContainerList
(ctx context.Context, options types.ContainerListOptions)
pkg/util/docker/client.go:24
↓ 2 callersFunctionRe
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callersMethodReadAllPendingTransactions
()
pkg/network/protocols/http/driver_interface.go:111
↓ 2 callersFunctionReadCgroupFile
ReadCgroupFile reads the content of a cgroup file
pkg/security/utils/sys.go:27
↓ 2 callersFunctionReadConfig
ReadConfig builds and returns configuration from Agent configuration.
comp/netflow/config/config.go:57
↓ 2 callersMethodReadData
ReadData reads and returns up to size bytes starting at virtual address addr.
pkg/network/go/binversion/buildinfo.go:71
↓ 2 callersFunctionReadElfBuildInfo
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 callersFunctionReadKubernetesSecret
ReadKubernetesSecret reads a secrets store in k8s
cmd/secrethelper/providers/k8s_secret.go:22
↓ 2 callersFunctionReadNumEvents
(t testing.TB, ti eventlog_test.APITester, sub PullSubscription, numEvents uint)
pkg/util/winutil/eventlog/subscription/helpers_test.go:20
↓ 2 callersFunctionRecoverOnPanic
RecoverOnPanic is used to recover panics triggered by processors.
pkg/collector/corechecks/cluster/orchestrator/processors/errors.go:27
↓ 2 callersMethodRecv
()
pkg/security/proto/api/api_grpc.pb.go:88
↓ 2 callersMethodRecvMsg
RecvMsg provides a mock function with given fields: m
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:103
↓ 2 callersMethodRefreshCgroups
RefreshCgroups triggers a refresh if data are older than cacheValidity. 0 to always refesh.
pkg/util/cgroups/reader.go:188
↓ 2 callersFunctionRegexReplaceValue
RegexReplaceValue replaces a value using a regex and template
pkg/collector/corechecks/snmp/internal/checkconfig/config_metric.go:52
↓ 2 callersMethodRegister
Register adds an info provider
pkg/logs/internal/status/info.go:127
↓ 2 callersMethodRegister
Register adds an Extractor which will be notified for metadata extraction
pkg/process/checks/process_data.go:55
↓ 2 callersMethodRegister
(*Router)
cmd/system-probe/api/module/common.go:30
↓ 2 callersFunctionRegisterAdditionalLogger
RegisterAdditionalLogger registers an additional logger for logging
pkg/util/log/log.go:839
↓ 2 callersMethodRegisterCustomSendEventHandler
(cb onCustomSendEventHandler)
pkg/security/tests/module_tester.go:1430
↓ 2 callersMethodRegisterDiscarderPushedHandler
(cb onDiscarderPushedHandler)
pkg/security/tests/module_tester.go:1101
↓ 2 callersMethodRegisterEventSource
Windows Event Logging methods
pkg/util/winutil/eventlog/api/types.go:199
↓ 2 callersMethodRegisterOOBPoolManager
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 callersFunctionRegisterReadiness
RegisterReadiness registers a component for readiness check with the default 30 seconds timeout, returns a token
pkg/status/health/global.go:17
↓ 2 callersMethodRegisterSharedPoolManager
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
← previousnext →6,901–7,000 of 32,574, ranked by callers