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
↓ 6 callers
Method
reset
()
pkg/autodiscovery/scheduler/meta_test.go:45
↓ 6 callers
Method
retryTransactions
(retryBefore time.Time)
comp/forwarder/defaultforwarder/domain_forwarder.go:73
↓ 6 callers
Function
run
(config config.Component, cliParams *cliParams, demultiplexer demultiplexer.Component)
pkg/cli/subcommands/check/command.go:176
↓ 6 callers
Method
run
run implements a loop to monitor the tailer and re-create it if it fails. It takes pointers to tryStartTailer and stopTailer to support testing.
pkg/logs/launchers/container/tailerfactory/tailers/socket.go:120
↓ 6 callers
Function
runBenchtests
(b *testing.B, payloads []int, prefix string, f func(p int) func(*testing.B))
pkg/network/tracer/tracer_test.go:722
↓ 6 callers
Function
sanitizeAPIKeyConfig
sanitizeAPIKeyConfig strips newlines and other control characters from a given key.
pkg/config/config.go:1801
↓ 6 callers
Function
se
(t,e,n,r)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callers
Function
selectVersionBasedProbe
(runtimeTracer bool, kv kernel.Version, dfault probes.ProbeFuncName, versioned probes.ProbeFuncName, reqVer ke
pkg/network/tracer/connection/kprobe/config.go:161
↓ 6 callers
Method
sendExporterMetadata
(flows []*common.Flow, flushTime time.Time)
comp/netflow/flowaggregator/aggregator.go:160
↓ 6 callers
Method
setAPIKeyStatus
(apiKey string, domain string, status *expvar.String)
comp/forwarder/defaultforwarder/forwarder_health.go:155
↓ 6 callers
Function
setChunkAttributesFromRoot
setChunkAttributesFromRoot takes a trace chunk and from the root span * populates Origin field if it wasn't populated * populates Priority field if it
pkg/trace/agent/normalizer.go:167
↓ 6 callers
Function
setCorrectRight
(path string)
pkg/secrets/check_rights_nix_test.go:19
↓ 6 callers
Method
setLoaderError
setLoaderError will safely set the error for that check and loader to the LoaderErrorStats
pkg/collector/stats.go:30
↓ 6 callers
Function
setupDMIForEC2
(t *testing.T)
pkg/util/ec2/ec2_test.go:45
↓ 6 callers
Method
shouldDispatchDangling
shouldDispatchDangling returns true if there are dangling configs and node registered, available for dispatching.
pkg/clusteragent/clusterchecks/dispatcher_configs.go:127
↓ 6 callers
Method
skBuffRanges
()
pkg/network/tracer/offsetguess/overlaps.go:102
↓ 6 callers
Function
stop
(config config.Component, cliParams *cliParams)
cmd/agent/subcommands/stop/command.go:52
↓ 6 callers
Method
storeTargetFiles
(targetFiles []*pbgo.File)
pkg/config/remote/uptane/target_store.go:27
↓ 6 callers
Function
stressOpen
Stress test of open syscalls
pkg/security/tests/stress_test.go:32
↓ 6 callers
Function
subscribeTelemetry
(id ID, url string, timeout time.Duration, payload json.Marshaler)
pkg/serverless/registration/telemetry_api.go:45
↓ 6 callers
Function
tagFailure
(scan *scanTask, err error)
cmd/agentless-scanner/main.go:1698
↓ 6 callers
Method
tags
tags returns the list of tags that should be added to the agent telemetry metrics Container agent tags may be missing in the first seconds after agent
pkg/aggregator/aggregator.go:794
↓ 6 callers
Method
teardown
()
test/system/dogstatsd/dogstatsd_test.go:100
↓ 6 callers
Function
testComputeServiceSignature
(trace pb.Trace, env string)
pkg/trace/sampler/signature_test.go:102
↓ 6 callers
Function
testDemux
(log log.Component)
pkg/aggregator/sender_test.go:47
↓ 6 callers
Function
timeNowNano
()
pkg/aggregator/aggregator.go:96
↓ 6 callers
Function
toEventSet
(proc *procutil.Process)
pkg/process/metadata/workloadmeta/grpc_test.go:355
↓ 6 callers
Method
toMessage
(re *richEvent)
pkg/logs/tailers/windowsevent/tailer.go:151
↓ 6 callers
Function
toUpper
toUpper is a modified version of bytes.ToUpper. It returns an upper-cased version of the byte slice src with all Unicode letters mapped to their upper
pkg/obfuscate/sql_tokenizer.go:562
↓ 6 callers
Function
truncateBodyForLog
truncateBodyForLog truncates body to prevent from logging a huge message if body is more than 1000 bytes. 1000 bytes are enough to tell which tools a
comp/forwarder/defaultforwarder/transaction/transaction.go:411
↓ 6 callers
Function
update
(line, text, spans)
cmd/agent/gui/views/private/js/codemirror.js:4612
↓ 6 callers
Method
update
(newVal int)
pkg/util/kubernetes/autoscalers/datadogexternal_util.go:30
↓ 6 callers
Function
updateResolverWithIntermediateJSONReader
(t *testing.T, oidResolver *MultiFilesOIDResolver, trapData TrapDBFileContent)
pkg/snmp/traps/oid_resolver/oid_resolver_test.go:276
↓ 6 callers
Function
updateScrollbars
(cm, measure)
cmd/agent/gui/views/private/js/codemirror.js:3619
↓ 6 callers
Method
utilization
()
pkg/clusteragent/clusterchecks/checks_distribution.go:28
↓ 6 callers
Method
utilizationStdDev
()
pkg/clusteragent/clusterchecks/checks_distribution.go:199
↓ 6 callers
Method
validateExitSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:103
↓ 6 callers
Method
validateOpenSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:109
↓ 6 callers
Function
valueToFloat64
(fn func(string, float64))
pkg/process/procutil/process_windows.go:154
↓ 6 callers
Function
valueToUint64
(fn func(string, uint64))
pkg/process/procutil/process_windows.go:160
↓ 6 callers
Function
verifyQuantile
(t *testing.T, sketch *ddsketch.DDSketch, q float64, expectedValue float64)
pkg/network/protocols/http/stats_test.go:89
↓ 6 callers
Function
writeError
(log log.Component, w io.Writer, e error)
cmd/process-agent/subcommands/status/status.go:95
↓ 6 callers
Function
writeJSONResponse
writeJSONResponse serialises and writes data to the response
cmd/cluster-agent/api/v1/clusterchecks.go:143
↓ 6 callers
Function
xe
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callers
Function
ye
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callers
Function
yes_no_question
(input_message, color="white", default=None)
tasks/libs/common/user_interactions.py:4
↓ 5 callers
Method
APIKey
APIKey returns the first (main) endpoint's API key.
pkg/trace/config/config.go:538
↓ 5 callers
Method
Add
Add adds a transaction to the serializer. This function uses references on HTTPTransaction.Payload and HTTPTransaction.Headers and so the transaction
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:60
↓ 5 callers
Method
AddAgentStartupTelemetry
AddAgentStartupTelemetry adds a startup event and count (in a DSD time sampler) to be sent on the next flush.
comp/aggregator/demultiplexer/component.go:31
↓ 5 callers
Function
AddCheckStats
AddCheckStats adds runtime stats to the check's expvars
pkg/collector/runner/expvars/expvars.go:116
↓ 5 callers
Method
AddConfigProvider
AddConfigProvider adds a new configuration provider to AutoConfig. Callers must pass a flag to indicate whether the configuration provider expects to
pkg/autodiscovery/autoconfig.go:178
↓ 5 callers
Function
AddDefaultReplacers
AddDefaultReplacers to a scrubber. This is called automatically for DefaultScrubber, but can be used to initialize other, custom scrubbers with the de
pkg/util/scrubber/default.go:42
↓ 5 callers
Method
AddIDTags
AddIDTags add idTags for a specific resource and index
pkg/collector/corechecks/snmp/internal/metadata/store.go:148
↓ 5 callers
Method
AddInput
AddInput registers an input as being handled by this source.
pkg/logs/sources/source.go:74
↓ 5 callers
Method
AddListener
AddListener adds a listener on the ruleset
pkg/security/secl/rules/ruleset.go:534
↓ 5 callers
Method
AddLoader
AddLoader adds a new Loader that AutoConfig can use to load a check.
pkg/collector/scheduler.go:138
↓ 5 callers
Method
AddMessage
AddMessage create a message
comp/logs/agent/config/messages.go:29
↓ 5 callers
Function
AddRecurrentSeries
AddRecurrentSeries adds a serie to the series that are sent at every flush
pkg/aggregator/aggregator.go:356
↓ 5 callers
Method
AddStringValue
AddStringValue adds a string (for example inside an array)
pkg/util/json/raw_object_writer.go:82
↓ 5 callers
Method
Addr
Addr returns the host:port address to listen on.
pkg/snmp/traps/config/config.go:109
↓ 5 callers
Method
All
All returns all registered info providers.
pkg/logs/internal/status/info.go:142
↓ 5 callers
Method
AllTimeAvg
AllTimeAvg Gets the all time average of values seen so far
pkg/util/statstracker/stats_tracker.go:92
↓ 5 callers
Method
Append
Append appends a serie
pkg/metrics/iterable_series.go:25
↓ 5 callers
Function
AppendMatchedRule
AppendMatchedRule appends two lists, but avoiding duplicates
pkg/security/secl/model/model.go:406
↓ 5 callers
Method
AppendTime
(v time.Time)
pkg/util/log/zap/zapencoder.go:114
↓ 5 callers
Method
AssertMetricNotTaggedWith
AssertMetricNotTaggedWith allows to assert tags were never emitted for a metric.
pkg/aggregator/mocksender/asserts.go:61
↓ 5 callers
Method
Attach
Attach an agent to the hotspot, uid/gid must be accessible read-only by the targeted hotspot
pkg/network/protocols/tls/java/hotspot.go:349
↓ 5 callers
Function
Be
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callers
Method
Buffer
Buffer to raw EVT_VARIANT buffer
pkg/util/winutil/eventlog/api/types.go:240
↓ 5 callers
Function
BuildOidTrie
BuildOidTrie builds the OIDTrie from a list of OIDs
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:30
↓ 5 callers
Function
BuildTemplates
BuildTemplates returns check configurations configured according to the passed in AD identifier, check names, init and instance configs
pkg/autodiscovery/common/utils/annotations.go:157
↓ 5 callers
Function
BuildURL
BuildURL returns the full url based on the route
pkg/serverless/registration/utils.go:31
↓ 5 callers
Method
CgroupVersion
CgroupVersion returns the detected cgroup version
pkg/util/cgroups/reader.go:162
↓ 5 callers
Method
CheckConnectivity
()
pkg/util/containerd/containerd_util.go:51
↓ 5 callers
Method
Chunk
Chunk returns a chunk in TracerPayload by its index
pkg/trace/api/payload.go:40
↓ 5 callers
Method
Chunks
Chunks returns chunks in TracerPayload
pkg/trace/api/payload.go:35
↓ 5 callers
Method
Clone
()
pkg/util/log/zap/zapencoder.go:26
↓ 5 callers
Method
Close
Close cleans all encoders resources.
pkg/network/encoding/encoding.go:83
↓ 5 callers
Method
Close
Close closes the Compressor, flushing any remaining uncompressed data
pkg/serializer/internal/stream/compressor.go:176
↓ 5 callers
Method
Collect
Collect returns the current state of all metrics of the collector
pkg/network/tracer/connection/tracer.go:82
↓ 5 callers
Method
CollectQueryData
CollectQueryData updates the counter values managed by the query. Adds any Windows counters not yet added to the Windows query. Must be called befor
pkg/util/winutil/pdhutil/pdhcounter.go:242
↓ 5 callers
Method
Collector
()
pkg/sbom/sbom.go:58
↓ 5 callers
Function
CombineCompositeTagsAndSlice
CombineCompositeTagsAndSlice creates a new CompositeTags from an existing CompositeTags and string slice. Returned value may reference the argument s
pkg/tagset/composite_tags.go:45
↓ 5 callers
Function
Commands
(globalParams *command.GlobalParams)
cmd/security-agent/subcommands/compliance/command.go:27
↓ 5 callers
Function
Commands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/diagnose/command.go:62
↓ 5 callers
Function
Commands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/integrations/command.go:92
↓ 5 callers
Method
ComputeCapacity
ComputeCapacity computes the capacity of the retry queue express as a duration. Return statistics by domain name.
comp/forwarder/defaultforwarder/internal/retry/queue_duration_capacity.go:89
↓ 5 callers
Function
ComputeTagsHash
ComputeTagsHash returns a hash of the supplied tags.
pkg/tagger/utils/compute_tags_hash.go:15
↓ 5 callers
Method
Configure
Configure configures the network checks
pkg/collector/corechecks/net/network.go:281
↓ 5 callers
Function
ConfigureAutoExit
ConfigureAutoExit starts automatic shutdown mechanism if necessary
cmd/manager/auto_exit.go:29
↓ 5 callers
Method
ConfigureFromInstance
ConfigureFromInstance configures various options from the instance section of the configuration
pkg/jmxfetch/jmxfetch.go:449
↓ 5 callers
Method
Connections
Connections returns a slice of all the `ConnectionStats` objects returned via `Next` since the last `Reset`.
pkg/network/buffer.go:56
↓ 5 callers
Method
Containers
(namespace string)
pkg/util/containerd/containerd_util.go:54
↓ 5 callers
Function
ContainsWildcard
ContainsWildcard returns true if the path contains any wildcard character
comp/logs/agent/config/integration_config.go:269
↓ 5 callers
Function
ConvertRetrierErr
ConvertRetrierErr converts a retrier error into a metrics error
pkg/util/containers/metrics/provider/util.go:13
↓ 5 callers
Method
CopyDirToWithoutScrubbing
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:112
↓ 5 callers
Function
CreateHTTPTransport
CreateHTTPTransport creates an *http.Transport for use in the agent
pkg/util/http/transport.go:63
↓ 5 callers
Function
CreateOrFetchToken
CreateOrFetchToken gets the authentication token from the auth token file & creates one if it doesn't exist Requires that the config has been set up b
pkg/api/security/security.go:125
↓ 5 callers
Function
CreatePdhQuery
CreatePdhQuery creates a query that can have counters added to it https://learn.microsoft.com/en-us/windows/win32/api/pdh/nf-pdh-pdhopenqueryw
pkg/util/winutil/pdhutil/pdhcounter.go:338
↓ 5 callers
Function
Criticalc
Criticalc logs at the critical level with context and returns an error containing the formated log message
pkg/util/log/log.go:755
← previous
next →
2,901–3,000 of 32,574, ranked by callers