MCPcopy Create free account

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

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

↓ 2 callersFunctionstoreGenerators
(cfg config.Config)
pkg/workloadmeta/collectors/internal/kubeapiserver/kubeapiserver.go:37
↓ 2 callersFunctionstrToRegexList
(patterns []string)
pkg/diagnose/runner.go:152
↓ 2 callersFunctionstressExec
Stress test of fork/exec syscalls
pkg/security/tests/stress_test.go:174
↓ 2 callersFunctionstringSliceContain
(slice []string, x string)
pkg/collector/corechecks/system/disk/disk.go:152
↓ 2 callersFunctionstripSemi
(str)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 2 callersMethodsubTestInstallAgentVersion
(os ec2os.Type)
test/new-e2e/test-infra-definition/cross_platform_test.go:66
↓ 2 callersFunctionsubmitContainerResourceMetric
submitContainerResourceMetric can be called by container resource metric transformers to submit resource-specific metrics metricSuffix can be either r
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:293
↓ 2 callersFunctionsubmitNodeResourceMetric
submitNodeResourceMetric can be called by node resource metric transformers to submit resource-specific metrics metricSuffix can be either allocatable
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:321
↓ 2 callersFunctionsubmitPacket
(buf []byte, conn *net.UDPConn)
test/benchmarks/dogstatsd/main.go:172
↓ 2 callersFunctionsubsetsDiffer
subsetsDiffer detects if two Endpoints have different subsets. The function is separated from endpointsDiffer to facilitate testing.
pkg/autodiscovery/listeners/kube_endpoints.go:276
↓ 2 callersFunctionsubstituteTemplateVariables
substituteTemplateVariables replaces %%VARIABLES%% in the config init, instances, and logs config. When there is an error, it stops processing. Insid
pkg/autodiscovery/configresolver/configresolver.go:122
↓ 2 callersMethodsyncCache
syncCache snapshots /proc for the provided pid. This method returns true if it updated the process cache.
pkg/security/resolvers/process/resolver_linux.go:1161
↓ 2 callersMethodsyncEndpoints
(key string)
pkg/util/kubernetes/apiserver/metadata_controller.go:194
↓ 2 callersMethodsyncPid
(pid uint32)
pkg/security/resolvers/mount/resolver.go:117
↓ 2 callersFunctionsyncSourceInfo
Since a single source can have multiple file tailers - each with their own decoder instance: make sure we sync info providers from all of the decoders
pkg/logs/internal/decoder/decoder.go:83
↓ 2 callersFunctionsysOpenAt2Supported
()
pkg/network/usm/sharedlibraries/ebpf.go:165
↓ 2 callersFunctionsysfsHeadersExist
()
pkg/util/kernel/find_headers.go:408
↓ 2 callersFunctionsystemdFactory
()
pkg/collector/corechecks/systemd/systemd.go:561
↓ 2 callersFunctiontagNotFound
(scan *scanTask)
cmd/agentless-scanner/main.go:1694
↓ 2 callersFunctiontagVals
(m *metricBase)
pkg/network/protocols/telemetry/prometheus.go:89
↓ 2 callersMethodtagValues
tagValues converts TracesDropped into a map representation with keys matching standardized names for all reasons
pkg/trace/info/stats.go:234
↓ 2 callersMethodtagValues
tagValues converts SpansMalformed into a map representation with keys matching standardized names for all reasons
pkg/trace/info/stats.go:301
↓ 2 callersFunctiontag_version
Create tags for a given Datadog Agent version. The version should be given as an Agent 7 version. * --commit COMMIT will tag COMMIT with
tasks/release.py:815
↓ 2 callersFunctiontaggerCardinality
taggerCardinality converts tagger cardinality string to collectors.TagCardinality It defaults to DogstatsdCardinality if the string is empty or unknow
pkg/tagger/global.go:290
↓ 2 callersMethodtags
tags returns the added tags.
pkg/util/kubernetes/tags/builder.go:38
↓ 2 callersFunctiontagsFromHeaders
(h http.Header)
pkg/trace/api/otlp.go:103
↓ 2 callersMethodtagsToStringArray
()
pkg/logs/message/origin.go:75
↓ 2 callersFunctiontakeToken
(cm, pos, precise, asArray)
cmd/agent/gui/views/private/js/codemirror.js:1626
↓ 2 callersFunctiontcFiltersExist
(netNs *utils.NetNSPath, linkName string, ingressFilterNamePrefix, egressFilterNamePrefix string)
pkg/security/tests/network_device_test.go:241
↓ 2 callersFunctionteardownDNAT
teardownDNAT cleans up the resources created by SetupDNAT
pkg/network/netlink/testutil/conntrack.go:71
↓ 2 callersFunctiontestAddRequest
(t *testing.T, aggregateByStatusCode bool)
pkg/network/protocols/http/stats_test.go:26
↓ 2 callersMethodtestAgent
(endpoints *config.Endpoints)
comp/logs/agent/agent_test.go:121
↓ 2 callersFunctiontestCleanup
()
pkg/collector/corechecks/system/wincrashdetect/wincrashdetect_windows_test.go:50
↓ 2 callersFunctiontestCombineWith
(t *testing.T, aggregateByStatusCode bool)
pkg/network/protocols/http/stats_test.go:57
↓ 2 callersFunctiontestConfig
()
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe_test.go:174
↓ 2 callersFunctiontestConfig
()
pkg/collector/corechecks/ebpf/probe/oomkill/oom_kill_test.go:109
↓ 2 callersFunctiontestConntrackExists
(t *testing.T, laddrIP string, laddrPort int, proto string, testNs netns.NsHandle, ctrks map[netns.NsHandle]Co
pkg/network/netlink/conntrack_integration_test.go:246
↓ 2 callersFunctiontestConntrackExists6
(t *testing.T, laddrIP string, laddrPort int, proto string, testNs netns.NsHandle, ctrks map[netns.NsHandle]Co
pkg/network/netlink/conntrack_integration_test.go:329
↓ 2 callersFunctiontestConntracker
(t *testing.T, serverIP, clientIP net.IP, ct netlink.Conntracker, cfg *config.Config)
pkg/network/tracer/conntracker_test.go:107
↓ 2 callersFunctiontestDemuxSamples
(t *testing.T)
pkg/aggregator/demultiplexer_agent_test.go:23
↓ 2 callersFunctiontestDogStatsDReverseProxyEndToEndUDP
(t *testing.T, cfg *config.AgentConfig)
pkg/trace/api/dogstatsd_test.go:79
↓ 2 callersMethodtestDogstatsd
(kubeNamespace string)
test/new-e2e/tests/containers/k8s_test.go:507
↓ 2 callersFunctiontestEventProcessorFromConf
(t *testing.T, conf *config.AgentConfig, testCase eventProcessorTestCase)
pkg/trace/agent/agent_test.go:1438
↓ 2 callersFunctiontestExtractor
(t *testing.T, extractor Extractor, testCase extractorTestCase)
pkg/trace/event/extractor_test.go:24
↓ 2 callersFunctiontestFilterOpenParentDiscarder
(t *testing.T, parents ...string)
pkg/security/tests/filters_test.go:238
↓ 2 callersFunctiontestFormatHTTP2Stats
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http2_test.go:44
↓ 2 callersFunctiontestFormatHTTP2StatsByPath
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http2_test.go:134
↓ 2 callersFunctiontestFormatHTTPStats
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http_test.go:34
↓ 2 callersFunctiontestFormatHTTPStatsByPath
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http_test.go:126
↓ 2 callersFunctiontestGetCmdline
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:117
↓ 2 callersFunctiontestGetLinkWithAuthCheck
(t *testing.T)
pkg/process/procutil/process_linux_test.go:1064
↓ 2 callersFunctiontestGroupId
(groupID int32)
pkg/process/checks/process_discovery_check_test.go:17
↓ 2 callersMethodtestHPA
(namespace, deployment string)
test/new-e2e/tests/containers/k8s_test.go:604
↓ 2 callersFunctiontestHTTP2IDCollisionRegression
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http2_test.go:216
↓ 2 callersFunctiontestHTTP2LocalhostScenario
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http2_test.go:285
↓ 2 callersFunctiontestHTTP2SerializationWithLocalhostTraffic
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/encoding_test.go:682
↓ 2 callersFunctiontestHTTP2Stats
(t *testing.T, aggregateByStatusCode bool)
pkg/network/state_test.go:1425
↓ 2 callersFunctiontestHTTP2StatsWithMultipleClients
(t *testing.T, aggregateByStatusCode bool)
pkg/network/state_test.go:1538
↓ 2 callersFunctiontestHTTPSerializationWithLocalhostTraffic
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/encoding_test.go:512
↓ 2 callersFunctiontestHTTPStats
(t *testing.T, aggregateByStatusCode bool)
pkg/network/state_test.go:1388
↓ 2 callersFunctiontestHTTPStats
(t *testing.T, aggregateByStatusCode bool)
pkg/network/usm/monitor_test.go:131
↓ 2 callersFunctiontestHTTPStatsWithMultipleClients
(t *testing.T, aggregateByStatusCode bool)
pkg/network/state_test.go:1466
↓ 2 callersFunctiontestIDCollisionRegression
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http_test.go:207
↓ 2 callersFunctiontestInject
(t *testing.T, prefix string)
pkg/network/protocols/tls/java/jattach_test.go:23
↓ 2 callersFunctiontestInt64Field
(t *testing.T, name string, get func(span *Span) int64)
pkg/proto/pbgo/trace/span_gen_modifs_test.go:110
↓ 2 callersFunctiontestLocalhostScenario
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/http_test.go:275
↓ 2 callersFunctiontestMessageDump
(t *testing.T, f *os.File, serverIP, clientIP net.IP)
pkg/network/netlink/conntracker_integration_test.go:103
↓ 2 callersFunctiontestNewUDSListener
(t *testing.T, listenerFactory udsListenerFactory, transport string)
comp/dogstatsd/listeners/uds_common_test.go:77
↓ 2 callersFunctiontestParseIO
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:801
↓ 2 callersFunctiontestParseStat
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:932
↓ 2 callersFunctiontestParseStatm
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:1003
↓ 2 callersFunctiontestParseStatmStatusMatch
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:1038
↓ 2 callersFunctiontestParseStatus
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:671
↓ 2 callersFunctiontestPodMessageMetadata
(t *testing.T, clusterID string, c *CheckRunner, ep *mockEndpoint)
pkg/process/runner/collector_api_test.go:414
↓ 2 callersFunctiontestProcessesByPID
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:156
↓ 2 callersFunctiontestRegularFile
(t *testing.T, label string, exists bool)
internal/third_party/kubernetes/pkg/kubelet/cri/remote/util/util_windows_test.go:119
↓ 2 callersFunctiontestSerialization
(t *testing.T, aggregateByStatusCode bool)
pkg/network/encoding/encoding_test.go:205
↓ 2 callersFunctiontestServer
(t *testing.T)
pkg/trace/info/info_test.go:63
↓ 2 callersFunctiontestServerlessOTLPAgentReceivesTraces
(client otlptrace.Client, traceChan <-chan struct{})
pkg/serverless/otlp/otlp_test.go:103
↓ 2 callersFunctiontestSetup
(t *testing.T)
pkg/collector/corechecks/system/wincrashdetect/wincrashdetect_windows_test.go:42
↓ 2 callersFunctiontestStartStopUDSListener
(t *testing.T, listenerFactory udsListenerFactory, transport string)
comp/dogstatsd/listeners/uds_common_test.go:94
↓ 2 callersFunctiontestStatsForPIDs
(t *testing.T, probeOptions ...Option)
pkg/process/procutil/process_linux_test.go:246
↓ 2 callersFunctiontestStop
(t *testing.T)
comp/forwarder/defaultforwarder/forwarder_test.go:112
↓ 2 callersFunctiontestUDPReusePort
(t *testing.T, udpnet string, ip string)
pkg/network/tracer/tracer_linux_test.go:1289
↓ 2 callersFunctiontestUDPSendAndReceive
(t *testing.T, tr *Tracer, addr string)
pkg/network/tracer/tracer_test.go:424
↓ 2 callersFunctiontestUDSOriginDetection
testUDSOriginDetection ensures UDS origin detection works, by submitting a metric from a container. As we need the origin PID to stay running, we can'
test/integration/dogstatsd/origin_detection.go:38
↓ 2 callersFunctiontestUDSReceive
(t *testing.T, listenerFactory udsListenerFactory, transport string)
comp/dogstatsd/listeners/uds_common_test.go:116
↓ 2 callersFunctiontestUint64Field
(t *testing.T, name string, get func(span *Span) uint64)
pkg/proto/pbgo/trace/span_gen_modifs_test.go:81
↓ 2 callersFunctiontestWorkingNewUDSListener
(t *testing.T, socketPath string, cfg map[string]interface{}, listenerFactory udsListenerFactory)
comp/dogstatsd/listeners/uds_common_test.go:65
↓ 2 callersFunctiontest_flavor
Runs unit tests for given flavor, build tags, and modules.
tasks/test.py:359
↓ 2 callersMethodtestsetup
()
pkg/collector/corechecks/windows_event_log/check_test.go:78
↓ 2 callersFunctionthemeChanged
(cm)
cmd/agent/gui/views/private/js/codemirror.js:7537
↓ 2 callersMethodtick
Tick sets up the collector to collect processes by advancing the clock
pkg/process/metadata/workloadmeta/collector/process_test.go:127
↓ 2 callersFunctiontimeFromMessage
(msg events.Message)
pkg/util/docker/event_pull.go:147
↓ 2 callersFunctiontimeoutFromEnv
timeoutFromEnv reads the environment variable named @envVariable and returns a go duration for that many seconds. Returns defaultFxTimeout (5 minutes)
pkg/util/fxutil/timeout.go:45
↓ 2 callersMethodtmpPath
()
pkg/network/protocols/tls/java/hotspot.go:78
↓ 2 callersFunctiontoCamelCase
(s string)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:310
↓ 2 callersFunctiontoConntrackTupleFromStats
(src *netebpf.ConntrackTuple, stats *network.ConnectionStats)
pkg/network/tracer/ebpf_conntracker.go:225
↓ 2 callersMethodtoDebugEpEvents
toDebugEpEvents transforms the raw event platform messages to eventPlatformDebugEvents which are better for json formatting
pkg/aggregator/demultiplexer_agent_printer.go:131
↓ 2 callersFunctiontoKubernetesServiceChecks
toKubernetesServiceChecks generates integration configs to target kubernetes services (cluster checks) based on advanced AD identifiers.
pkg/autodiscovery/providers/kube_services_file.go:56
← previousnext →9,101–9,200 of 32,574, ranked by callers