MCPcopy Create free account

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

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

↓ 2 callersFunctionfollow_workflow_run
Follow the workflow run until completion and return its conclusion.
tasks/libs/github_actions_tools.py:93
↓ 2 callersFunctionforEachCodeMirror
(f)
cmd/agent/gui/views/private/js/codemirror.js:6510
↓ 2 callersMethodforEachDomainPath
(callback func(folderPath string) ([]string, error))
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:90
↓ 2 callersMethodforEachModule
(fn func(name string, mod Module))
cmd/system-probe/api/module/loader.go:48
↓ 2 callersFunctionformatColonSepBytes
(val []byte)
pkg/collector/corechecks/snmp/internal/report/report_format.go:40
↓ 2 callersFunctionformatError
(v ...interface{})
pkg/util/log/log.go:414
↓ 2 callersFunctionformatErrorf
(format string, params ...interface{})
pkg/util/log/log.go:409
↓ 2 callersFunctionformatIORates
(ioRateStat *procutil.IOCountersRateStat)
pkg/process/checks/process.go:524
↓ 2 callersFunctionformatIP
(low, high uint64)
pkg/network/protocols/http/debugging/debugging.go:80
↓ 2 callersFunctionformatIP
(low, high uint64)
pkg/network/protocols/kafka/debugging/debugging.go:69
↓ 2 callersMethodformatMessage
(level, message string)
pkg/internaltelemetry/sender.go:139
↓ 2 callersFunctionformatRouteIdx
(v *network.Via, routes map[string]RouteIdx)
pkg/network/encoding/format.go:228
↓ 2 callersFunctionformatText
(c *probe.WinCrashStatus)
comp/checks/agentcrashdetect/agentcrashdetectimpl/agentcrashdetect.go:194
↓ 2 callersFunctionformatType
(variable gosnmp.SnmpPDU)
pkg/snmp/traps/formatter/formatter.go:325
↓ 2 callersFunctionformatUser
(fp *procutil.Process, uidProbe *LookupIdProbe)
pkg/process/checks/process_nix.go:27
↓ 2 callersFunctionformatValue
(value valuestore.ResultValue, format string)
pkg/collector/corechecks/snmp/internal/report/report_format.go:17
↓ 2 callersFunctionforwardSignals
(process *os.Process, sigs chan os.Signal)
cmd/serverless-init/initcontainer/initcontainer.go:93
↓ 2 callersFunctionfreeTCPPort
freePort returns a random and free TCP port.
pkg/trace/api/api_nix_test.go:132
↓ 2 callersFunctionfromCoordSystem
(cm, coords, context)
cmd/agent/gui/views/private/js/codemirror.js:2654
↓ 2 callersFunctionfromFargate
(_ context.Context, _ string)
pkg/util/hostname/common.go:73
↓ 2 callersFunctionfromOS
(ctx context.Context, currentHostname string)
pkg/util/hostname/common.go:104
↓ 2 callersFunctionfulfillDeps
(t testing.TB, overrides map[string]interface{})
comp/dogstatsd/serverDebug/serverdebugimpl/debug_test.go:26
↓ 2 callersMethodgatherDefaultPolicyProviders
()
pkg/security/rules/engine.go:327
↓ 2 callersMethodgenPartials
GenPartials - Compiles and generates partial Evaluators
pkg/security/secl/compiler/eval/rule.go:270
↓ 2 callersFunctiongenTags
(count int, div int)
pkg/aggregator/ckey/key_test.go:105
↓ 2 callersFunctiongenTestConfigs
(dir string, opts testOpts, testDir string)
pkg/security/tests/module_tester.go:732
↓ 2 callersFunctiongen_datadog_agent_config
(hostname="myhost", log_level="INFO", tags=None, rc_enabled=False, rc_key=None)
test/e2e/cws-tests/tests/lib/config.py:28
↓ 2 callersFunctiongenerate
()
pkg/aggregator/ckey/sort_test.go:69
↓ 2 callersMethodgenerateConfig
(e workloadmeta.Entity)
pkg/autodiscovery/providers/container.go:160
↓ 2 callersFunctiongenerateConfigs
generateConfigs creates a config template for each Endpoints IP
pkg/autodiscovery/providers/kube_endpoints.go:281
↓ 2 callersMethodgenerateConfigs
generateConfigs transforms the cached config templates into collectable integration.Config objects
pkg/autodiscovery/providers/kube_endpoints_file.go:260
↓ 2 callersFunctiongenerateConnectionKey
(c ConnectionStats, buf []byte, useNAT bool)
pkg/network/event_common.go:432
↓ 2 callersMethodgenerateContainerConfig
(container *workloadmeta.Container)
pkg/autodiscovery/providers/container.go:264
↓ 2 callersFunctiongenerateData
(points int, items int, tags int)
pkg/serializer/series_benchmark_test.go:24
↓ 2 callersFunctiongenerateDistribution
(t *testing.T, now time.Time, generator func(i int) int64)
pkg/trace/stats/concentrator_test.go:582
↓ 2 callersFunctiongenerateEvent
(numberOfEvent int, sender sender.Sender)
test/benchmarks/aggregator/metrics.go:36
↓ 2 callersFunctiongenerateFileData
(size int)
pkg/security/resolvers/hash/resolver_test.go:25
↓ 2 callersFunctiongenerateHelperDefines
(availableFns []string, allFns []string, out io.Writer)
pkg/ebpf/bytecode/runtime/helpers.go:63
↓ 2 callersFunctiongenerateMetrics
(numberOfSeries int, pointPerSeries int, senderMetric senderFunc)
test/benchmarks/aggregator/metrics.go:24
↓ 2 callersMethodgenerateNewFile
()
pkg/security/tests/files_generator.go:189
↓ 2 callersFunctiongenerateRCTargetFileMeta
(data []byte, version int64)
pkg/remoteconfig/state/testingutils_test.go:155
↓ 2 callersFunctiongenerateRandConnections
(n int)
pkg/network/state_test.go:2147
↓ 2 callersFunctiongenerateRandomTags
(tagSize, listSize int)
pkg/aggregator/ckey/sort_test.go:24
↓ 2 callersMethodgenerateReportedValue
(wcs probe.WinCrashStatus)
pkg/util/winutil/crashreport/crashreport.go:47
↓ 2 callersFunctiongenerateRoot
(key keys.Signer, version int64, timestampKey keys.Signer, targetsKey keys.Signer, snapshotKey keys.Signer, pr
pkg/config/remote/uptane/client_test.go:415
↓ 2 callersFunctiongenerateServiceCheck
(numberOfSC int, sender sender.Sender)
test/benchmarks/aggregator/metrics.go:55
↓ 2 callersFunctiongenerateSnapshot
(orgID int, key keys.Signer, version int64, targetsVersion int64)
pkg/config/remote/uptane/client_test.go:472
↓ 2 callersFunctiongenerateTagHash
generateTagHash creates a sorted string representation of the tags supplied. The resulting string that it returns is the concatenated key-value pairs
pkg/collector/corechecks/containers/kubelet/provider/pod/provider.go:227
↓ 2 callersMethodgenerateTemplates
()
pkg/clusteragent/admission/controllers/webhook/controller_v1.go:186
↓ 2 callersMethodgenerateTemplates
()
pkg/clusteragent/admission/controllers/webhook/controller_v1beta1.go:186
↓ 2 callersFunctiongenerateTimestamp
(key keys.Signer, version int64, snapshotVersion int64, snapshot []byte)
pkg/config/remote/uptane/client_test.go:450
↓ 2 callersMethodget
(now time.Time)
pkg/network/config/sysctl/sysctl.go:39
↓ 2 callersMethodget
(now time.Time)
pkg/network/config/sysctl/sysctl.go:69
↓ 2 callersMethodget
(ctx context.Context, path string, v interface{})
pkg/util/ecs/metadata/v2/client.go:85
↓ 2 callersMethodget
(ctx context.Context, path string, v interface{})
pkg/util/ecs/metadata/v3or4/client.go:75
↓ 2 callersMethodget
(ctx context.Context, path string, v interface{})
pkg/util/ecs/metadata/v1/client.go:78
↓ 2 callersMethodget
(route string)
test/fakeintake/client/client.go:485
↓ 2 callersFunctiongetAPIEndpointsWithKeys
(config ddconfig.Reader, prefix, defaultEpKey, additionalEpsKey string)
pkg/process/runner/endpoint/endpoints.go:27
↓ 2 callersFunctiongetActionCallback
(action string)
cmd/system-probe/utils/memory_monitor_linux.go:32
↓ 2 callersMethodgetActiveConnectionsCount
getActiveConnectionsCount returns the number of active connections.
comp/dogstatsd/listeners/named_pipe_windows.go:210
↓ 2 callersMethodgetAgentFileConfiguration
()
comp/metadata/inventoryagent/configuration.go:49
↓ 2 callersFunctiongetAgentV1ContainerURLs
(ctx context.Context)
pkg/util/ecs/metadata/detection.go:68
↓ 2 callersMethodgetAllEndpointsCheckConfigs
getAllEndpointsCheckConfigs provides all config templates of endpoints checks
pkg/clusteragent/clusterchecks/dispatcher_endpoints_configs.go:29
↓ 2 callersFunctiongetAllLibsToInject
(ns, registry string)
pkg/clusteragent/admission/mutate/auto_instrumentation.go:202
↓ 2 callersFunctiongetAllowedEnvvars
()
pkg/flare/envvars.go:138
↓ 2 callersFunctiongetAndConvert
(vs valueStore, key StoreKey, convFunc func(string) (T, error))
test/new-e2e/pkg/runner/parameters/store.go:61
↓ 2 callersFunctiongetAppServicesTags
(getenv func(string) string)
pkg/trace/traceutil/azure.go:44
↓ 2 callersFunctiongetApproverType
(approverTableName string)
pkg/security/probe/probe_linux.go:1071
↓ 2 callersFunctiongetAvailableHelpers
(kernelHeaders []string)
pkg/ebpf/bytecode/runtime/helpers.go:85
↓ 2 callersFunctiongetBidi
(ch, partPos, invert)
cmd/agent/gui/views/private/js/codemirror.js:2710
↓ 2 callersMethodgetBookmarkByHandle
(bookmarkHandle evtapi.EventBookmarkHandle)
pkg/util/winutil/eventlog/api/fake/fake.go:160
↓ 2 callersFunctiongetBool
(key string)
pkg/eventmonitor/config/config.go:60
↓ 2 callersFunctiongetBoolValue
(boolName string)
pkg/security/tests/selinux_test.go:215
↓ 2 callersFunctiongetCFlags
(config *config.Config)
pkg/network/tracer/compile.go:23
↓ 2 callersFunctiongetCPUInfoWithReader
(readProcFile func() ([]string, error))
pkg/gohai/cpu/cpu_linux_default.go:42
↓ 2 callersFunctiongetCRDClient
(timeout time.Duration)
pkg/util/kubernetes/apiserver/apiserver.go:229
↓ 2 callersFunctiongetCachedTags
(err error)
pkg/util/cloudproviders/gce/gce_tags.go:44
↓ 2 callersMethodgetCgroup
(containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/system/collector_linux.go:206
↓ 2 callersFunctiongetClientsIndex
(index, totalCount int)
pkg/network/usm/monitor_test.go:767
↓ 2 callersFunctiongetClusterAgentAuthToken
(tokenCreationAllowed bool)
pkg/api/security/security.go:187
↓ 2 callersMethodgetCollectors
Helpers not part of Collector interface
pkg/util/containers/metrics/provider/mock.go:71
↓ 2 callersMethodgetCommandName
getCommandName retrieves the command name from "comm" file for a process in procfs
pkg/process/procutil/process_linux.go:392
↓ 2 callersFunctiongetCommonStatus
getCommonStatus grabs the status from expvar and puts it into a map. It gets the status elements common to all Agent flavors.
pkg/status/status.go:332
↓ 2 callersFunctiongetCompatSyscallFnName
(name string)
pkg/security/ebpf/probes/syscall_helpers.go:71
↓ 2 callersFunctiongetConditionMessage
getConditionMessage loops through the pod conditions, and reports the message of the first one (in the normal state transition order) that's doesn't p
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/pod.go:305
↓ 2 callersMethodgetConfigMap
()
pkg/clusteragent/custommetrics/store_configmap.go:180
↓ 2 callersFunctiongetConfigValue
(t *testing.T, config map[interface{}]interface{}, key string)
test/new-e2e/tests/agent-subcommands/config/config_helpers.go:40
↓ 2 callersMethodgetConfigValue
getConfigValue returns the string value of a config param provided as a dot-separated key (for example "agents.image.tag"). It returns an error if the
pkg/collector/corechecks/cluster/helm/release.go:113
↓ 2 callersFunctiongetConfigsInPath
collects the configs in the specified path
cmd/agent/gui/checks.go:386
↓ 2 callersFunctiongetConnOpen
(activityId etw.DDGUID)
pkg/network/protocols/http/etw_http_service.go:266
↓ 2 callersMethodgetConnections
getConnections returns all the active connections in the ebpf maps along with the latest timestamp. It takes a reusable buffer for appending the acti
pkg/network/tracer/tracer.go:488
↓ 2 callersMethodgetConnections
()
test/fakeintake/client/client.go:123
↓ 2 callersMethodgetConstantEditors
()
pkg/network/tracer/offsetguess/tracer.go:806
↓ 2 callersMethodgetConstantEditors
()
pkg/network/tracer/offsetguess/conntrack.go:101
↓ 2 callersFunctiongetConstantMetricValues
getConstantMetricValues retrieve all metric tags indexes and set their value as 1
pkg/collector/corechecks/snmp/internal/report/report_utils.go:182
↓ 2 callersFunctiongetContainerID
(httpClient *http.Client, config *GCPConfig)
cmd/serverless-init/cloudservice/helper/gcp.go:95
↓ 2 callersFunctiongetContainerInfoFromPod
getContainerInfoFromPod returns the name of the container, if it is an init container and if it is found
comp/languagedetection/client/util.go:82
↓ 2 callersMethodgetContainerdMetrics
This method returns interface{} because the metrics could be an instance of v1.Metrics (for Linux) or stats.Statistics (Windows) and they don't share
pkg/util/containers/metrics/containerd/collector.go:176
↓ 2 callersMethodgetContainers
()
test/fakeintake/client/client.go:139
↓ 2 callersMethodgetContainersLanguagesFromPodDetail
(podDetail *pbgo.PodLanguageDetails)
pkg/clusteragent/languagedetection/patcher.go:51
← previousnext →7,901–8,000 of 32,574, ranked by callers