MCPcopy Create free account

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

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

↓ 5 callersFunctionsleepRandomJitter
sleepRandomJitter returns a jitter duration adapted to space out randomly our benchmark runs given the current run count and the run interval. The ran
pkg/compliance/agent.go:633
↓ 5 callersFunctionspanIDToHexOrEmptyString
spanIDToHexOrEmptyString returns a hex string from SpanID. An empty string is returned, if SpanID is empty.
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:254
↓ 5 callersFunctionspanIDToUint64
spanIDToUint64 converts byte array to uint64
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:248
↓ 5 callersFunctionspansFor
(n)
cmd/agent/gui/views/private/js/codemirror.js:4611
↓ 5 callersFunctionstack_exists
(stack)
tasks/kernel_matrix_testing/stacks.py:18
↓ 5 callersFunctionstartWorker
(cm, time)
cmd/agent/gui/views/private/js/codemirror.js:4019
↓ 5 callersFunctionstateEndValue
stateEndValue is the state after completing a value, such as after reading `{}` or `true` or `["x"`.
pkg/obfuscate/json_scanner.go:223
↓ 5 callersFunctionstatusForCondition
statusForCondition returns the right service check status based on the KSM label 'status' and the nature of the event whether a positive event or not
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:179
↓ 5 callersFunctionstrSliceDeref
(in *[]string)
pkg/collector/corechecks/sbom/convert.go:30
↓ 5 callersFunctionstrSliceDeref
(in *[]string)
cmd/agentless-scanner/trivy_sbom_convert.go:28
↓ 5 callersFunctionstringRandomChoice
(s []string)
pkg/trace/testutil/span.go:227
↓ 5 callersFunctiont
(e,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 5 callersFunctiontestExpvarPublish
(t *testing.T, publish func() interface{}, expected interface{})
pkg/trace/info/helper_test.go:21
↓ 5 callersFunctiontestHTTPObfuscation
testHTTPObfuscation tests that the given input results in the given output using the passed configuration.
pkg/obfuscate/http_test.go:164
↓ 5 callersMethodtoEntity
()
pkg/tagger/tagstore/entity_tags.go:60
↓ 5 callersFunctiontoEventUnset
(proc *procutil.Process)
pkg/process/metadata/workloadmeta/grpc_test.go:359
↓ 5 callersFunctiontraceCount
(req *http.Request)
pkg/trace/api/api.go:317
↓ 5 callersFunctiontraceIDToHexOrEmptyString
traceIDToHexOrEmptyString returns a hex string from TraceID. An empty string is returned, if TraceID is empty.
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:263
↓ 5 callersFunctiontraceIDToUint64
traceIDToUint64 converts 128bit traceId to 64 bit uint64
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:243
↓ 5 callersMethodtrySendDefaultValue
(regKeyCfg registryKey, regValueCfg registryValueCfg)
comp/checks/winregistry/impl/metrics_registry_delegate.go:23
↓ 5 callersFunctionupdateScrollTop
(cm, val)
cmd/agent/gui/views/private/js/codemirror.js:3468
↓ 5 callersMethoduseSQLLiteralEscapes
useSQLLiteralEscapes reports whether escape characters will be treated literally by the SQL obfuscator. Some SQL engines require it and others don't.
pkg/obfuscate/obfuscate.go:60
↓ 5 callersFunctionvalidateEnrichSymbol
(symbol *profiledefinition.SymbolConfig, symbolContext SymbolContext)
pkg/collector/corechecks/snmp/internal/configvalidation/config_validate_enrich.go:140
↓ 5 callersMethodvalidateSELinuxSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:133
↓ 5 callersFunctionvalidateValue
(val *int, valueRange *configValueRange)
pkg/collector/corechecks/sbom/check.go:81
↓ 5 callersMethodverify
()
pkg/config/remote/uptane/client.go:235
↓ 5 callersFunctionverifyAssertionsOnFilesList
verifyAssetionsOnFilesList runs an assertion function on all files in filenames
test/new-e2e/tests/agent-subcommands/flare/flare_helpers.go:104
↓ 5 callersMethodverifyKernelFuncs
(requiredKernelFuncs []string)
pkg/ebpf/ksyms.go:39
↓ 5 callersFunctionversioninfo_vars
( ctx, major_version='7', python_runtimes='3', arch='x64', )
tasks/windows_resources.py:61
↓ 5 callersFunctionw
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callersMethodwait
wait lets the tailer sleep for a bit
pkg/logs/tailers/file/tailer.go:380
↓ 5 callersFunctionwalk
walk will go through loaded yaml and call callback on every strings allowing the callback to overwrite the string value
pkg/secrets/secrets.go:151
↓ 5 callersFunctionwidgetHeight
(widget)
cmd/agent/gui/views/private/js/codemirror.js:2317
↓ 5 callersFunctionwrapPayloads
(p []*proto.ClientStatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:38
↓ 5 callersMethodwriteSeparatorIfNeeded
()
pkg/util/json/raw_object_writer.go:96
↓ 4 callersMethodAccumulateTagsFor
(entity string, cardinality collectors.TagCardinality, tb tagset.TagsAccumulator)
pkg/tagger/interface.go:30
↓ 4 callersMethodAdd
Add inserts adds to the MetricsStore by calling the metrics generator functions and adding the generated metrics to the metrics map that underlies the
pkg/kubestatemetrics/store/store.go:80
↓ 4 callersMethodAddFileWithoutScrubbing
AddFileWithoutScrubbing creates a new file in the flare with the content. 'destFile' is a path relative to the flare root (ex: "some/path/to/a/file")
comp/core/flare/types/types.go:55
↓ 4 callersFunctionAddInitTypeTag
AddInitTypeTag appends the init_type tag to existing tags
pkg/serverless/tags/tags.go:188
↓ 4 callersMethodAddInt
(k string, v int)
pkg/util/log/zap/zapencoder.go:55
↓ 4 callersMethodAddInt64Field
AddInt64Field adds a new field of type int64
pkg/util/json/raw_object_writer.go:61
↓ 4 callersMethodAddKV
AddKV adds value `v` to map the map indexed with key `k`.
pkg/util/bimap.go:93
↓ 4 callersMethodAddListeners
AddListeners tries to initialise the listeners listed in the given configs. A first try is done synchronously. If a listener fails with a ErrWillRetry
pkg/autodiscovery/autoconfig.go:266
↓ 4 callersMethodAddMetrics
AddMetrics adds metrics to a check configuration
pkg/autodiscovery/integration/config.go:210
↓ 4 callersFunctionAddOverride
AddOverride provides an externally accessible method for overriding config variables. This method must be called before Load() to be effective.
pkg/config/model/config_overrides.go:26
↓ 4 callersFunctionAddOverrideFunc
AddOverrideFunc allows to add a custom logic to override configuration. This method must be called before Load() to be effective.
pkg/config/model/config_overrides.go:19
↓ 4 callersFunctionAddProgramNameMapping
AddProgramNameMapping manually adds a program name mapping
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:26
↓ 4 callersMethodAddTagToInferredSpan
AddTagToInferredSpan is used to add new tags to the inferred span in inferredSpan.Span.Meta[]. Should be used before completing an inferred span.
pkg/serverless/trace/inferredspan/inferred_span.go:131
↓ 4 callersMethodAddWorker
AddWorker adds a single worker to the runner.
pkg/collector/runner/runner.go:105
↓ 4 callersFunctionAddrPortWithAddr
AddrPortWithAddr returns an AddrPort with Addr addr and port addrPort.Port()
pkg/network/netlink/iputils.go:23
↓ 4 callersFunctionAe
(e,i,o)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 4 callersFunctionAgentSubcommands
AgentSubcommands returns SubcommandFactories for the subcommands supported with the current build flags.
cmd/agent/subcommands/subcommands.go:41
↓ 4 callersMethodAllKeys
()
pkg/config/model/types.go:55
↓ 4 callersMethodAllTimePeak
AllTimePeak Gets the largest value seen so far
pkg/util/statstracker/stats_tracker.go:118
↓ 4 callersMethodAllowDevMode
AllowDevMode returns if DevMode is allowed
test/new-e2e/pkg/runner/profile.go:60
↓ 4 callersFunctionAppendProbeRequestsToFetcher
AppendProbeRequestsToFetcher returns the offsets and struct sizes constants, from a constant fetcher
pkg/security/probe/probe_linux.go:1842
↓ 4 callersMethodApply
([]string)
pkg/security/rules/engine.go:65
↓ 4 callersMethodApproximateSize
ApproximateSize returns an approximation of the size of the tree
pkg/security/security_profile/activity_tree/activity_tree_stats.go:62
↓ 4 callersFunctionAskForConfirmation
AskForConfirmation asks for the user's confirmation to send the flare
pkg/util/input/input.go:24
↓ 4 callersMethodAssertErrorEvent
()
pkg/compliance/tests/helpers.go:210
↓ 4 callersFunctionAssertSeriesEqual
AssertSeriesEqual evaluate if two list of series match
pkg/metrics/test_helper.go:56
↓ 4 callersFunctionAssertSketchSeriesApproxEqual
AssertSketchSeriesApproxEqual checks whether two SketchSeries are approximately equal. e represents the acceptable error %
pkg/metrics/test_helper.go:96
↓ 4 callersMethodAutoreport
Autoreport enables autoreporting of the Set at the given interval. It returns a cancellation function.
pkg/trace/metrics/timing/timing.go:52
↓ 4 callersFunctionBoolToFloat64
BoolToFloat64 converts a true/false boolean into a 1.0 or 0.0 float
pkg/collector/corechecks/snmp/internal/common/utils.go:47
↓ 4 callersFunctionBuildHTTPEndpoints
BuildHTTPEndpoints returns the HTTP endpoints to send logs to.
comp/logs/agent/config/config.go:186
↓ 4 callersFunctionBuildHTTPEndpointsWithVectorOverride
BuildHTTPEndpointsWithVectorOverride returns the HTTP endpoints to send logs to.
comp/logs/agent/config/config.go:191
↓ 4 callersFunctionByTuple
ByTuple matches connections when both source and destination address and port match
pkg/network/conn_filter.go:19
↓ 4 callersFunctionCIDRArrayMatches
CIDRArrayMatches weak comparison, at least one element of a should be in b.
pkg/security/secl/compiler/eval/operators.go:1036
↓ 4 callersFunctionCIDRValuesContains
CIDRValuesContains evaluates a CIDR against a list of CIDRs
pkg/security/secl/compiler/eval/operators.go:909
↓ 4 callersMethodCancel
Cancel is called when check is unscheduled
pkg/collector/corechecks/snmp/snmp.go:163
↓ 4 callersMethodCheckEvents
()
pkg/collector/corechecks/containers/containerd/events.go:163
↓ 4 callersFunctionCheckIsInferredSpan
CheckIsInferredSpan determines if a span belongs to a managed service or not _inferred_span.tag_source = "self" => managed service span _inferred_span
pkg/serverless/trace/inferredspan/inferred_span.go:63
↓ 4 callersMethodClean
Clean eBPF map `interval` determines how often the eBPF map is scanned; `shouldClean` is a predicate method that determines whether or not a certain m
pkg/ebpf/map_cleaner.go:70
↓ 4 callersMethodClientGetConfigs
(ctx context.Context, in *ClientGetConfigsRequest, opts ...grpc.CallOption)
pkg/proto/pbgo/core/api.pb.go:329
↓ 4 callersMethodClose
()
pkg/network/tracer/offsetguess/tracer.go:988
↓ 4 callersFunctionCollectInfo
CollectInfo returns a list of process groups information or an error
pkg/gohai/processes/processes.go:39
↓ 4 callersFunctionCommands
Commands returns a slice of subcommands for the `config` command in the Process Agent
cmd/process-agent/subcommands/config/config.go:34
↓ 4 callersFunctionCommands
Commands returns the config commands
cmd/security-agent/subcommands/config/config.go:37
↓ 4 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/system-probe/subcommands/config/command.go:36
↓ 4 callersMethodCompile
Compile a simple pattern
pkg/security/secl/compiler/eval/strings.go:215
↓ 4 callersFunctionCompileProcessingRules
CompileProcessingRules compiles all processing rule regular expressions.
comp/logs/agent/config/processing_rules.go:65
↓ 4 callersFunctionCompress
Compress will compress the data with zstd
pkg/util/compression/zstd.go:22
↓ 4 callersFunctionCompressBound
CompressBound returns the worst case size needed for a destination buffer
pkg/util/compression/zstd.go:32
↓ 4 callersMethodComputeHashes
ComputeHashes computes the hashes of the provided file event. Disclaimer: This resolver considers that the FileEvent has already been resolved
pkg/security/resolvers/hash/resolver_linux.go:158
↓ 4 callersMethodComputeHashesFromEvent
ComputeHashesFromEvent calls ComputeHashes using the provided event
pkg/security/resolvers/hash/resolver_linux.go:150
↓ 4 callersMethodComputeMonotonicTimestamp
ComputeMonotonicTimestamp converts an absolute time to a kernel monotonic timestamp
pkg/security/resolvers/time/resolver.go:64
↓ 4 callersMethodConfigMissingOK
ConfigMissingOK determines whether it is a fatal error if the config file does not exist.
comp/core/config/params.go:156
↓ 4 callersMethodConfigRootVersion
ConfigRootVersion returns the version of the config root.json file
pkg/config/remote/uptane/client_state.go:22
↓ 4 callersFunctionConfigure
Configure event processing Must be called *before* manager.InitWithOptions
pkg/network/protocols/events/configuration.go:31
↓ 4 callersMethodConnTuple
()
pkg/network/protocols/http/model.go:18
↓ 4 callersMethodCopy
Copy creates a deep copy of the taglist object for reuse
pkg/tagger/utils/taglist.go:107
↓ 4 callersMethodCounter
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:25
↓ 4 callersFunctionCreateConnectionStat
(source string, dest string, SPort uint16, DPort uint16, connType ConnectionType)
pkg/network/state_intrahost_test.go:39
↓ 4 callersFunctionCreateFakeSession
CreateFakeSession creates a new FakeSession with an empty set of data.
pkg/collector/corechecks/snmp/internal/session/fake_session.go:77
↓ 4 callersMethodCriticalf
(format string, params ...interface{})
pkg/trace/log/logger.go:46
↓ 4 callersMethodDecError
DecError decrements the number of errors and returns the new value
pkg/util/backoff/policy.go:17
↓ 4 callersMethodDeclareQueue
(name string, ch *amqp.Channel)
pkg/network/protocols/amqp/client.go:110
↓ 4 callersMethodDedup2
Dedup2 removes duplicates from two tags accumulators. Duplicate tags are removed, so at the end tag each tag is present once in either l or r, but not
pkg/tagset/hash_generator.go:144
↓ 4 callersMethodDescribeCurrentItem
()
pkg/serializer/marshaler/marshaler.go:58
↓ 4 callersFunctionDesiredLRPFromBBSModel
DesiredLRPFromBBSModel creates a new DesiredLRP from BBS's DesiredLRP model
pkg/util/cloudproviders/cloudfoundry/types.go:213
← previousnext →3,601–3,700 of 32,574, ranked by callers