MCPcopy Create free account

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

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

↓ 10 callersFunctionfilter_incompatible_tags
Filter out tags incompatible with the platform. include can be a list or a set.
tasks/build_tags.py:265
↓ 10 callersMethodfree
(node *reOrdererNode)
pkg/security/probe/eventstream/reorderer/reorderer.go:35
↓ 10 callersFunctiongenerateKey
()
pkg/config/remote/uptane/client_test.go:330
↓ 10 callersMethodgetApplicationName
getApplicationName returns the name of the application from where the entry is from.
pkg/logs/tailers/journald/tailer.go:412
↓ 10 callersFunctiongetClientsArray
(t *testing.T, size int)
pkg/network/protocols/grpc/monitor_test.go:64
↓ 10 callersFunctiongetContainerCount
getContainerCount returns the number of containers in the message body
pkg/process/runner/runner.go:453
↓ 10 callersFunctiongetDummyHeader
This file contains additional tests for line-breaking specifically relating to DockerStream, and came with the move of this functionality from ./pkg/l
pkg/logs/internal/framer/docker_stream_test.go:23
↓ 10 callersFunctiongetTestInventoryPayload
(t *testing.T, confOverrides map[string]any)
comp/metadata/internal/util/inventory_payload_test.go:37
↓ 10 callersFunctiongetTestTraceWithService
(service string, s *PrioritySampler)
pkg/trace/sampler/prioritysampler_test.go:33
↓ 10 callersFunctiongetWrapper
(c *Check, s T, sql string, binds ...interface{})
pkg/collector/corechecks/oracle-dbm/sql_wrappers.go:24
↓ 10 callersFunctionget_version
( ctx, include_git=False, url_safe=False, git_sha_length=7, prefix=None, major_version
tasks/utils.py:382
↓ 10 callersMethodhandleGetPayloads
(w http.ResponseWriter, req *http.Request)
test/fakeintake/server/server.go:280
↓ 10 callersFunctionidPair
(name probes.ProbeFuncName)
pkg/network/tracer/offsetguess/offsetguess.go:114
↓ 10 callersMethodinit
()
comp/forwarder/defaultforwarder/forwarder_health.go:76
↓ 10 callersFunctioninitSender
(id checkid.ID, defaultHostname string)
pkg/aggregator/sender_test.go:36
↓ 10 callersMethodisBlock
(endpoint string)
comp/forwarder/defaultforwarder/blocked_endpoints.go:96
↓ 10 callersFunctionlibImageName
(registry string, lang language, tag string)
pkg/clusteragent/admission/mutate/auto_instrumentation.go:123
↓ 10 callersFunctionloadPolicyIntoProbeEvaluationRuleSet
(t *testing.T, testPolicy *PolicyDef, policyOpts PolicyLoaderOpts)
pkg/security/secl/rules/evaluation_set_test.go:911
↓ 10 callersFunctionlogWithError
(logLevel seelog.LogLevel, bufferFunc func(), logFunc func(string) error, fallbackStderr bool, v ...interface{
pkg/util/log/log.go:452
↓ 10 callersFunctionmatchSvc
matchLogsConfig matches config.LogsConfig (for verifying templates are applied)
pkg/autodiscovery/configmgr_test.go:98
↓ 10 callersFunctionmeasureCharPrepared
(cm, prepared, ch, bias, varHeight)
cmd/agent/gui/views/private/js/codemirror.js:2453
↓ 10 callersFunctionnewAggregator
(parse parseFunc[P])
test/fakeintake/aggregator/common.go:40
↓ 10 callersFunctionnewCWSDDFile
()
pkg/remoteconfig/state/testingutils_test.go:166
↓ 10 callersFunctionnewCatalog
()
pkg/status/health/health.go:40
↓ 10 callersFunctionnewCgroupV1
(identifier, path string, mountPoints map[string]string, pidMapper pidMapper)
pkg/util/cgroups/cgroupv1.go:20
↓ 10 callersFunctionnewCheckSampler
newCheckSampler returns a newly initialized CheckSampler
pkg/aggregator/check_sampler.go:33
↓ 10 callersFunctionnewDummyClusterAgent
()
pkg/util/clusteragent/clusteragent_test.go:46
↓ 10 callersFunctionnewGaugeExpvar
(subsystem string, name string, tags []string, help string, parent *expvar.Map)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:43
↓ 10 callersFunctionnewServiceLookup
newServiceLookup returns a new serviceKeyCatalog with maxEntries maximum number of entries. If maxEntries is 0, a default of 5000 (maxCatalogEntries)
pkg/trace/sampler/catalog.go:38
↓ 10 callersFunctionnewStickyLock
newStickyLock registers the current thread with the interpreter and locks the GIL. It also sticks the goroutine to the current thread so that a subseq
pkg/collector/python/helpers.go:87
↓ 10 callersFunctionnewTestTransaction
()
comp/forwarder/defaultforwarder/test_common.go:29
↓ 10 callersFunctionnextGroupID
()
pkg/collector/corechecks/orchestrator/pod/pod.go:35
↓ 10 callersMethodobfuscateSpan
(span *pb.Span)
pkg/trace/agent/obfuscate.go:31
↓ 10 callersFunctionparseFile
(fr fileReader, path string, p parser)
pkg/util/cgroups/file.go:52
↓ 10 callersMethodprocessDelConfigs
processDelConfigs handles removal of a config, unscheduling the config itself or, if it is a template, any configs resolved from it. Note that this a
pkg/autodiscovery/configmgr.go:41
↓ 10 callersMethodregister
register is registered to be called whenever a conntrack update/create is called. it will keep being called until it returns nonzero.
pkg/network/netlink/conntracker.go:241
↓ 10 callersFunctionregisterFeature
nolint:deadcode,unused
pkg/config/env/environment_detection.go:156
↓ 10 callersFunctionrequireLenForwarderRetryQueue
(t *testing.T, forwarder *domainForwarder, expectedValue int)
comp/forwarder/defaultforwarder/domain_forwarder_test.go:349
↓ 10 callersFunctionrun
(call string)
rtloader/test/tagger/tagger.go:69
↓ 10 callersMethodrun
()
pkg/aggregator/aggregator.go:712
↓ 10 callersMethodrunCheck
(commitMetrics bool)
pkg/collector/python/check.go:87
↓ 10 callersFunctionsavePolicy
(filename string, testPolicy *PolicyDef)
pkg/security/secl/rules/policy_test.go:31
↓ 10 callersFunctionscrollGap
(cm)
cmd/agent/gui/views/private/js/codemirror.js:2354
↓ 10 callersFunctionsetUp
Helper methods
pkg/collector/runner/expvars/expvars_test.go:26
↓ 10 callersFunctionsetupTraceAgentTest
(t *testing.T)
pkg/serverless/trace/trace_test.go:24
↓ 10 callersFunctiontestProtocolClassificationInner
(t *testing.T, params protocolClassificationAttributes, tr *Tracer)
pkg/network/tracer/tracer_classification_linux_test.go:16
↓ 10 callersFunctiontestSetUp
(t *testing.T)
pkg/collector/runner/runner_test.go:143
↓ 10 callersMethodtick
Artificially add 10 seconds to the sender timestamp
pkg/collector/corechecks/containers/generic/rate_capping_sender_test.go:26
↓ 10 callersFunctiontimestampNow
timestampNow provides a consistent way to keep a seconds timestamp
pkg/clusteragent/clusterchecks/helpers.go:41
↓ 10 callersMethodtoString
toString returns a representation of a status.
pkg/logs/status/builder.go:148
↓ 10 callersMethodtraceStats
(pid int32)
pkg/process/procutil/process_windows.go:351
↓ 10 callersMethodunlock
unlock deregisters the current thread from the interpreter, unlocks the GIL and detaches the goroutine from the current thread. Thread safe ; noop whe
pkg/collector/python/helpers.go:109
↓ 10 callersMethodunmount
()
pkg/security/tests/testdrive.go:137
↓ 10 callersFunctionupdateLineHeight
(line, height)
cmd/agent/gui/views/private/js/codemirror.js:436
↓ 10 callersFunctionverifyOSVersion
(kernelCode kernel.Version, platform string, exclusionList []string)
pkg/network/tracer/utils_linux.go:33
↓ 10 callersFunctionvisualLine
(line)
cmd/agent/gui/views/private/js/codemirror.js:772
↓ 10 callersMethodwait_app_log
(self, query, tries=30, delay=10)
test/e2e/cws-tests/tests/lib/cws/app.py:192
↓ 9 callersMethodAdd
Add adds a new transaction and flush transactions to disk if the memory limit is exceeded. The amount of transactions flushed to disk is control by `f
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:107
↓ 9 callersMethodAdd
Add value atomically
pkg/network/protocols/telemetry/metric.go:30
↓ 9 callersMethodAddCustomSensitiveWords
AddCustomSensitiveWords adds custom sensitive words on the DataScrubber object
pkg/process/procutil/data_scrubber.go:203
↓ 9 callersFunctionAddGlobalError
AddGlobalError an error message for the status display (errors will stop the agent)
pkg/logs/status/status.go:152
↓ 9 callersFunctionAddNameMappings
AddNameMappings adds the full name mappings for ebpf maps in the manager
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:35
↓ 9 callersMethodAddOrchestrator
AddOrchestrator adds a new orchestrator-level cardinality tag to the map, or replice if already exists. It will skip empty values/names, so it's safe
pkg/tagger/utils/taglist.go:59
↓ 9 callersMethodAppendScalarValue
AppendScalarValue append a scalar string value
pkg/security/secl/compiler/eval/strings.go:106
↓ 9 callersMethodAssertFileExists
AssertFileExists asserts that a file exists within the flare
comp/core/flare/helpers/builder_mock.go:48
↓ 9 callersMethodAssertMetricTaggedWith
AssertMetricTaggedWith allows to assert a metric was emitted with given tags, value and hostname not tested. Additional tags over the ones specified d
pkg/aggregator/mocksender/asserts.go:56
↓ 9 callersMethodAutoSelectStrategy
AutoSelectStrategy uses the invocation interval of the function to select the best flush strategy. This function doesn't mind if the flush strategy ha
pkg/serverless/daemon/interval.go:61
↓ 9 callersFunctionBuildEntityName
BuildEntityName builds a valid entity name for a given container runtime and cid.
pkg/util/containers/entity.go:23
↓ 9 callersFunctionBuildHTTPEndpointsWithConfig
BuildHTTPEndpointsWithConfig uses two arguments that instructs it how to access configuration parameters, then returns the HTTP endpoints to send logs
comp/logs/agent/config/config.go:196
↓ 9 callersFunctionBuildProxySettings
BuildProxySettings returns a map with http/https proxies based on old config
pkg/config/legacy/converter.go:270
↓ 9 callersMethodBuildSNMPParams
BuildSNMPParams returns a valid GoSNMP struct to start making queries
pkg/snmp/snmp.go:204
↓ 9 callersFunctionBuildTagMap
BuildTagMap builds a map of tag based on the arn and user defined tags
pkg/serverless/tags/tags.go:81
↓ 9 callersMethodClean
()
pkg/util/trivy/cache.go:70
↓ 9 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/jmx/command.go:54
↓ 9 callersMethodCopyFile
CopyFile copy file to the remote host
test/new-e2e/pkg/utils/e2e/client/vm.go:21
↓ 9 callersFunctionCreateServiceMapping
(val string)
pkg/serverless/trace/inferredspan/span_enrichment.go:22
↓ 9 callersMethodCreateTable
()
pkg/network/protocols/mysql/client.go:82
↓ 9 callersFunctionCritical
Critical logs at the critical level and returns an error containing the formated log message
pkg/util/log/log.go:732
↓ 9 callersFunctionCriticalStackDepth
CriticalStackDepth logs at the critical level and the current stack depth plus the additional given one and returns an error containing the formated l
pkg/util/log/log.go:803
↓ 9 callersFunctionDebug
Debug formats message using the default formats for its operands and writes to log with level = Debug
pkg/trace/log/logger.go:68
↓ 9 callersMethodDescriptor
()
pkg/metadata/payload.go:14
↓ 9 callersMethodEXPECT
()
comp/ndmtmp/forwarder/component_mock.go:17
↓ 9 callersFunctionEndOfMibViewPDU
(oid string)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:43
↓ 9 callersFunctionEnvFactoryStackDef
EnvFactoryStackDef creates a custom stack definition
test/new-e2e/pkg/utils/e2e/stack_definition.go:36
↓ 9 callersFunctionExternalMetricValueKeyFunc
ExternalMetricValueKeyFunc knows how to make keys for storing external metrics. The key is unique for each metric of an Autoscaler. This means that th
pkg/clusteragent/custommetrics/store.go:43
↓ 9 callersMethodFormatPacket
FormatPacket converts a raw SNMP trap packet to a FormattedSnmpPacket containing the JSON data and the tags to attach { "trap": { "ddsource":
pkg/snmp/traps/formatter/formatter.go:86
↓ 9 callersMethodGenerateWithTags2
GenerateWithTags2 returns the ContextKey and TagsKey hashes for the given parameters. Tags from l, r are combined to produce the key and deduplicated
pkg/aggregator/ckey/key.go:70
↓ 9 callersMethodGet
Get returns a copy of the agent metadata. Useful to be incorporated in the status page.
comp/metadata/inventoryagent/component.go:24
↓ 9 callersMethodGetAPIKeys
GetAPIKeys returns the list of API Keys associated with this `DomainResolver`
pkg/config/resolver/domain_resolver.go:32
↓ 9 callersMethodGetBlob
(blobID string)
pkg/util/trivy/cache.go:575
↓ 9 callersFunctionGetClusterID
GetClusterID looks for an env variable which should contain the cluster ID. This variable should come from a configmap, created by the cluster-agent.
pkg/util/kubernetes/clustername/clustername.go:188
↓ 9 callersMethodGetDiskSpaceUsed
()
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:23
↓ 9 callersMethodGetError
GetError returns the error.
pkg/logs/internal/status/status.go:74
↓ 9 callersFunctionGetHostTags
GetHostTags get the host tags, optionally looking in the cache There are two levels of caching: - First one controlled by `cached` boolean, used for p
comp/metadata/host/utils/tags.go:101
↓ 9 callersMethodGetIOStats
GetIOStats returns all cgroup statistics at once. Each call triggers a read from filesystem (no cache) The given IOStats object is filled with new val
pkg/util/cgroups/cgroup.go:26
↓ 9 callersMethodGetInputs
GetInputs returns the inputs handled by this source.
pkg/logs/sources/source.go:88
↓ 9 callersMethodGetLeader
GetLeader returns the identity of the last observed leader or returns the empty string if no leader has yet been observed.
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:237
↓ 9 callersMethodGetNames
GetNames return the names of the payloads
test/fakeintake/aggregator/common.go:91
↓ 9 callersMethodGetPIDStats
GetPIDStats returns all cgroup statistics at once. Each call triggers a read from filesystem (no cache) The given PIDStats object is filled with new v
pkg/util/cgroups/cgroup.go:29
↓ 9 callersMethodGetReliableEndpoints
GetReliableEndpoints returns additional endpoints that can be failed over to and block the pipeline in the event of an outage and will retry errors. T
comp/logs/agent/config/endpoints.go:159
← previousnext →1,601–1,700 of 32,574, ranked by callers