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
↓ 10 callers
Method
CreateDB
()
pkg/network/protocols/mysql/client.go:67
↓ 10 callers
Function
CreateGlobalStore
CreateGlobalStore creates a workloadmeta store, sets it as the default global one, and returns it. Start() needs to be called before any data collecti
pkg/workloadmeta/store.go:820
↓ 10 callers
Method
CreateTopic
(topicName string)
pkg/network/protocols/kafka/client.go:55
↓ 10 callers
Method
Dup
Dup returns a complete copy of HashingTagsAccumulator
pkg/tagset/hashing_tags_accumulator.go:110
↓ 10 callers
Function
ErrorStackDepth
ErrorStackDepth logs at the error level and the current stack depth plus the additional given one and returns an error containing the formated log mes
pkg/util/log/log.go:796
↓ 10 callers
Method
Evaluate
Evaluate the specified event against the set of rules
pkg/security/secl/rules/ruleset.go:671
↓ 10 callers
Method
Extract
(procs map[int32]*procutil.Process)
pkg/process/metadata/metadata.go:12
↓ 10 callers
Method
FinalizeCheckServiceTag
()
pkg/aggregator/sender/sender.go:38
↓ 10 callers
Method
FindMatchingRootNodes
FindMatchingRootNodes return the matching nodes of requested comm
pkg/security/security_profile/dump/activity_dump.go:524
↓ 10 callers
Function
ForDaemon
ForDaemon sets up logging parameters for a daemon app. The log level is set based on the `log_level` config parameter. The log file is set based on
comp/core/log/params.go:91
↓ 10 callers
Function
GenerateSecretData
GenerateSecretData generates the content of Secret.Data of the Secret object containing the certificate.
pkg/util/kubernetes/certificate/certificate.go:41
↓ 10 callers
Method
GetAndResetAllStats
()
pkg/network/protocols/http/statkeeper.go:71
↓ 10 callers
Method
GetCPUStats
GetCPUStats returns all cgroup statistics at once. Each call triggers a read from filesystem (no cache) The given CPUStats object is filled with new v
pkg/util/cgroups/cgroup.go:20
↓ 10 callers
Method
GetChan
GetChan returns a write-only version of the pending channel
pkg/collector/runner/runner.go:225
↓ 10 callers
Method
GetColumnIndexes
GetColumnIndexes get column indexes for a field
pkg/collector/corechecks/snmp/internal/metadata/store.go:122
↓ 10 callers
Function
GetCoreBundleParamsForOneShot
(globalParams *GlobalParams)
cmd/process-agent/command/command.go:143
↓ 10 callers
Method
GetDeviceHostname
GetDeviceHostname returns DeviceID as hostname if UseDeviceIDAsHostname is true
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:97
↓ 10 callers
Method
GetMemoryStats
GetMemoryStats returns all cgroup statistics at once. Each call triggers a read from filesystem (no cache) The given MemoryStats object is filled with
pkg/util/cgroups/cgroup.go:23
↓ 10 callers
Method
GetPayloadsByName
GetPayloadsByName return the payloads for the resource name
test/fakeintake/aggregator/common.go:126
↓ 10 callers
Function
GetSharedMetricFilter
GetSharedMetricFilter allows to share the result of NewFilterFromConfig for several user classes
pkg/util/containers/filter.go:157
↓ 10 callers
Method
GetSource
(key string)
pkg/config/model/types.go:44
↓ 10 callers
Method
GetSourceType
GetSourceType returns the sourceType used by this source
pkg/logs/sources/source.go:106
↓ 10 callers
Method
GetSources
GetSources returns all the sources currently held. The result is copied and will not be modified after it is returned. However, the copy in the LogS
pkg/logs/sources/sources.go:186
↓ 10 callers
Method
HasFilter
slice of check names defined in kubernetes annotations or container labels
pkg/autodiscovery/listeners/types.go:37
↓ 10 callers
Function
IPAddr
IPAddr formats an IP address as a string. If the given bytes are not a valid IP address, the behavior is undefined.
comp/netflow/format/ip_addr.go:12
↓ 10 callers
Function
Init
Init must be called once config is available, call it in your cmd
pkg/tagger/global.go:62
↓ 10 callers
Function
InitMemoryTracker
InitMemoryTracker initializes RTLoader memory tracking
rtloader/test/helpers/helpers_native.go:29
↓ 10 callers
Function
IsDedicatedNode
(env string)
pkg/security/tests/module_tester.go:2263
↓ 10 callers
Method
IsEnabled
IsEnabled returns true if the check is enabled by configuration
pkg/process/checks/checks.go:48
↓ 10 callers
Method
IsLeader
IsLeader returns true if the last observed leader was this client else returns false.
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:265
↓ 10 callers
Function
IsPodReady
IsPodReady return a bool if the Pod is ready
pkg/util/kubernetes/kubelet/kubelet.go:399
↓ 10 callers
Method
IsUbuntuKernel
IsUbuntuKernel returns whether the kernel is an ubuntu kernel
pkg/security/ebpf/kernel/kernel.go:206
↓ 10 callers
Function
Log
Log logs a message at the given level, using either bufferFunc (if logging is not yet set up) or logFunc, and treating the variadic args as the messag
pkg/util/log/log.go:441
↓ 10 callers
Function
Memoize
Memoize the result of a function call. fn is only ever called once, even if it returns an error.
pkg/util/funcs/memoize.go:50
↓ 10 callers
Method
MovingPeak
MovingPeak Gets the largest value seen within the time frame
pkg/util/statstracker/stats_tracker.go:125
↓ 10 callers
Function
New
New parses a version string like `0.0.0` and a commit identifier and returns a Version instance
pkg/version/version.go:33
↓ 10 callers
Function
New
New creates a new scrubber with no replacers installed.
pkg/util/scrubber/scrubber.go:77
↓ 10 callers
Function
NewAutodiscoveryFilter
NewAutodiscoveryFilter creates a new container filter for Autodiscovery It sources patterns from the pkg/config options but ignores the exclude_pause_
pkg/util/containers/filter.go:296
↓ 10 callers
Function
NewConcentrator
NewConcentrator initializes a new concentrator ready to be started
pkg/trace/stats/concentrator.go:104
↓ 10 callers
Function
NewContainerImage
NewContainerImage builds a ContainerImage from an image name and its id
pkg/workloadmeta/types.go:332
↓ 10 callers
Function
NewDestinations
NewDestinations returns a new destinations composite.
pkg/logs/client/destinations.go:15
↓ 10 callers
Function
NewHistogram
NewHistogram returns a newly initialized histogram
pkg/metrics/histogram.go:78
↓ 10 callers
Function
NewMessages
NewMessages initialize Messages with the default values
comp/logs/agent/config/messages.go:21
↓ 10 callers
Function
NewPoliciesDirProvider
NewPoliciesDirProvider returns providers for the given policies dir
pkg/security/secl/rules/policy_dir.go:181
↓ 10 callers
Function
NewRareSampler
NewRareSampler returns a NewRareSampler that ensures that we sample combinations of env, service, name, resource, http-status, error type for each top
pkg/trace/sampler/rare_sampler.go:54
↓ 10 callers
Function
NewSQLTokenizer
NewSQLTokenizer creates a new SQLTokenizer for the given SQL string. The literalEscapes argument specifies whether escape characters should be treated
pkg/obfuscate/sql_tokenizer.go:208
↓ 10 callers
Function
NewWorker
NewWorker returns an instance of a `Worker` after parameter sanity checks are passed
pkg/collector/worker/worker.go:58
↓ 10 callers
Method
NextBatchID
(cpu int)
pkg/network/protocols/events/batch_offsets.go:80
↓ 10 callers
Method
Notify
Notify overrides store to allow for synchronous event processing
pkg/workloadmeta/mock_store.go:25
↓ 10 callers
Function
ParseConnectionFilters
ParseConnectionFilters takes the user defined excludelist and returns a slice of ConnectionFilters
pkg/network/network_filter.go:34
↓ 10 callers
Method
RecvMsg
RecvMsg mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:344
↓ 10 callers
Function
RegisterCollector
RegisterCollector registers a new collector in the NodeAgentCatalog, identified by an id for logging and telemetry purposes, to be used by the store.
pkg/workloadmeta/collectors.go:44
↓ 10 callers
Function
ReplaceFlagExact
ReplaceFlagExact will replace the matching flag with `replaceWith` exactly.
pkg/util/cli/deprecated.go:42
↓ 10 callers
Method
ResolveContainerCreatedAt
(ev *Event, e *ContainerContext)
pkg/security/secl/model/field_handlers_unix.go:944
↓ 10 callers
Method
ResolveContainerTags
(ev *Event, e *ContainerContext)
pkg/security/secl/model/field_handlers_unix.go:946
↓ 10 callers
Method
ResolveEventTime
(ev *Event)
pkg/security/secl/model/model.go:594
↓ 10 callers
Method
ResolveXAttrName
(ev *Event, e *SetXAttrEvent)
pkg/security/secl/model/field_handlers_unix.go:985
↓ 10 callers
Method
ResolveXAttrNamespace
(ev *Event, e *SetXAttrEvent)
pkg/security/secl/model/field_handlers_unix.go:986
↓ 10 callers
Method
ScrubCommand
ScrubCommand hides the argument value for any key which matches a "sensitive word" pattern. It returns the updated cmdline, as well as a boolean repre
pkg/process/procutil/data_scrubber.go:169
↓ 10 callers
Method
SendMsg
SendMsg mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:358
↓ 10 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
pkg/serverless/daemon/routes.go:26
↓ 10 callers
Method
Service
Service returns the service of the configuration if set or the service of the message, if none are defined, returns an empty string by default.
pkg/logs/message/origin.go:114
↓ 10 callers
Function
SetGlobalProfileConfigMap
SetGlobalProfileConfigMap sets global globalProfileConfigMap
pkg/collector/corechecks/snmp/internal/profile/profile_cache.go:11
↓ 10 callers
Function
SetRuntimeSetting
SetRuntimeSetting changes the value of a runtime configurable setting
pkg/config/settings/runtime_setting.go:59
↓ 10 callers
Method
Snapshot
Snapshot returns a deep copy of all DNS stats. Please only use this for testing.
pkg/network/dns/stats.go:188
↓ 10 callers
Method
Start
Start creates a context that will be cancelled on Stop()
pkg/logs/client/destinations_context.go:27
↓ 10 callers
Method
Start
()
pkg/logs/sender/strategy.go:14
↓ 10 callers
Method
Start
()
pkg/network/dns/types.go:70
↓ 10 callers
Method
Start
Start begins collecting network connection data.
pkg/network/tracer/connection/tracer.go:57
↓ 10 callers
Method
Start
()
pkg/process/runner/submitter.go:43
↓ 10 callers
Method
StartFromBeginning
StartFromBeginning is a shortcut to start the tailer at the beginning of the file.
pkg/logs/tailers/file/tailer.go:244
↓ 10 callers
Function
SubmitMetric
SubmitMetric is the method exposed to Python scripts to submit metrics export SubmitMetric
pkg/collector/python/aggregator.go:30
↓ 10 callers
Method
Tags
Tags returns the tags of the origin. The returned slice must not be modified by the caller.
pkg/logs/message/origin.go:34
↓ 10 callers
Method
ToString
ToString converts value to string
pkg/collector/corechecks/snmp/internal/valuestore/value.go:41
↓ 10 callers
Function
UTF16PtrOrNilFromString
UTF16PtrOrNilFromString converts a go string into a *uint16 using windows.Utf16PtrFromString, but will return nil for empty strings. Useful for Windo
pkg/util/winutil/winstrings.go:91
↓ 10 callers
Function
WarnStackDepth
WarnStackDepth logs at the warn level and the current stack depth plus the additional given one and returns an error containing the formated log messa
pkg/util/log/log.go:775
↓ 10 callers
Function
Warnc
Warnc logs at the warn level with context and returns an error containing the formated log message
pkg/util/log/log.go:683
↓ 10 callers
Function
_init_pipeline_schedule_task
()
tasks/pipeline.py:709
↓ 10 callers
Method
add
(v float64, tagsValue ...string)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:33
↓ 10 callers
Function
agentWithDefaults
(features ...string)
pkg/trace/agent/obfuscate_test.go:109
↓ 10 callers
Function
analyzeResponse
(r *http.Response, apiKey string)
comp/core/flare/helpers/send_flare.go:141
↓ 10 callers
Method
applyRedactingRules
applyRedactingRules returns given a message if we should process it or not, it applies the change directly on the Message content.
pkg/logs/internal/processor/processor.go:121
↓ 10 callers
Function
assertPayloadSizeFromExtractTransactions
( a *assert.Assertions, container *TransactionRetryQueue, expectedPayloadSize []int)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue_test.go:155
↓ 10 callers
Function
batchConnections
Connections are split up into a chunks of a configured size conns per message to limit the message size on intake.
pkg/process/checks/net.go:288
↓ 10 callers
Function
calculateRate
(cur, prev uint64, before time.Time)
pkg/process/checks/process_rt.go:153
↓ 10 callers
Function
clean
(ctx, stack=None, container=False, image=False)
tasks/kmt.py:415
↓ 10 callers
Method
clear
Clear empties buffered messages
pkg/logs/diagnostic/message_receiver.go:65
↓ 10 callers
Function
compareDatadogMetricInternal
(t *testing.T, expected, actual *model.DatadogMetricInternal)
pkg/clusteragent/externalmetrics/utils_for_test.go:29
↓ 10 callers
Function
confDir
(config)
tools/agent_QA/test_cases/xplat/helpers.py:4
↓ 10 callers
Function
containerCgroupKubePod
Return paths that look like Kubernetes cgroups
pkg/util/cgroups/file_for_test.go:18
↓ 10 callers
Method
create
(t *testing.T, root string)
pkg/compliance/k8sconfig/loader_test.go:368
↓ 10 callers
Function
createHiddenStringFlag
(cmd *cobra.Command, p *string, name string, value string, usage string)
pkg/cli/subcommands/check/command.go:560
↓ 10 callers
Function
createPrometheusLabelKeysValues
createPrometheusLabelKeysValues takes in passed kubernetes annotations/labels and associated allowed list in kubernetes label format. It returns only
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:136
↓ 10 callers
Function
createTestNode
(key string)
pkg/autodiscovery/providers/etcd_test.go:32
↓ 10 callers
Method
debuggerLogsProxyHandler
debuggerLogsProxyHandler returns an http.Handler proxying Dynamic Instrumentation dynamic logs to the logs intake.
pkg/trace/api/debugger.go:37
↓ 10 callers
Function
defaultLogsConfigKeys
defaultLogsConfigKeys defines the default YAML keys used to retrieve logs configuration
comp/logs/agent/config/config_keys.go:25
↓ 10 callers
Function
deprecatedFlagWarning
(deprecated, replaceWith string)
pkg/util/cli/deprecated.go:15
↓ 10 callers
Function
e
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 10 callers
Method
enableControllers
(controllers ...string)
pkg/util/cgroups/file_for_test.go:54
↓ 10 callers
Function
filterSpanFromLambdaLibraryOrRuntime
filterSpanFromLambdaLibraryOrRuntime returns true if a span was generated by internal HTTP calls within the Datadog Lambda Library or the Lambda runti
pkg/serverless/trace/trace.go:145
← previous
next →
1,501–1,600 of 32,574, ranked by callers