MCPcopy Create free account

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

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

↓ 6 callersMethodreset
()
pkg/autodiscovery/scheduler/meta_test.go:45
↓ 6 callersMethodretryTransactions
(retryBefore time.Time)
comp/forwarder/defaultforwarder/domain_forwarder.go:73
↓ 6 callersFunctionrun
(config config.Component, cliParams *cliParams, demultiplexer demultiplexer.Component)
pkg/cli/subcommands/check/command.go:176
↓ 6 callersMethodrun
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 callersFunctionrunBenchtests
(b *testing.B, payloads []int, prefix string, f func(p int) func(*testing.B))
pkg/network/tracer/tracer_test.go:722
↓ 6 callersFunctionsanitizeAPIKeyConfig
sanitizeAPIKeyConfig strips newlines and other control characters from a given key.
pkg/config/config.go:1801
↓ 6 callersFunctionse
(t,e,n,r)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callersFunctionselectVersionBasedProbe
(runtimeTracer bool, kv kernel.Version, dfault probes.ProbeFuncName, versioned probes.ProbeFuncName, reqVer ke
pkg/network/tracer/connection/kprobe/config.go:161
↓ 6 callersMethodsendExporterMetadata
(flows []*common.Flow, flushTime time.Time)
comp/netflow/flowaggregator/aggregator.go:160
↓ 6 callersMethodsetAPIKeyStatus
(apiKey string, domain string, status *expvar.String)
comp/forwarder/defaultforwarder/forwarder_health.go:155
↓ 6 callersFunctionsetChunkAttributesFromRoot
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 callersFunctionsetCorrectRight
(path string)
pkg/secrets/check_rights_nix_test.go:19
↓ 6 callersMethodsetLoaderError
setLoaderError will safely set the error for that check and loader to the LoaderErrorStats
pkg/collector/stats.go:30
↓ 6 callersFunctionsetupDMIForEC2
(t *testing.T)
pkg/util/ec2/ec2_test.go:45
↓ 6 callersMethodshouldDispatchDangling
shouldDispatchDangling returns true if there are dangling configs and node registered, available for dispatching.
pkg/clusteragent/clusterchecks/dispatcher_configs.go:127
↓ 6 callersMethodskBuffRanges
()
pkg/network/tracer/offsetguess/overlaps.go:102
↓ 6 callersFunctionstop
(config config.Component, cliParams *cliParams)
cmd/agent/subcommands/stop/command.go:52
↓ 6 callersMethodstoreTargetFiles
(targetFiles []*pbgo.File)
pkg/config/remote/uptane/target_store.go:27
↓ 6 callersFunctionstressOpen
Stress test of open syscalls
pkg/security/tests/stress_test.go:32
↓ 6 callersFunctionsubscribeTelemetry
(id ID, url string, timeout time.Duration, payload json.Marshaler)
pkg/serverless/registration/telemetry_api.go:45
↓ 6 callersFunctiontagFailure
(scan *scanTask, err error)
cmd/agentless-scanner/main.go:1698
↓ 6 callersMethodtags
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 callersMethodteardown
()
test/system/dogstatsd/dogstatsd_test.go:100
↓ 6 callersFunctiontestComputeServiceSignature
(trace pb.Trace, env string)
pkg/trace/sampler/signature_test.go:102
↓ 6 callersFunctiontestDemux
(log log.Component)
pkg/aggregator/sender_test.go:47
↓ 6 callersFunctiontimeNowNano
()
pkg/aggregator/aggregator.go:96
↓ 6 callersFunctiontoEventSet
(proc *procutil.Process)
pkg/process/metadata/workloadmeta/grpc_test.go:355
↓ 6 callersMethodtoMessage
(re *richEvent)
pkg/logs/tailers/windowsevent/tailer.go:151
↓ 6 callersFunctiontoUpper
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 callersFunctiontruncateBodyForLog
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 callersFunctionupdate
(line, text, spans)
cmd/agent/gui/views/private/js/codemirror.js:4612
↓ 6 callersMethodupdate
(newVal int)
pkg/util/kubernetes/autoscalers/datadogexternal_util.go:30
↓ 6 callersFunctionupdateResolverWithIntermediateJSONReader
(t *testing.T, oidResolver *MultiFilesOIDResolver, trapData TrapDBFileContent)
pkg/snmp/traps/oid_resolver/oid_resolver_test.go:276
↓ 6 callersFunctionupdateScrollbars
(cm, measure)
cmd/agent/gui/views/private/js/codemirror.js:3619
↓ 6 callersMethodutilization
()
pkg/clusteragent/clusterchecks/checks_distribution.go:28
↓ 6 callersMethodutilizationStdDev
()
pkg/clusteragent/clusterchecks/checks_distribution.go:199
↓ 6 callersMethodvalidateExitSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:103
↓ 6 callersMethodvalidateOpenSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:109
↓ 6 callersFunctionvalueToFloat64
(fn func(string, float64))
pkg/process/procutil/process_windows.go:154
↓ 6 callersFunctionvalueToUint64
(fn func(string, uint64))
pkg/process/procutil/process_windows.go:160
↓ 6 callersFunctionverifyQuantile
(t *testing.T, sketch *ddsketch.DDSketch, q float64, expectedValue float64)
pkg/network/protocols/http/stats_test.go:89
↓ 6 callersFunctionwriteError
(log log.Component, w io.Writer, e error)
cmd/process-agent/subcommands/status/status.go:95
↓ 6 callersFunctionwriteJSONResponse
writeJSONResponse serialises and writes data to the response
cmd/cluster-agent/api/v1/clusterchecks.go:143
↓ 6 callersFunctionxe
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callersFunctionye
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 6 callersFunctionyes_no_question
(input_message, color="white", default=None)
tasks/libs/common/user_interactions.py:4
↓ 5 callersMethodAPIKey
APIKey returns the first (main) endpoint's API key.
pkg/trace/config/config.go:538
↓ 5 callersMethodAdd
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 callersMethodAddAgentStartupTelemetry
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 callersFunctionAddCheckStats
AddCheckStats adds runtime stats to the check's expvars
pkg/collector/runner/expvars/expvars.go:116
↓ 5 callersMethodAddConfigProvider
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 callersFunctionAddDefaultReplacers
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 callersMethodAddIDTags
AddIDTags add idTags for a specific resource and index
pkg/collector/corechecks/snmp/internal/metadata/store.go:148
↓ 5 callersMethodAddInput
AddInput registers an input as being handled by this source.
pkg/logs/sources/source.go:74
↓ 5 callersMethodAddListener
AddListener adds a listener on the ruleset
pkg/security/secl/rules/ruleset.go:534
↓ 5 callersMethodAddLoader
AddLoader adds a new Loader that AutoConfig can use to load a check.
pkg/collector/scheduler.go:138
↓ 5 callersMethodAddMessage
AddMessage create a message
comp/logs/agent/config/messages.go:29
↓ 5 callersFunctionAddRecurrentSeries
AddRecurrentSeries adds a serie to the series that are sent at every flush
pkg/aggregator/aggregator.go:356
↓ 5 callersMethodAddStringValue
AddStringValue adds a string (for example inside an array)
pkg/util/json/raw_object_writer.go:82
↓ 5 callersMethodAddr
Addr returns the host:port address to listen on.
pkg/snmp/traps/config/config.go:109
↓ 5 callersMethodAll
All returns all registered info providers.
pkg/logs/internal/status/info.go:142
↓ 5 callersMethodAllTimeAvg
AllTimeAvg Gets the all time average of values seen so far
pkg/util/statstracker/stats_tracker.go:92
↓ 5 callersMethodAppend
Append appends a serie
pkg/metrics/iterable_series.go:25
↓ 5 callersFunctionAppendMatchedRule
AppendMatchedRule appends two lists, but avoiding duplicates
pkg/security/secl/model/model.go:406
↓ 5 callersMethodAppendTime
(v time.Time)
pkg/util/log/zap/zapencoder.go:114
↓ 5 callersMethodAssertMetricNotTaggedWith
AssertMetricNotTaggedWith allows to assert tags were never emitted for a metric.
pkg/aggregator/mocksender/asserts.go:61
↓ 5 callersMethodAttach
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 callersFunctionBe
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callersMethodBuffer
Buffer to raw EVT_VARIANT buffer
pkg/util/winutil/eventlog/api/types.go:240
↓ 5 callersFunctionBuildOidTrie
BuildOidTrie builds the OIDTrie from a list of OIDs
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:30
↓ 5 callersFunctionBuildTemplates
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 callersFunctionBuildURL
BuildURL returns the full url based on the route
pkg/serverless/registration/utils.go:31
↓ 5 callersMethodCgroupVersion
CgroupVersion returns the detected cgroup version
pkg/util/cgroups/reader.go:162
↓ 5 callersMethodCheckConnectivity
()
pkg/util/containerd/containerd_util.go:51
↓ 5 callersMethodChunk
Chunk returns a chunk in TracerPayload by its index
pkg/trace/api/payload.go:40
↓ 5 callersMethodChunks
Chunks returns chunks in TracerPayload
pkg/trace/api/payload.go:35
↓ 5 callersMethodClone
()
pkg/util/log/zap/zapencoder.go:26
↓ 5 callersMethodClose
Close cleans all encoders resources.
pkg/network/encoding/encoding.go:83
↓ 5 callersMethodClose
Close closes the Compressor, flushing any remaining uncompressed data
pkg/serializer/internal/stream/compressor.go:176
↓ 5 callersMethodCollect
Collect returns the current state of all metrics of the collector
pkg/network/tracer/connection/tracer.go:82
↓ 5 callersMethodCollectQueryData
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 callersMethodCollector
()
pkg/sbom/sbom.go:58
↓ 5 callersFunctionCombineCompositeTagsAndSlice
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 callersFunctionCommands
(globalParams *command.GlobalParams)
cmd/security-agent/subcommands/compliance/command.go:27
↓ 5 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/diagnose/command.go:62
↓ 5 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/integrations/command.go:92
↓ 5 callersMethodComputeCapacity
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 callersFunctionComputeTagsHash
ComputeTagsHash returns a hash of the supplied tags.
pkg/tagger/utils/compute_tags_hash.go:15
↓ 5 callersMethodConfigure
Configure configures the network checks
pkg/collector/corechecks/net/network.go:281
↓ 5 callersFunctionConfigureAutoExit
ConfigureAutoExit starts automatic shutdown mechanism if necessary
cmd/manager/auto_exit.go:29
↓ 5 callersMethodConfigureFromInstance
ConfigureFromInstance configures various options from the instance section of the configuration
pkg/jmxfetch/jmxfetch.go:449
↓ 5 callersMethodConnections
Connections returns a slice of all the `ConnectionStats` objects returned via `Next` since the last `Reset`.
pkg/network/buffer.go:56
↓ 5 callersMethodContainers
(namespace string)
pkg/util/containerd/containerd_util.go:54
↓ 5 callersFunctionContainsWildcard
ContainsWildcard returns true if the path contains any wildcard character
comp/logs/agent/config/integration_config.go:269
↓ 5 callersFunctionConvertRetrierErr
ConvertRetrierErr converts a retrier error into a metrics error
pkg/util/containers/metrics/provider/util.go:13
↓ 5 callersMethodCopyDirToWithoutScrubbing
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 callersFunctionCreateHTTPTransport
CreateHTTPTransport creates an *http.Transport for use in the agent
pkg/util/http/transport.go:63
↓ 5 callersFunctionCreateOrFetchToken
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 callersFunctionCreatePdhQuery
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 callersFunctionCriticalc
Criticalc logs at the critical level with context and returns an error containing the formated log message
pkg/util/log/log.go:755
← previousnext →2,901–3,000 of 32,574, ranked by callers