MCPcopy Create free account

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

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

↓ 5 callersFunctiondispatchKey
(cm, name, e, handle)
cmd/agent/gui/views/private/js/codemirror.js:7039
↓ 5 callersFunctiondummyHeaderContent
(tenPos int, data []byte)
pkg/logs/internal/framer/docker_stream_test.go:29
↓ 5 callersFunctiondword
(data, offset)
tasks/msi.py:94
↓ 5 callersFunctioneatWhitespace
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:778
↓ 5 callersMethodenqueue
(record *perf.Record, tm uint64, generation uint64, metric *Metric)
pkg/security/probe/eventstream/reorderer/reorderer.go:111
↓ 5 callersMethodenqueueWPA
(obj interface{})
pkg/util/kubernetes/apiserver/controller_util.go:67
↓ 5 callersFunctionensureLineWrapped
(lineView)
cmd/agent/gui/views/private/js/codemirror.js:2150
↓ 5 callersFunctionescape_path
(word)
tasks/libs/ninja_syntax.py:31
↓ 5 callersFunctioneventRecordsKeyExists
(event map[string]any, key string)
pkg/serverless/trigger/events.go:296
↓ 5 callersMethodevpProxyHandler
(apiVersion int)
pkg/trace/api/evp_proxy.go:56
↓ 5 callersFunctionexpandKprobeOrFentry
(hookpoint string, fentry bool, flag int)
pkg/security/ebpf/probes/syscall_helpers.go:93
↓ 5 callersFunctionextractCheckNames
(configs []integration.Config)
pkg/clusteragent/clusterchecks/dispatcher_test.go:41
↓ 5 callersFunctionextractFargateTask
(containerTags string)
pkg/trace/api/telemetry.go:167
↓ 5 callersFunctionextractMetricTarget
extractMetricTarget converts Kubernetes MetricTarget to our custom one https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go#L321
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/horizontalpodautoscaler.go:102
↓ 5 callersFunctionextractOrchestratorDDUrl
extractOrchestratorDDUrl contains backward compatible config parsing code.
pkg/orchestrator/config/config.go:152
↓ 5 callersFunctionextractURLAPIKeys
(agentConfig Config, converter *config.LegacyConfigConverter)
pkg/config/legacy/converter.go:236
↓ 5 callersFunctionfakePodWithEnvFieldRefValue
(name, envKey, path string)
pkg/clusteragent/admission/mutate/test_utils.go:168
↓ 5 callersFunctionfakePodWithEnvValue
(name, envKey, envVal string)
pkg/clusteragent/admission/mutate/test_utils.go:164
↓ 5 callersFunctionfakePodWithVolume
(podName, volumeName, mountPath string)
pkg/clusteragent/admission/mutate/test_utils.go:179
↓ 5 callersFunctionfetchFromMetadata
(key AgentMetadataName, metadata AgentMetadata)
pkg/metadata/inventories/host_metadata.go:77
↓ 5 callersFunctionfileTestSetup
(t *testing.T)
pkg/logs/launchers/container/tailerfactory/file_test.go:31
↓ 5 callersFunctionfindFirst
(pred, from, to)
cmd/agent/gui/views/private/js/codemirror.js:283
↓ 5 callersFunctionfindMessageType
(message []byte)
comp/dogstatsd/server/parse.go:65
↓ 5 callersFunctionfindUnexpectedUnicode
(config Config)
pkg/config/config.go:1439
↓ 5 callersMethodflowi6EntryState
()
pkg/network/tracer/offsetguess/tracer.go:691
↓ 5 callersMethodflushMetrics
()
pkg/trace/api/listener.go:67
↓ 5 callersFunctionfunctionOutputToBytes
functionOutputToBytes runs a given function and returns its output in a byte array This is used when we want to capture the output of a function that
pkg/flare/archive.go:427
↓ 5 callersFunctionfuzzNormalization
(f *testing.F, seedCorpus []string, maxLen int, normalize func(in, lang string) (string, error))
pkg/trace/traceutil/fuzz_test.go:61
↓ 5 callersFunctiongetAllKeys
(key string)
pkg/security/probe/config/config.go:254
↓ 5 callersMethodgetApmRemoteConfigEvent
(err error, errorCode int)
pkg/clusteragent/admission/patch/patch_request.go:64
↓ 5 callersFunctiongetAvailableUDPPort
getAvailableUDPPort requests a random port number and makes sure it is available
comp/dogstatsd/listeners/udp_test.go:193
↓ 5 callersMethodgetBackoffDuration
(numErrors int)
comp/forwarder/defaultforwarder/blocked_endpoints.go:106
↓ 5 callersFunctiongetBidiPartAt
(order, ch, sticky)
cmd/agent/gui/views/private/js/codemirror.js:918
↓ 5 callersMethodgetBinID
(process languagemodels.Process)
pkg/languagedetection/privileged/privileged_detector.go:108
↓ 5 callersFunctiongetBufferSize
()
pkg/network/protocols/http/model_linux_test.go:10
↓ 5 callersFunctiongetCheckContext
()
pkg/collector/python/check_context.go:28
↓ 5 callersFunctiongetConfigFiles
(fb flaretypes.FlareBuilder, confSearchPaths map[string]string)
pkg/flare/archive.go:209
↓ 5 callersMethodgetConfigs
(product string)
pkg/remoteconfig/state/repository.go:290
↓ 5 callersFunctiongetContextBefore
(cm, n, precise)
cmd/agent/gui/views/private/js/codemirror.js:1571
↓ 5 callersFunctiongetCreatePropertieWithDefaults
(props map[string]interface{})
pkg/collector/corechecks/systemd/systemd_test.go:83
↓ 5 callersFunctiongetExecutablePermissions
()
pkg/secrets/info_nix.go:27
↓ 5 callersFunctiongetFallbackHost
getFallbackHost implements the fallback strategy to get a service's IP address the current strategy is: - if there's only one network we use its IP -
pkg/autodiscovery/configresolver/configresolver.go:519
↓ 5 callersFunctiongetFileSystemInfoWithMounts
getFileSystemInfoWithMounts is an internal method to help testing with test mounts and mocking syscalls
pkg/gohai/filesystem/filesystem_nix.go:77
↓ 5 callersFunctiongetHTTP2Aggregations
(t *testing.T, encoder *http2Encoder, c network.ConnectionStats)
pkg/network/encoding/http2_test.go:358
↓ 5 callersFunctiongetHTTPAggregations
(t *testing.T, encoder *httpEncoder, c network.ConnectionStats)
pkg/network/encoding/http_test.go:347
↓ 5 callersFunctiongetHttpConnLink
(activityId etw.DDGUID)
pkg/network/protocols/http/etw_http_service.go:281
↓ 5 callersFunctiongetImageCacheKey
(containerID string)
pkg/logs/tailers/journald/tailer_util.go:62
↓ 5 callersFunctiongetIntegrationName
(packageName string)
cmd/agent/subcommands/integrations/command.go:210
↓ 5 callersFunctiongetInterfaceConfig
getInterfaceConfig retrieves snmpintegration.InterfaceConfig by index and tags
pkg/collector/corechecks/snmp/internal/report/report_utils.go:163
↓ 5 callersFunctiongetIsLeaderFunction
(leader bool)
pkg/clusteragent/externalmetrics/utils_for_test.go:23
↓ 5 callersFunctiongetMapFromCarrier
(tm tracer.TextMapReader)
pkg/serverless/trace/propagation/carriers_test.go:20
↓ 5 callersFunctiongetMarkedSpanFor
(spans, marker)
cmd/agent/gui/views/private/js/codemirror.js:543
↓ 5 callersMethodgetMemBucket
getMemBucket returns a refence to the in-memory bucket
pkg/config/remote/uptane/transactional_store.go:49
↓ 5 callersFunctiongetMetric
(s *pb.Span, k string)
pkg/trace/sampler/sampler.go:183
↓ 5 callersFunctiongetMetricDefault
getMetricDefault gets a value in the span Metrics map or default if no value is stored there.
pkg/trace/sampler/sampler.go:192
↓ 5 callersFunctiongetMetricFromProfile
(p profiledefinition.ProfileDefinition, metricName string)
pkg/collector/corechecks/snmp/internal/profile/profile_yaml_test.go:25
↓ 5 callersMethodgetMountPath
(mountID uint32, device uint32, pid uint32)
pkg/security/resolvers/mount/resolver.go:389
↓ 5 callersMethodgetNamespaceHandleDup
getNamespaceHandleDup is an internal function (see GetNamespaceHandleDup)
pkg/security/resolvers/netns/resolver.go:130
↓ 5 callersMethodgetNodeWithLessChecks
()
pkg/clusteragent/clusterchecks/dispatcher_nodes.go:115
↓ 5 callersFunctiongetOrFallback
(cache *Cache, cacheKey string, cacheValidity time.Duration, collect func() (T, error))
pkg/util/containers/metrics/provider/collector_cache.go:133
↓ 5 callersFunctiongetPointerValue
(p *T)
pkg/security/serializers/deserializers.go:18
↓ 5 callersFunctiongetResource
getResource looks up the given resourceName/GUID in the CCCache If not found and refreshOnCacheMiss is enabled, it will use the fetchFn function to fe
pkg/util/cloudproviders/cloudfoundry/cccache.go:203
↓ 5 callersMethodgetResourcesCount
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_telemetry.go:50
↓ 5 callersFunctiongetResponseWithMaxLength
(ctx context.Context, endpoint string, maxLength int)
pkg/util/cloudproviders/gce/gce.go:207
↓ 5 callersMethodgetSelectorStr
getSelectorStr internal, thread-unsafe version of GetSelectorStr
pkg/security/security_profile/dump/activity_dump.go:558
↓ 5 callersFunctiongetServiceName
()
pkg/logs/tailers/channel/tailer.go:100
↓ 5 callersFunctiongetStatus
getStatus returns the status of the message based on the value of the STREAM_TYPE field in the header, returns the status INFO by default
pkg/logs/internal/parsers/kubernetes/kubernetes.go:77
↓ 5 callersFunctiongetSystemStats
()
comp/metadata/host/utils/host_nix.go:43
↓ 5 callersFunctiongetTestEndpoint
(host string, port int, ssl bool)
comp/logs/agent/config/config_test.go:561
↓ 5 callersFunctiongetTestEndpoints
(e Endpoint)
comp/logs/agent/config/config_test.go:580
↓ 5 callersFunctiongetTestErrorsSampler
(tps float64)
pkg/trace/sampler/scoresampler_test.go:24
↓ 5 callersFunctiongetTestPod
getTestPod generates a new instance of an empty test Pod
internal/third_party/kubernetes/pkg/kubelet/types/pod_update_test.go:28
↓ 5 callersMethodgetTopicName
()
pkg/network/usm/kafka_monitor_test.go:85
↓ 5 callersFunctiongetTraceChunkWithSpanAndPriority
(span *pb.Span, priority SamplingPriority)
pkg/trace/sampler/rare_sampler_test.go:152
↓ 5 callersFunctiongetVersionFromReqLine
Parse requirements lines to get a package version. Returns the version and whether or not it was found
cmd/agent/subcommands/integrations/command.go:775
↓ 5 callersFunctionget_git_branch_name
Return the name of the current git branch
tasks/utils.py:302
↓ 5 callersFunctionget_git_commit
Get the current commit
tasks/utils.py:272
↓ 5 callersMethodhandleEvent
handleEvent handles events from workloadmeta
comp/languagedetection/client/client.go:193
↓ 5 callersFunctionhasTemplateFields
hasTemplateFields verifies that a node array contains the needed information to build a config template
pkg/autodiscovery/providers/etcd.go:206
↓ 5 callersFunctionidentityValFunc
(s string)
pkg/clusteragent/admission/mutate/auto_instrumentation.go:675
↓ 5 callersFunctionie
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callersFunctionindentLine
(cm, n, how, aggressive)
cmd/agent/gui/views/private/js/codemirror.js:7909
↓ 5 callersFunctioninitAgentDemultiplexer
(log log.Component, sharedForwarder forwarder.Forwarder, options AgentDemultiplexerOptions, hostname string)
pkg/aggregator/demultiplexer_agent.go:134
↓ 5 callersFunctioninjectLibRequirements
injectLibRequirements injects the minimal config requirements (env vars and volume mounts) to enable instrumentation
pkg/clusteragent/admission/mutate/auto_instrumentation.go:555
↓ 5 callersMethodinsertEntry
(entry, prev *model.ProcessCacheEntry, source uint64)
pkg/security/resolvers/process/resolver_linux.go:468
↓ 5 callersFunctionisLine
(doc, l)
cmd/agent/gui/views/private/js/codemirror.js:477
↓ 5 callersFunctionisRFC5424Formatted
(content []byte)
pkg/logs/internal/processor/raw.go:82
↓ 5 callersFunctionisRuneLetterAt
(s string, position int)
pkg/process/metadata/parser/service.go:206
↓ 5 callersFunctionisSpace
(c byte)
pkg/obfuscate/json_scanner.go:141
↓ 5 callersMethodis_rc
(self)
tasks/libs/version.py:69
↓ 5 callersMethoditem
Get a EVT_VARIANT* to an element in the array of structs
pkg/util/winutil/eventlog/api/windows/render.go:105
↓ 5 callersFunctionlambdaMakeChunks
(numChunks int, chunkToExpand custommetrics.ExternalMetricValue)
pkg/util/kubernetes/autoscalers/processor_test.go:398
↓ 5 callersFunctionlaunchProcessMonitor
(t *testing.T)
pkg/network/usm/sharedlibraries/watcher_test.go:38
↓ 5 callersFunctionlineParserChans
()
pkg/logs/internal/decoder/line_parser_test.go:23
↓ 5 callersMethodlistEntitiesByKind
(kind Kind)
pkg/workloadmeta/store.go:747
↓ 5 callersFunctionlist_secret_names
(input_json)
Dockerfiles/agent/secrets-helper/readsecret.py:11
↓ 5 callersFunctionloadModule
(name string)
pkg/security/tests/kernel_module_test.go:33
↓ 5 callersFunctionloaderFunc
(closeFn func(), err error)
pkg/network/tracer/connection/kprobe/tracer_test.go:171
↓ 5 callersMethodloop
loop runs one iteration of the launcher's main loop, and returns true if it should be run again.
pkg/logs/launchers/container/launcher.go:107
↓ 5 callersFunctionmakeChange
(doc, change, ignoreReadOnly)
cmd/agent/gui/views/private/js/codemirror.js:5147
← previousnext →3,401–3,500 of 32,574, ranked by callers