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
↓ 8 callers
Function
addMetricVal
(ms map[string]*metric, key string, val int64)
pkg/security/tests/discarders_stress_test.go:83
↓ 8 callers
Method
addNotEmpty
addNotEmpty builds and appends non-empty tags. It discards the tag if one of the arguments is empty.
pkg/util/kubernetes/tags/builder.go:31
↓ 8 callers
Function
addTag
(tagMap map[string]string, tag string)
pkg/serverless/tags/tags.go:208
↓ 8 callers
Function
addTransaction
( r *require.Assertions, capacity *QueueDurationCapacity, domain string, payloadSize int, unixTime int64)
comp/forwarder/defaultforwarder/internal/retry/queue_duration_capacity_test.go:97
↓ 8 callers
Function
alignTs
alignTs returns the provided timestamp truncated to the bucket size. It gives us the start time of the time bucket in which such timestamp falls.
pkg/trace/stats/concentrator.go:311
↓ 8 callers
Function
assertAggSamplersLen
(t *testing.T, agg *BufferedAggregator, n int)
pkg/aggregator/sender_test.go:54
↓ 8 callers
Function
assertConfigValueEqual
(t *testing.T, config map[interface{}]interface{}, key string, expectedValue interface{})
test/new-e2e/tests/agent-subcommands/config/config_helpers.go:47
↓ 8 callers
Function
assertFilesExist
assertFilesExist verifies that all files in filenames exist in the flare archive
test/new-e2e/tests/agent-subcommands/flare/flare_helpers.go:17
↓ 8 callers
Function
assertMetaVersion
(t *testing.T, state map[string]MetaState, metaName string, version uint64)
pkg/config/remote/uptane/client_test.go:131
↓ 8 callers
Function
assertNothingInChannel
(t *testing.T, ch chan *message.Message)
pkg/logs/internal/decoder/line_handler_test.go:40
↓ 8 callers
Function
assertingServer
asserting Server starts a TLS Server with provided callback function used to perform assertions on the contents of the request the server received. If
pkg/trace/api/telemetry_test.go:26
↓ 8 callers
Function
benchmarkJSONPayloadBuilderServiceCheck
(b *testing.B, numberOfItem int)
pkg/serializer/internal/metrics/service_checks_test.go:169
↓ 8 callers
Function
benchmarkPayloadsServiceCheck
(b *testing.B, numberOfItem int)
pkg/serializer/internal/metrics/service_checks_test.go:205
↓ 8 callers
Function
benchmarkSplit
(b *testing.B, numberOfEvents int)
pkg/serializer/serializer_benchmark_test.go:53
↓ 8 callers
Method
close
(self)
test/e2e/cws-tests/tests/lib/docker.py:148
↓ 8 callers
Method
configureRunner
(instance, initConfig integration.Data)
pkg/collector/corechecks/embed/jmx/runner.go:42
↓ 8 callers
Function
countEvents
(check *Check, senderEventCall *mock.Call, numEvents uint)
pkg/collector/corechecks/windows_event_log/check_test.go:156
↓ 8 callers
Function
createDefaultMockSystemdStats
()
pkg/collector/corechecks/systemd/systemd_test.go:37
↓ 8 callers
Function
createTmpSysctl
(t *testing.T, procRoot, sysctl string, v string)
pkg/network/config/sysctl/sysctl_test.go:101
↓ 8 callers
Function
createTransactionWithPayloadSize
(payloadSize int)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue_test.go:148
↓ 8 callers
Method
dequeue
(handler func(record *perf.Record), generation uint64, metric *Metric, opts *Opts)
pkg/security/probe/eventstream/reorderer/reorderer.go:123
↓ 8 callers
Function
disableCmdPort
disableCmdPort overrrides the `cmd_port` configuration so that when the server starts up, it does not do so on the same port as a running agent. Idea
cmd/agent/subcommands/jmx/command.go:224
↓ 8 callers
Method
dump
(params *api.DumpNetworkNamespaceParams)
pkg/security/resolvers/netns/resolver.go:565
↓ 8 callers
Method
endExecutionSpan
endExecutionSpan builds the function execution span and sends it to the intake. It should be called at the end of the invocation.
pkg/serverless/invocationlifecycle/trace.go:76
↓ 8 callers
Method
equals
(other batch)
comp/languagedetection/client/client_test.go:1046
↓ 8 callers
Function
escape
(in string)
pkg/security/security_profile/activity_tree/activity_tree_proto_enc_v1.go:303
↓ 8 callers
Function
execCommand
(inputPayload string)
pkg/secrets/fetch_secret.go:44
↓ 8 callers
Method
executeCommand
(command string, commandArgs ...AgentArgsOption)
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:40
↓ 8 callers
Method
extractFromMapWithFn
(input map[string]string, mapping map[string]string, fn func(string, string))
pkg/tagger/collectors/workloadmeta_extract.go:667
↓ 8 callers
Function
extractLabelSelector
(ls *metav1.LabelSelector)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/common.go:54
↓ 8 callers
Function
extractShortPathFromFullPath
(fullPath string)
pkg/config/logs/log.go:439
↓ 8 callers
Function
extractTraceContextFromDatadogHeader
(ddPayloadValue events.SQSMessageAttribute)
pkg/serverless/trace/inferredspan/propagation.go:102
↓ 8 callers
Function
fastHeaderGet
fastHeaderGet returns the given key from the header, avoiding the caonical transformation of key that is normally applied by http.Header.Get.
pkg/trace/api/otlp.go:122
↓ 8 callers
Function
fetchSecret
fetchSecret receives a list of secrets name to fetch, exec a custom executable to fetch the actual secrets and returns them.
pkg/secrets/fetch_secret.go:120
↓ 8 callers
Method
flowI4Ranges
()
pkg/network/tracer/offsetguess/overlaps.go:70
↓ 8 callers
Method
flowI6Ranges
()
pkg/network/tracer/offsetguess/overlaps.go:86
↓ 8 callers
Method
flush
()
pkg/logs/internal/decoder/multiline_handler.go:63
↓ 8 callers
Method
frame
frame returns the current frame
pkg/network/netlink/attribute_scanner.go:150
↓ 8 callers
Function
ge
(t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 8 callers
Function
getConf
()
pkg/trace/api/debugger_test.go:276
↓ 8 callers
Function
getConfigFloat
(cfg config.Reader, subkey string)
comp/dogstatsd/listeners/ratelimit/mem_based_rate_limiter.go:93
↓ 8 callers
Function
getContainerTags
getContainerTag returns container and orchestrator tags belonging to containerID. If containerID is empty or no tags are found, an empty string is ret
pkg/trace/api/api.go:747
↓ 8 callers
Function
getEndpoint
(t *testing.T, u string)
pkg/process/util/api/config/endpoint_test.go:86
↓ 8 callers
Method
getEntity
(entityID string)
pkg/tagger/remote/tagstore.go:66
↓ 8 callers
Function
getMetadataItem
(ctx context.Context, endpoint string, forceIMDSv2 bool)
pkg/util/ec2/imds_helpers.go:70
↓ 8 callers
Method
getSecretName
()
pkg/clusteragent/admission/controllers/webhook/config.go:52
↓ 8 callers
Method
getSecretNs
()
pkg/clusteragent/admission/controllers/webhook/config.go:53
↓ 8 callers
Method
getTargetFile
(path string)
pkg/config/remote/uptane/target_store.go:36
↓ 8 callers
Method
getValue
getValue returns value, error
pkg/autodiscovery/providers/consul.go:243
↓ 8 callers
Function
get_resources_in_stack
(stack, list_fn)
tasks/kernel_matrix_testing/libvirt.py:8
↓ 8 callers
Function
handler
(_event, _context)
test/integration/serverless/src/appSecPython.py:4
↓ 8 callers
Function
httpsSupported
()
pkg/network/tracer/tracer_usm_linux_test.go:62
↓ 8 callers
Method
increaseRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:49
↓ 8 callers
Function
initDNSTestsWithDomainCollection
(t *testing.T, localDNS bool)
pkg/network/dns/snooper_test.go:100
↓ 8 callers
Method
insert
insert adds an item into a multimap
pkg/autodiscovery/multimap.go:20
↓ 8 callers
Function
isAllowedTag
(value string, includeList, excludeList []*regexp.Regexp)
pkg/util/cloudproviders/cloudfoundry/types.go:381
↓ 8 callers
Function
isEnabled
(envValue string)
cmd/serverless-init/log/log.go:59
↓ 8 callers
Method
isPause
(namespace string, containerID string)
pkg/collector/corechecks/containers/containerd/events.go:154
↓ 8 callers
Method
is_iot
(self)
tasks/flavor.py:11
↓ 8 callers
Function
isaffirmative
(o optional.Option[bool])
pkg/collector/corechecks/windows_event_log/config_helpers.go:63
↓ 8 callers
Method
loadMeta
(name string, loadContent bool)
pkg/compliance/k8sconfig/loader.go:117
↓ 8 callers
Function
loadYamlProfiles
loadYamlProfiles will load the profiles from disk only once and store it in globalProfileConfigMap. The subsequent call to it will return profiles sto
pkg/collector/corechecks/snmp/internal/profile/profile_yaml.go:34
↓ 8 callers
Function
makeSpec
(metricName string, labels map[string]string)
pkg/util/kubernetes/autoscalers/autoscalers_test.go:441
↓ 8 callers
Method
makeTailer
makeTailer makes a new tailer, using function pointers to allow testing.
pkg/logs/launchers/container/tailerfactory/factory.go:73
↓ 8 callers
Function
markFilteredGroupable
markFilteredGroupable returns the appropriate TokenKind to mark this token as filtered groupable.
pkg/obfuscate/sql.go:275
↓ 8 callers
Function
matchLogsConfig
matchLogsConfig matches config.LogsConfig (for verifying templates are applied)
pkg/autodiscovery/configmgr_test.go:91
↓ 8 callers
Function
max
max returns the maximum value between a and b.
cmd/agent/api/internal/agent/agent.go:525
↓ 8 callers
Function
mergeKeyValues
mergeKeyValues merges label keys and values slice pairs into a single slice pair. Arguments are passed as equal-length pairs of slices, where the firs
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:157
↓ 8 callers
Method
mkDir
(name string)
pkg/logs/launchers/file/provider/file_provider_test.go:62
↓ 8 callers
Function
newCgroupV2
(identifier, cgroupRoot, relativePath string, controllers map[string]struct{}, pidMapper pidMapper)
pkg/util/cgroups/cgroupv2.go:23
↓ 8 callers
Function
newCollectTWithLog
(t *assert.CollectT, logf func(format string, args ...interface{}))
pkg/collector/corechecks/windows_event_log/check_test.go:57
↓ 8 callers
Function
newConntracker
(maxSize int)
pkg/network/netlink/conntracker_test.go:427
↓ 8 callers
Function
newFakeKubeletPodEndpointAddress
(nodeName string, pod *kubelet.Pod)
pkg/util/kubernetes/apiserver/services_kubelet_test.go:277
↓ 8 callers
Function
newJSONObfuscator
(cfg *JSONConfig, o *Obfuscator)
pkg/obfuscate/json.go:47
↓ 8 callers
Method
newLogSources
newLogSources returns a new log source initialized with the right path.
pkg/logs/launchers/file/provider/file_provider_test.go:76
↓ 8 callers
Function
newProcessCache
(maxProcs int, filteredEnvs []string)
pkg/network/tracer/process_cache.go:77
↓ 8 callers
Function
newSender
newSender returns a new sender based on the given config cfg.
pkg/trace/writer/sender.go:154
↓ 8 callers
Function
newTestEvaluationSet
Test Utilities
pkg/security/secl/rules/evaluation_set_test.go:895
↓ 8 callers
Function
newVM
(t *testing.T)
pkg/security/ebpf/tests/helpers_test.go:59
↓ 8 callers
Method
nfConnRanges
()
pkg/network/tracer/offsetguess/overlaps.go:116
↓ 8 callers
Function
obfuscatePairIfNeeded
(pair string, envMap map[string]bool)
pkg/serverless/debug/debug.go:44
↓ 8 callers
Method
parseMetricSample
parseMetricSample parses the given message and return the dogstatsdMetricSample read.
comp/dogstatsd/server/parse.go:109
↓ 8 callers
Function
parseStringBytes
parseStringBytes reads the next type in the msgpack payload and converts the BinType or the StrType in a valid string.
pkg/proto/pbgo/trace/decoder_bytes.go:40
↓ 8 callers
Function
payloadWithCounts
(ts time.Time, k BucketsAggregationKey, hits, errors, duration uint64)
pkg/trace/stats/client_stats_aggregator_test.go:47
↓ 8 callers
Function
processCheckWithMockProbe
(t *testing.T)
pkg/process/checks/process_test.go:33
↓ 8 callers
Method
processNewService
processNewService handles a new service, with the given AD identifiers
pkg/autodiscovery/configmgr.go:28
↓ 8 callers
Function
rateValue
(current, previous float64, currentTs, previousTs time.Time)
pkg/process/util/containers/containers.go:333
↓ 8 callers
Method
recover
(endpoint string)
comp/forwarder/defaultforwarder/blocked_endpoints.go:79
↓ 8 callers
Function
regLineChange
(cm, line, type)
cmd/agent/gui/views/private/js/codemirror.js:3940
↓ 8 callers
Function
removeChildren
(e)
cmd/agent/gui/views/private/js/codemirror.js:61
↓ 8 callers
Function
renderErrors
(w io.Writer, errs []error)
pkg/status/render.go:343
↓ 8 callers
Method
replaceBy
(start, end int, replaceBy string)
pkg/security/security_profile/activity_tree/paths_reducer.go:45
↓ 8 callers
Function
resetView
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3954
↓ 8 callers
Function
serializeTestMeta
(meta interface{})
pkg/config/remote/uptane/util_test.go:45
↓ 8 callers
Method
setUnsafeReader
(reader io.ReadCloser)
pkg/logs/tailers/docker/reader.go:29
↓ 8 callers
Function
setupFipsLogsConfig
(config Config, configPrefix string, url string)
pkg/config/config.go:1749
↓ 8 callers
Function
simpleSelection
(anchor, head)
cmd/agent/gui/views/private/js/codemirror.js:4520
↓ 8 callers
Function
sleepAborted
(ctx context.Context, ch <-chan time.Time)
pkg/compliance/agent.go:620
↓ 8 callers
Function
sleepCtx
(ctx context.Context, d time.Duration)
cmd/agentless-scanner/main.go:2623
↓ 8 callers
Function
standardTagsDigest
standardTagsDigest computes the hash of standard tags in a map
pkg/autodiscovery/listeners/common.go:56
← previous
next →
2,001–2,100 of 32,574, ranked by callers