MCPcopy Create free account

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

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

↓ 2 callersMethodsetRuleSetTagValue
SetRuleSetTag sets the value of the "ruleset" tag, which is the tag of the rules that belong in this rule set. This method is only used for testing.
pkg/security/secl/rules/ruleset_test.go:30
↓ 2 callersMethodsetRunError
(checkID checkid.ID, err string)
pkg/collector/stats.go:61
↓ 2 callersFunctionsetRuntimeSetting
(c Client, name string, value int)
pkg/config/settings/runtime_profiling.go:53
↓ 2 callersFunctionsetScrollTop
(cm, val, forceScroll)
cmd/agent/gui/views/private/js/codemirror.js:3476
↓ 2 callersFunctionsetSelectionInner
(doc, sel)
cmd/agent/gui/views/private/js/codemirror.js:5023
↓ 2 callersFunctionsetSelectionReplaceHistory
(doc, sel, options)
cmd/agent/gui/views/private/js/codemirror.js:4995
↓ 2 callersFunctionsetSimpleSelection
(doc, anchor, head, options)
cmd/agent/gui/views/private/js/codemirror.js:4970
↓ 2 callersFunctionsetSocketWriteOnly
(socketPath string)
comp/dogstatsd/listeners/uds_common.go:99
↓ 2 callersFunctionsetStatsSummaryFromFile
(t *testing.T, filePath string, kubeletMock *mock.KubeletMock)
pkg/util/containers/metrics/kubelet/collector_test.go:197
↓ 2 callersFunctionsetSupportedResources
(n *corev1.Node, mn *model.Node, supportedResources []corev1.ResourceName, isMilli bool)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/node.go:165
↓ 2 callersMethodsetTagsHashForService
setTagsHashForService set the tags hash for a specified service
pkg/autodiscovery/store.go:137
↓ 2 callersMethodsetTotal
(src *sources.LogSource, total int)
pkg/logs/launchers/file/provider/file_provider.go:124
↓ 2 callersMethodsetTransactionsCount
(count int)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:244
↓ 2 callersMethodsetURL
(url string)
test/fakeintake/server/server.go:142
↓ 2 callersFunctionsetup
()
pkg/logs/schedulers/cca/scheduler_test.go:20
↓ 2 callersFunctionsetup
()
cmd/serverless-init/main.go:47
↓ 2 callersMethodsetupAgent
()
comp/logs/agent/agent.go:140
↓ 2 callersMethodsetupAnnotationRegexps
(words []string)
pkg/orchestrator/redact/data_scrubber.go:60
↓ 2 callersFunctionsetupCommonLogger
(i seelog.LoggerInterface, level string)
pkg/util/log/log.go:74
↓ 2 callersFunctionsetupConfig
(deps dependencies)
comp/core/sysprobeconfig/sysprobeconfigimpl/config.go:42
↓ 2 callersFunctionsetupConfig
setupConfig is copied from cmd/agent/common/helpers.go.
comp/core/config/setup.go:21
↓ 2 callersFunctionsetupConfig
(deps dependencies, apikey string)
comp/trace/config/setup_mock.go:18
↓ 2 callersFunctionsetupConfig
(cfg config.Config, origin string, confFilePath string, configName string, withoutSecrets bool, failOnMissingF
cmd/agent/common/helpers.go:36
↓ 2 callersFunctionsetupConfigCommon
(deps dependencies, apikey string)
comp/trace/config/setup.go:58
↓ 2 callersFunctionsetupCrossNsDNAT
(tb testing.TB, dport int, redirPort int)
pkg/network/netlink/testutil/conntrack.go:200
↓ 2 callersFunctionsetupGRPCTest
setupGRPCTest a test extractor, server, and client connection. Cleanup is handled automatically via T.Cleanup().
pkg/process/metadata/workloadmeta/grpc_test.go:365
↓ 2 callersFunctionsetupHostMetadataMock
(t *testing.T)
pkg/metadata/inventories/host_metadata_test.go:105
↓ 2 callersMethodsetupNewTCClassifier
(device model.NetDevice)
pkg/security/probe/probe_linux.go:1316
↓ 2 callersFunctionsetupProxy
()
cmd/serverless-init/main.go:143
↓ 2 callersMethodsetupReader
setupReader sets up the reader that reads the container's logs with the proper configuration
pkg/logs/tailers/docker/tailer.go:159
↓ 2 callersFunctionsetupSecretCommmand
(t *testing.T)
pkg/secrets/info_nix_test.go:37
↓ 2 callersFunctionsetupSocketBeforeListen
(socketPath string, transport string)
comp/dogstatsd/listeners/uds_common.go:79
↓ 2 callersFunctionsetupTestProcessesForBench
()
pkg/process/procutil/data_scrubber_test.go:212
↓ 2 callersFunctionsetupUnixConn
(conn *net.UnixConn, originDetection bool, config config.Reader)
comp/dogstatsd/listeners/uds_common.go:60
↓ 2 callersFunctionsha256hex
sha256hex returns the hex string of the sha256 of the provided buffer
pkg/ebpf/bytecode/runtime/runtime_compilation_helpers.go:158
↓ 2 callersFunctionshiftDoc
(doc, distance)
cmd/agent/gui/views/private/js/codemirror.js:5260
↓ 2 callersFunctionshortErrMsg
20 char max with tailing "..." shortMsg shortens the length of error message to avoid having high cardinality on "err:" tags
pkg/trace/watchdog/logonpanic.go:20
↓ 2 callersMethodshouldCollect
(ev *v1.Event)
pkg/collector/corechecks/cluster/kubernetesapiserver/unbundled_events.go:119
↓ 2 callersFunctionshouldFallback
shouldFallback is separated from useNamespaceSelector to ease testing.
pkg/clusteragent/admission/util.go:42
↓ 2 callersFunctionshouldGenerateKeys
(t *testing.T, c ConnectionStats, expectedKeys ...types.ConnectionKey)
pkg/network/usm_connection_keys_test.go:56
↓ 2 callersMethodshouldHandle
shouldHandle returns whether an endpoints object should be tracked.
pkg/autodiscovery/providers/kube_endpoints_file.go:198
↓ 2 callersMethodshouldIgnore
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:226
↓ 2 callersFunctionshouldLogCheck
shouldLogCheck returns if we should log the check start/stop message with higher verbosity and if this is the end of the initial series of check log s
pkg/collector/worker/check_logger.go:80
↓ 2 callersMethodshouldSetLoggingSection
shouldSetLoggingSection returns whether debug logging is enabled. If an invalid loglevel value is set, it assumes debug logging is disabled. If the sp
comp/otelcol/otlp/collector.go:133
↓ 2 callersFunctionshouldSkip
(berType gosnmp.Asn1BER)
pkg/collector/corechecks/snmp/internal/valuestore/gosnmp_value.go:91
↓ 2 callersMethodshouldWaitBackoff
(now time.Time)
pkg/serverless/flush/strategy.go:142
↓ 2 callersMethodsign
(s *pb.Span)
pkg/trace/sampler/rare_sampler.go:235
↓ 2 callersFunctionsignalCursorActivity
(cm)
cmd/agent/gui/views/private/js/codemirror.js:1167
↓ 2 callersFunctionsimpleGetRequestsGenerator
(t *testing.T, targetAddr string)
pkg/network/tracer/tracer_usm_linux_test.go:503
↓ 2 callersFunctionsingleCheckRun
(cliParams *cliParams)
pkg/cli/subcommands/check/command.go:556
↓ 2 callersFunctionsingle_run
(ctx, table_url, output_file, output_string_file, abis=None)
tasks/security_agent.py:649
↓ 2 callersFunctionskip
(dAtA []byte)
pkg/eventmonitor/proto/api/api_vtproto.pb.go:299
↓ 2 callersFunctionskipAtomicInSelection
(doc, sel, bias, mayClear)
cmd/agent/gui/views/private/js/codemirror.js:5043
↓ 2 callersFunctionskipExtendingChars
(str, pos, dir)
cmd/agent/gui/views/private/js/codemirror.js:275
↓ 2 callersFunctionskipTestIfKernelNotSupported
(t *testing.T)
pkg/network/usm/kafka_monitor_test.go:72
↓ 2 callersFunctionskipUnless
(t *testing.T, requiredArg string)
pkg/network/netlink/conntracker_integration_test.go:147
↓ 2 callersFunctionsliceLocation
(param bininspect.ParameterMetadata, arch bininspect.GoArch)
pkg/network/usm/ebpf_gotls_helpers.go:343
↓ 2 callersFunctionsliceToString
(s []string)
pkg/workloadmeta/utils.go:49
↓ 2 callersFunctionsnakeToCamelCase
(snake string)
pkg/security/secl/model/syscall_table_generator/syscall_table_generator.go:208
↓ 2 callersMethodsnapshotNetworkDevices
snapshotNetworkDevicesWithHandle snapshots the network devices of the provided network namespace. This function returns the number of non-loopback net
pkg/security/resolvers/netns/resolver.go:295
↓ 2 callersFunctionsnsSqsMessageCarrier
snsSqsMessageCarrier returns the tracer.TextMapReader used to extract trace context from the body of an events.SQSMessage type.
pkg/serverless/trace/propagation/carriers.go:131
↓ 2 callersFunctionsocketError
TODO: There is probably a more idiomatic way to do this
pkg/network/netlink/consumer.go:682
↓ 2 callersMethodsocks5ProxyAddress
()
comp/logs/agent/config/config_keys.go:77
↓ 2 callersFunctionspanKind2Type
spanKind2Type returns a span's type based on the given kind and other present properties.
pkg/trace/api/otlp.go:667
↓ 2 callersMethodspec
(containerID string)
pkg/util/containers/metrics/docker/collector.go:184
↓ 2 callersFunctionsplitVersion
(ver string)
cmd/secrethelper/secret_helper.go:216
↓ 2 callersFunctionsqsMessageAttrCarrier
sqsMessageAttrCarrier returns the tracer.TextMapReader used to extract trace context from the events.SQSMessageAttribute field on an events.SQSMessage
pkg/serverless/trace/propagation/carriers.go:106
↓ 2 callersFunctionsqsMessageCarrier
sqsMessageCarrier returns the tracer.TextMapReader used to extract trace context from the events.SQSMessage type.
pkg/serverless/trace/propagation/carriers.go:96
↓ 2 callersFunctionstart
(ag *agent)
comp/trace/agent/agent.go:96
↓ 2 callersMethodstart
()
pkg/logs/internal/util/containersorpods/containers_or_pods.go:155
↓ 2 callersMethodstart
start kicks off process lifecycle events collection and keep them in memory until they're fetched in the next check run
pkg/process/checks/process_events_linux.go:82
↓ 2 callersFunctionstartAgent
startAgent Initializes the agent process
cmd/agent/subcommands/run/command.go:314
↓ 2 callersMethodstartContainers
()
test/integration/listeners/docker/docker_listener_test.go:98
↓ 2 callersMethodstartDumpWithConfig
handleDefaultDumpRequest starts dumping a new workload with the provided load configuration and the default dump configuration
pkg/security/security_profile/dump/manager.go:411
↓ 2 callersFunctionstartH2CServer
(t *testing.T)
pkg/network/usm/monitor_test.go:726
↓ 2 callersMethodstartListener
startListener starts a new listener, returns an error if it failed.
pkg/logs/launchers/listener/tcp.go:120
↓ 2 callersMethodstartNewTailer
startNewTailer creates a new tailer, making it tail from the last committed offset, the beginning or the end of the file, returns true if the operatio
pkg/logs/launchers/file/launcher.go:266
↓ 2 callersMethodstartNewTailer
startNewTailer starts a new Tailer
pkg/logs/launchers/listener/udp.go:68
↓ 2 callersFunctionstartOOMKillProbe
(buf bytecode.AssetReader, managerOptions manager.Options)
pkg/collector/corechecks/ebpf/probe/oomkill/oom_kill.go:106
↓ 2 callersMethodstartQueue
startQueue starts a queue (non-blocking operation) if it's not running yet
pkg/collector/scheduler/scheduler.go:252
↓ 2 callersMethodstartReflector
startReflector creates a Kubernetes client-go reflector with the given listWatcher for each given namespace and registers it with the given store.
pkg/kubestatemetrics/builder/builder.go:232
↓ 2 callersFunctionstartSystemProbe
startSystemProbe Initializes the system-probe process
cmd/system-probe/subcommands/run/command.go:218
↓ 2 callersFunctionstartTCPQueueLengthProbe
(buf bytecode.AssetReader, managerOptions manager.Options)
pkg/collector/corechecks/ebpf/probe/tcpqueuelength/tcp_queue_length.go:61
↓ 2 callersMethodstartTaggerStream
startTaggerStream tries to establish a stream with the remote gRPC endpoint. Since the entire remote tagger really depends on this working, it'll keep
pkg/tagger/remote/tagger.go:345
↓ 2 callersMethodstartTracing
nolint:unused
pkg/security/tests/module_tester.go:1582
↓ 2 callersFunctionstat_records
()
test/e2e/containers/fake_datadog/app/api.py:276
↓ 2 callersMethodstate
state returns the current state of the underlying otel collector.
pkg/serverless/otlp/otlp.go:72
↓ 2 callersMethodstats
stats returns stats by container ID, it uses an in-memory cache to reduce the number of api calls. Cache expires every 2 minutes and can also be inval
pkg/util/containers/metrics/ecsfargate/collector.go:114
↓ 2 callersMethodstats
stats returns stats by container ID
pkg/util/containers/metrics/docker/collector.go:170
↓ 2 callersFunctionstatus2Error
status2Error checks the given status and events and applies any potential error and messages to the given span attributes.
pkg/trace/api/otlp.go:629
↓ 2 callersMethodstop
stop is called by FX when the application stops. Lifecycle hooks are blocking and called sequencially. We should not block here.
comp/metadata/runner/runnerimpl/runner.go:150
↓ 2 callersMethodstop
(force bool)
pkg/network/driver/driver_windows.go:84
↓ 2 callersMethodstop
()
pkg/collector/corechecks/sbom/processor.go:343
↓ 2 callersMethodstop
()
pkg/collector/corechecks/containerimage/processor.go:185
↓ 2 callersFunctionstopAgent
stopAgent Tears down the agent process
cmd/agent/subcommands/run/command.go:577
↓ 2 callersMethodstopContainers
()
test/integration/listeners/docker/docker_listener_test.go:107
↓ 2 callersFunctionstopDriverService
(driverServiceName string, disable bool)
pkg/network/driver/utils.go:84
↓ 2 callersFunctionstopSenders
stopSenders attempts to simultaneously stop a group of senders.
pkg/trace/writer/sender.go:437
↓ 2 callersFunctionstopSystemProbe
stopSystemProbe Tears down the system-probe process
cmd/system-probe/subcommands/run/command.go:303
↓ 2 callersMethodstoreAndDiffConfigs
(configs []integration.Config)
pkg/autodiscovery/config_poller.go:218
← previousnext →9,001–9,100 of 32,574, ranked by callers