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
↓ 2 callers
Method
setRuleSetTagValue
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 callers
Method
setRunError
(checkID checkid.ID, err string)
pkg/collector/stats.go:61
↓ 2 callers
Function
setRuntimeSetting
(c Client, name string, value int)
pkg/config/settings/runtime_profiling.go:53
↓ 2 callers
Function
setScrollTop
(cm, val, forceScroll)
cmd/agent/gui/views/private/js/codemirror.js:3476
↓ 2 callers
Function
setSelectionInner
(doc, sel)
cmd/agent/gui/views/private/js/codemirror.js:5023
↓ 2 callers
Function
setSelectionReplaceHistory
(doc, sel, options)
cmd/agent/gui/views/private/js/codemirror.js:4995
↓ 2 callers
Function
setSimpleSelection
(doc, anchor, head, options)
cmd/agent/gui/views/private/js/codemirror.js:4970
↓ 2 callers
Function
setSocketWriteOnly
(socketPath string)
comp/dogstatsd/listeners/uds_common.go:99
↓ 2 callers
Function
setStatsSummaryFromFile
(t *testing.T, filePath string, kubeletMock *mock.KubeletMock)
pkg/util/containers/metrics/kubelet/collector_test.go:197
↓ 2 callers
Function
setSupportedResources
(n *corev1.Node, mn *model.Node, supportedResources []corev1.ResourceName, isMilli bool)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/node.go:165
↓ 2 callers
Method
setTagsHashForService
setTagsHashForService set the tags hash for a specified service
pkg/autodiscovery/store.go:137
↓ 2 callers
Method
setTotal
(src *sources.LogSource, total int)
pkg/logs/launchers/file/provider/file_provider.go:124
↓ 2 callers
Method
setTransactionsCount
(count int)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:244
↓ 2 callers
Method
setURL
(url string)
test/fakeintake/server/server.go:142
↓ 2 callers
Function
setup
()
pkg/logs/schedulers/cca/scheduler_test.go:20
↓ 2 callers
Function
setup
()
cmd/serverless-init/main.go:47
↓ 2 callers
Method
setupAgent
()
comp/logs/agent/agent.go:140
↓ 2 callers
Method
setupAnnotationRegexps
(words []string)
pkg/orchestrator/redact/data_scrubber.go:60
↓ 2 callers
Function
setupCommonLogger
(i seelog.LoggerInterface, level string)
pkg/util/log/log.go:74
↓ 2 callers
Function
setupConfig
(deps dependencies)
comp/core/sysprobeconfig/sysprobeconfigimpl/config.go:42
↓ 2 callers
Function
setupConfig
setupConfig is copied from cmd/agent/common/helpers.go.
comp/core/config/setup.go:21
↓ 2 callers
Function
setupConfig
(deps dependencies, apikey string)
comp/trace/config/setup_mock.go:18
↓ 2 callers
Function
setupConfig
(cfg config.Config, origin string, confFilePath string, configName string, withoutSecrets bool, failOnMissingF
cmd/agent/common/helpers.go:36
↓ 2 callers
Function
setupConfigCommon
(deps dependencies, apikey string)
comp/trace/config/setup.go:58
↓ 2 callers
Function
setupCrossNsDNAT
(tb testing.TB, dport int, redirPort int)
pkg/network/netlink/testutil/conntrack.go:200
↓ 2 callers
Function
setupGRPCTest
setupGRPCTest a test extractor, server, and client connection. Cleanup is handled automatically via T.Cleanup().
pkg/process/metadata/workloadmeta/grpc_test.go:365
↓ 2 callers
Function
setupHostMetadataMock
(t *testing.T)
pkg/metadata/inventories/host_metadata_test.go:105
↓ 2 callers
Method
setupNewTCClassifier
(device model.NetDevice)
pkg/security/probe/probe_linux.go:1316
↓ 2 callers
Function
setupProxy
()
cmd/serverless-init/main.go:143
↓ 2 callers
Method
setupReader
setupReader sets up the reader that reads the container's logs with the proper configuration
pkg/logs/tailers/docker/tailer.go:159
↓ 2 callers
Function
setupSecretCommmand
(t *testing.T)
pkg/secrets/info_nix_test.go:37
↓ 2 callers
Function
setupSocketBeforeListen
(socketPath string, transport string)
comp/dogstatsd/listeners/uds_common.go:79
↓ 2 callers
Function
setupTestProcessesForBench
()
pkg/process/procutil/data_scrubber_test.go:212
↓ 2 callers
Function
setupUnixConn
(conn *net.UnixConn, originDetection bool, config config.Reader)
comp/dogstatsd/listeners/uds_common.go:60
↓ 2 callers
Function
sha256hex
sha256hex returns the hex string of the sha256 of the provided buffer
pkg/ebpf/bytecode/runtime/runtime_compilation_helpers.go:158
↓ 2 callers
Function
shiftDoc
(doc, distance)
cmd/agent/gui/views/private/js/codemirror.js:5260
↓ 2 callers
Function
shortErrMsg
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 callers
Method
shouldCollect
(ev *v1.Event)
pkg/collector/corechecks/cluster/kubernetesapiserver/unbundled_events.go:119
↓ 2 callers
Function
shouldFallback
shouldFallback is separated from useNamespaceSelector to ease testing.
pkg/clusteragent/admission/util.go:42
↓ 2 callers
Function
shouldGenerateKeys
(t *testing.T, c ConnectionStats, expectedKeys ...types.ConnectionKey)
pkg/network/usm_connection_keys_test.go:56
↓ 2 callers
Method
shouldHandle
shouldHandle returns whether an endpoints object should be tracked.
pkg/autodiscovery/providers/kube_endpoints_file.go:198
↓ 2 callers
Method
shouldIgnore
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:226
↓ 2 callers
Function
shouldLogCheck
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 callers
Method
shouldSetLoggingSection
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 callers
Function
shouldSkip
(berType gosnmp.Asn1BER)
pkg/collector/corechecks/snmp/internal/valuestore/gosnmp_value.go:91
↓ 2 callers
Method
shouldWaitBackoff
(now time.Time)
pkg/serverless/flush/strategy.go:142
↓ 2 callers
Method
sign
(s *pb.Span)
pkg/trace/sampler/rare_sampler.go:235
↓ 2 callers
Function
signalCursorActivity
(cm)
cmd/agent/gui/views/private/js/codemirror.js:1167
↓ 2 callers
Function
simpleGetRequestsGenerator
(t *testing.T, targetAddr string)
pkg/network/tracer/tracer_usm_linux_test.go:503
↓ 2 callers
Function
singleCheckRun
(cliParams *cliParams)
pkg/cli/subcommands/check/command.go:556
↓ 2 callers
Function
single_run
(ctx, table_url, output_file, output_string_file, abis=None)
tasks/security_agent.py:649
↓ 2 callers
Function
skip
(dAtA []byte)
pkg/eventmonitor/proto/api/api_vtproto.pb.go:299
↓ 2 callers
Function
skipAtomicInSelection
(doc, sel, bias, mayClear)
cmd/agent/gui/views/private/js/codemirror.js:5043
↓ 2 callers
Function
skipExtendingChars
(str, pos, dir)
cmd/agent/gui/views/private/js/codemirror.js:275
↓ 2 callers
Function
skipTestIfKernelNotSupported
(t *testing.T)
pkg/network/usm/kafka_monitor_test.go:72
↓ 2 callers
Function
skipUnless
(t *testing.T, requiredArg string)
pkg/network/netlink/conntracker_integration_test.go:147
↓ 2 callers
Function
sliceLocation
(param bininspect.ParameterMetadata, arch bininspect.GoArch)
pkg/network/usm/ebpf_gotls_helpers.go:343
↓ 2 callers
Function
sliceToString
(s []string)
pkg/workloadmeta/utils.go:49
↓ 2 callers
Function
snakeToCamelCase
(snake string)
pkg/security/secl/model/syscall_table_generator/syscall_table_generator.go:208
↓ 2 callers
Method
snapshotNetworkDevices
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 callers
Function
snsSqsMessageCarrier
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 callers
Function
socketError
TODO: There is probably a more idiomatic way to do this
pkg/network/netlink/consumer.go:682
↓ 2 callers
Method
socks5ProxyAddress
()
comp/logs/agent/config/config_keys.go:77
↓ 2 callers
Function
spanKind2Type
spanKind2Type returns a span's type based on the given kind and other present properties.
pkg/trace/api/otlp.go:667
↓ 2 callers
Method
spec
(containerID string)
pkg/util/containers/metrics/docker/collector.go:184
↓ 2 callers
Function
splitVersion
(ver string)
cmd/secrethelper/secret_helper.go:216
↓ 2 callers
Function
sqsMessageAttrCarrier
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 callers
Function
sqsMessageCarrier
sqsMessageCarrier returns the tracer.TextMapReader used to extract trace context from the events.SQSMessage type.
pkg/serverless/trace/propagation/carriers.go:96
↓ 2 callers
Function
start
(ag *agent)
comp/trace/agent/agent.go:96
↓ 2 callers
Method
start
()
pkg/logs/internal/util/containersorpods/containers_or_pods.go:155
↓ 2 callers
Method
start
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 callers
Function
startAgent
startAgent Initializes the agent process
cmd/agent/subcommands/run/command.go:314
↓ 2 callers
Method
startContainers
()
test/integration/listeners/docker/docker_listener_test.go:98
↓ 2 callers
Method
startDumpWithConfig
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 callers
Function
startH2CServer
(t *testing.T)
pkg/network/usm/monitor_test.go:726
↓ 2 callers
Method
startListener
startListener starts a new listener, returns an error if it failed.
pkg/logs/launchers/listener/tcp.go:120
↓ 2 callers
Method
startNewTailer
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 callers
Method
startNewTailer
startNewTailer starts a new Tailer
pkg/logs/launchers/listener/udp.go:68
↓ 2 callers
Function
startOOMKillProbe
(buf bytecode.AssetReader, managerOptions manager.Options)
pkg/collector/corechecks/ebpf/probe/oomkill/oom_kill.go:106
↓ 2 callers
Method
startQueue
startQueue starts a queue (non-blocking operation) if it's not running yet
pkg/collector/scheduler/scheduler.go:252
↓ 2 callers
Method
startReflector
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 callers
Function
startSystemProbe
startSystemProbe Initializes the system-probe process
cmd/system-probe/subcommands/run/command.go:218
↓ 2 callers
Function
startTCPQueueLengthProbe
(buf bytecode.AssetReader, managerOptions manager.Options)
pkg/collector/corechecks/ebpf/probe/tcpqueuelength/tcp_queue_length.go:61
↓ 2 callers
Method
startTaggerStream
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 callers
Method
startTracing
nolint:unused
pkg/security/tests/module_tester.go:1582
↓ 2 callers
Function
stat_records
()
test/e2e/containers/fake_datadog/app/api.py:276
↓ 2 callers
Method
state
state returns the current state of the underlying otel collector.
pkg/serverless/otlp/otlp.go:72
↓ 2 callers
Method
stats
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 callers
Method
stats
stats returns stats by container ID
pkg/util/containers/metrics/docker/collector.go:170
↓ 2 callers
Function
status2Error
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 callers
Method
stop
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 callers
Method
stop
(force bool)
pkg/network/driver/driver_windows.go:84
↓ 2 callers
Method
stop
()
pkg/collector/corechecks/sbom/processor.go:343
↓ 2 callers
Method
stop
()
pkg/collector/corechecks/containerimage/processor.go:185
↓ 2 callers
Function
stopAgent
stopAgent Tears down the agent process
cmd/agent/subcommands/run/command.go:577
↓ 2 callers
Method
stopContainers
()
test/integration/listeners/docker/docker_listener_test.go:107
↓ 2 callers
Function
stopDriverService
(driverServiceName string, disable bool)
pkg/network/driver/utils.go:84
↓ 2 callers
Function
stopSenders
stopSenders attempts to simultaneously stop a group of senders.
pkg/trace/writer/sender.go:437
↓ 2 callers
Function
stopSystemProbe
stopSystemProbe Tears down the system-probe process
cmd/system-probe/subcommands/run/command.go:303
↓ 2 callers
Method
storeAndDiffConfigs
(configs []integration.Config)
pkg/autodiscovery/config_poller.go:218
← previous
next →
9,001–9,100 of 32,574, ranked by callers