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
↓ 7 callers
Function
isLetter
(ch rune)
pkg/obfuscate/sql_tokenizer.go:900
↓ 7 callers
Function
isValidHTTPCode
(statusCode int)
pkg/serverless/registration/telemetry_api.go:113
↓ 7 callers
Function
lineAtHeight
(chunk, h)
cmd/agent/gui/views/private/js/codemirror.js:457
↓ 7 callers
Function
lineIsHidden
(doc, line)
cmd/agent/gui/views/private/js/codemirror.js:819
↓ 7 callers
Function
linkedDocs
(doc, f, sharedHistOnly)
cmd/agent/gui/views/private/js/codemirror.js:4662
↓ 7 callers
Function
listenerTestSetup
(t *testing.T, config *config.TrapsConfig)
pkg/snmp/traps/listener/listener_test.go:29
↓ 7 callers
Method
loadKubeconfigMeta
(name string)
pkg/compliance/k8sconfig/loader.go:358
↓ 7 callers
Function
makeContext
makeContext creates a http monitoring context out of the provided arguments.
pkg/serverless/appsec/httpsec/http.go:52
↓ 7 callers
Function
marshalAndScrub
(conf map[string]interface{})
comp/metadata/inventoryagent/configuration.go:17
↓ 7 callers
Function
newClusterNameData
()
pkg/util/kubernetes/clustername/clustername.go:52
↓ 7 callers
Function
newFakeContainerPorts
()
pkg/autodiscovery/configresolver/configresolver_test.go:776
↓ 7 callers
Function
newHTTPMonitor
(t *testing.T)
pkg/network/usm/monitor_test.go:987
↓ 7 callers
Function
newLabelJoiner
(config map[string]*joinsConfig)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_label_joins.go:82
↓ 7 callers
Function
newNodeStore
(name, clientIP string)
pkg/clusteragent/clusterchecks/stores.go:94
↓ 7 callers
Function
newTestInputMountinfo
Test Helpers
pkg/gohai/filesystem/filesystem_nix_test.go:261
↓ 7 callers
Function
nextField
nextField returns the data found before the first fieldSeparator and the remainder, as a no-heap alternative to bytes.Split. If the separator is not f
comp/dogstatsd/server/parse.go:79
↓ 7 callers
Function
nextSegment
(str string)
pkg/security/secl/compiler/eval/pattern.go:13
↓ 7 callers
Function
nilIfZero
(value **uint64)
pkg/util/cgroups/cgroup_shared.go:42
↓ 7 callers
Method
normalizeTrace
normalizeTrace takes a trace and * rejects the trace if there is a trace ID discrepancy between 2 spans * rejects the trace if two spans have the same
pkg/trace/agent/normalizer.go:196
↓ 7 callers
Function
openOrDie
(name string)
test/benchmarks/kubernetes_state/main.go:35
↓ 7 callers
Function
parse2ColumnStats
columns are 0-indexed, we skip malformed lines
pkg/util/cgroups/file.go:117
↓ 7 callers
Method
parseFloat64List
parseFloat64List parses a list of float64 separated by colonSeparator.
comp/dogstatsd/server/parse.go:204
↓ 7 callers
Function
payloadToString
(payload []byte)
pkg/serializer/internal/stream/compressor_test.go:47
↓ 7 callers
Function
posFromMouse
(cm, e, liberal, forRect)
cmd/agent/gui/views/private/js/codemirror.js:3000
↓ 7 callers
Method
process
process transforms a raw line into a structured line, it guarantees that the content of the line won't exceed the limit and that the length of the lin
pkg/logs/internal/decoder/single_line_handler.go:43
↓ 7 callers
Method
processDelService
processDelService handles removal of a service, unscheduling any configs that had been resolved for it.
pkg/autodiscovery/configmgr.go:32
↓ 7 callers
Function
readModule
(bpfDir, moduleName string, debug bool)
pkg/network/ebpf/bpf_module.go:32
↓ 7 callers
Function
recordedResponse
(t *testing.T, rec *httptest.ResponseRecorder)
pkg/trace/api/telemetry_test.go:44
↓ 7 callers
Method
registerSender
(id checkid.ID)
pkg/aggregator/aggregator.go:381
↓ 7 callers
Method
removeClient
(clientID string)
pkg/network/tracer/tracer.go:434
↓ 7 callers
Function
resetConfig
()
pkg/util/containers/filter_test.go:674
↓ 7 callers
Method
resetRole
(r role)
pkg/config/remote/uptane/remote_store.go:46
↓ 7 callers
Method
retryCollectors
retryCollectors is not thread safe on purpose. It's only called by a single goroutine from `cr.run`
pkg/util/containers/metrics/provider/registry.go:115
↓ 7 callers
Function
safeReadHeaderBytes
safeReadHeaderBytes wraps msgp header readers (typically ReadArrayHeaderBytes and ReadMapHeaderBytes). It enforces the dictionary max size of 25MB and
pkg/proto/pbgo/trace/decoder_v05.go:218
↓ 7 callers
Method
scanMantissa
(base int)
pkg/obfuscate/sql_tokenizer.go:727
↓ 7 callers
Function
scrubContainer
scrubContainer scrubs sensitive information in the command line & env vars
pkg/orchestrator/redact/pod.go:57
↓ 7 callers
Method
seen
seen marks the given client as active
pkg/config/remote/service/clients.go:74
↓ 7 callers
Function
semverToPEP440
(version *semver.Version)
cmd/agent/subcommands/integrations/command.go:227
↓ 7 callers
Method
send
send sends the data to the cluster-agent. It doesn't implement a retry mechanism because if the dca is available then the data will eventually be tran
comp/languagedetection/client/client.go:252
↓ 7 callers
Method
sendHTTPTransactions
(transactions []*transaction.HTTPTransaction)
comp/forwarder/defaultforwarder/sync_forwarder.go:51
↓ 7 callers
Function
setMetric
setMetric sets a value in the span Metrics map.
pkg/trace/sampler/sampler.go:200
↓ 7 callers
Function
setMockTimeNow
(newTime time.Time)
comp/netflow/flowaggregator/flowaccumulator_test.go:28
↓ 7 callers
Function
setOptionalDefault
(optional *optional.Option[T], def T)
pkg/collector/corechecks/windows_event_log/config.go:135
↓ 7 callers
Function
setScrollLeft
(cm, val, isScroller, forceScroll)
cmd/agent/gui/views/private/js/codemirror.js:3486
↓ 7 callers
Method
setUpToDate
setUpToDate is a thread-safe method to update the upToDate value
pkg/autodiscovery/providers/kube_endpoints.go:218
↓ 7 callers
Function
setupTest
(t *testing.T)
comp/metadata/host/utils/tags_test.go:20
↓ 7 callers
Method
shouldLog
(level seelog.LogLevel)
pkg/util/log/log.go:127
↓ 7 callers
Function
shouldProcessLog
shouldProcessLog returns whether or not the log should be further processed.
pkg/serverless/logs/logs_collector.go:122
↓ 7 callers
Method
shouldThrottle
shouldThrottle implementation, returns as the first boolean if the throttle consider the execution has to be throttled, as a second boolean if the thr
pkg/aggregator/internal/util/simple_throttler.go:61
↓ 7 callers
Function
startOperation
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3685
↓ 7 callers
Function
sysCPUList
sysCPUList reads a list of integers, comma-seprated with ranges (`0-5,7-11`) from a file in /sys/devices/system/cpu. The return value is the set of i
pkg/gohai/cpu/util_linux.go:78
↓ 7 callers
Function
testSpan
()
pkg/trace/agent/truncator_test.go:18
↓ 7 callers
Function
textHeight
(display)
cmd/agent/gui/views/private/js/codemirror.js:2913
↓ 7 callers
Function
toInt
(str string)
pkg/logs/tailers/file/tailer_test.go:393
↓ 7 callers
Function
toValidUtf8
toValidUtf8 ensures all characters are UTF-8.
pkg/logs/internal/processor/encoder.go:21
↓ 7 callers
Function
unmarshalStatus
(data []byte)
pkg/status/render.go:350
↓ 7 callers
Function
validate
(s *corev1.Secret)
pkg/clusteragent/admission/controllers/secret/controller_test.go:147
↓ 7 callers
Function
validateArgs
(args []string, local bool)
cmd/agent/subcommands/integrations/command.go:291
↓ 7 callers
Function
vt
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 7 callers
Function
x
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 7 callers
Function
yt
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callers
Method
Add
Add adds a byte value to the MovingSum, creating a new bucket if necessary.
pkg/logs/internal/util/moving_sum.go:44
↓ 6 callers
Method
Add
Add adds a new language to the language set, returning if something was added
pkg/languagedetection/util/languageset.go:24
↓ 6 callers
Function
AddColdStartTag
AddColdStartTag appends the cold_start tag to existing tags
pkg/serverless/tags/tags.go:177
↓ 6 callers
Method
AddCustomSensitiveWords
AddCustomSensitiveWords adds custom sensitive words on the DataScrubber object
pkg/orchestrator/redact/data_scrubber.go:174
↓ 6 callers
Method
AddEnglishSingleInstanceCounter
AddEnglishSingleInstanceCounter returns a PdhSingleInstanceCounter that will fetch a single instance counter value. the objectName and counterName mus
pkg/util/winutil/pdhutil/pdhcounter.go:218
↓ 6 callers
Method
AddLauncher
AddLauncher adds a launcher to the collection. If called after Start(), then the launcher will be started immediately.
pkg/logs/launchers/launchers.go:55
↓ 6 callers
Method
AddScheduler
AddScheduler adds an AD scheduler to the logs agent
comp/logs/agent/component.go:25
↓ 6 callers
Method
AddStorageRequest
AddStorageRequest adds a storage request to an activity dump
pkg/security/security_profile/dump/activity_dump.go:255
↓ 6 callers
Function
AddrPortIsZero
AddrPortIsZero reports whether addrPort is its zero value
pkg/network/netlink/iputils.go:18
↓ 6 callers
Method
AgentLog
AgentLog returns up to 1MB of tail from the trace agent log.
cmd/trace-agent/test/runner.go:82
↓ 6 callers
Method
Append
Append appends a new contextMetrics
pkg/metrics/context_metrics_flusher.go:32
↓ 6 callers
Method
AppendInt32
(v int32)
pkg/util/log/zap/zapencoder.go:110
↓ 6 callers
Function
AreTagsSubsetOfOtherTags
AreTagsSubsetOfOtherTags return true is all tags are in otherTags
test/fakeintake/aggregator/common.go:147
↓ 6 callers
Function
AssertAsyncWorkerCount
Helpers AssertAsyncWorkerCount returns the expvar count of the currently-running workers. The function is exported since other tests in this directory
pkg/collector/worker/worker_test.go:85
↓ 6 callers
Method
AssertMetricInRange
(t *testing.T, method string, metric string, min float64, max float64, hostname string, tags []string)
comp/aggregator/diagnosesendermanager/component_mock.go:24
↓ 6 callers
Method
AssertNoEvent
()
pkg/compliance/tests/helpers.go:219
↓ 6 callers
Function
AutoInstrumentTracer
AutoInstrumentTracer searches the filesystem for a trace library, and automatically sets the correct environment variables.
cmd/serverless-init/initcontainer/instrument.go:49
↓ 6 callers
Function
BytePDU
(oid string, value []byte)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:15
↓ 6 callers
Method
Check
Check returns a check in the running check list, if it can be found
pkg/collector/runner/tracker/tracker.go:37
↓ 6 callers
Method
CheckFinished
CheckFinished is used to log that the check has completed
pkg/collector/worker/check_logger.go:47
↓ 6 callers
Method
CheckStarted
CheckStarted is used to log that the check is about to run
pkg/collector/worker/check_logger.go:37
↓ 6 callers
Method
Close
Close implements PersistentDB
pkg/util/trivy/db.go:88
↓ 6 callers
Function
CollectInfo
CollectInfo returns an Info struct with every field initialized either to a value or an error. The method will try to collect as many fields as possib
pkg/gohai/cpu/cpu.go:48
↓ 6 callers
Function
CollectInfo
CollectInfo returns an Info struct with every field initialized either to a value or an error. The method will try to collect as many fields as possib
pkg/gohai/platform/platform.go:51
↓ 6 callers
Method
ConfigureFromInitConfig
ConfigureFromInitConfig configures various options from the init_config section of the configuration
pkg/jmxfetch/jmxfetch.go:413
↓ 6 callers
Method
ConsumeAPMStats
(ss *pb.ClientStatsPayload)
comp/otelcol/otlp/internal/serializerexporter/consumer.go:65
↓ 6 callers
Method
Container
(namespace string, id string)
pkg/util/containerd/containerd_util.go:52
↓ 6 callers
Method
CopyDirTo
CopyDirTo copies files from the 'srcDir' to a specific directory in the flare. The path for each file in 'srcDir' is passed to the 'shouldInclude' ca
comp/core/flare/types/types.go:98
↓ 6 callers
Function
CopyProfileDefinition
CopyProfileDefinition copies a profile, it's used for testing
pkg/collector/corechecks/snmp/internal/profile/testing_utils.go:21
↓ 6 callers
Method
CreateMarshalersBySourceType
CreateMarshalersBySourceType creates a collection of marshaler.StreamJSONMarshaler. Each StreamJSONMarshaler is composed of all events for a specific
pkg/serializer/internal/metrics/events.go:292
↓ 6 callers
Function
CreateTestProcessor
CreateTestProcessor returns a ready-to-use Processor
pkg/collector/corechecks/containers/generic/mock.go:30
↓ 6 callers
Method
Critical
Critical logs the given arguments, separated by spaces, at the critical level, an error containing the message.
comp/core/log/component.go:58
↓ 6 callers
Function
D
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callers
Function
Debugc
Debugc logs at the debug level with context
pkg/util/log/log.go:607
↓ 6 callers
Method
DecError
DecError decrements the error counter down to zero at RecoveryInterval rate
pkg/util/backoff/backoff.go:105
↓ 6 callers
Function
Decompress
Decompress will decompress the data with zstd
pkg/util/compression/zstd.go:27
↓ 6 callers
Method
DeleteExternalMetricValues
(*MetricsBundle)
pkg/clusteragent/custommetrics/store.go:32
↓ 6 callers
Function
DeleteWorkerStats
DeleteWorkerStats is used to remove instance information about a worker and update the count of the curretly running workers
pkg/collector/runner/expvars/workers.go:72
↓ 6 callers
Method
Derive
Derive a GraphID from a set of nodes
pkg/security/utils/graph.go:73
← previous
next →
2,401–2,500 of 32,574, ranked by callers