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
↓ 5 callers
Function
sleepRandomJitter
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 callers
Function
spanIDToHexOrEmptyString
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 callers
Function
spanIDToUint64
spanIDToUint64 converts byte array to uint64
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:248
↓ 5 callers
Function
spansFor
(n)
cmd/agent/gui/views/private/js/codemirror.js:4611
↓ 5 callers
Function
stack_exists
(stack)
tasks/kernel_matrix_testing/stacks.py:18
↓ 5 callers
Function
startWorker
(cm, time)
cmd/agent/gui/views/private/js/codemirror.js:4019
↓ 5 callers
Function
stateEndValue
stateEndValue is the state after completing a value, such as after reading `{}` or `true` or `["x"`.
pkg/obfuscate/json_scanner.go:223
↓ 5 callers
Function
statusForCondition
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 callers
Function
strSliceDeref
(in *[]string)
pkg/collector/corechecks/sbom/convert.go:30
↓ 5 callers
Function
strSliceDeref
(in *[]string)
cmd/agentless-scanner/trivy_sbom_convert.go:28
↓ 5 callers
Function
stringRandomChoice
(s []string)
pkg/trace/testutil/span.go:227
↓ 5 callers
Function
t
(e,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 5 callers
Function
testExpvarPublish
(t *testing.T, publish func() interface{}, expected interface{})
pkg/trace/info/helper_test.go:21
↓ 5 callers
Function
testHTTPObfuscation
testHTTPObfuscation tests that the given input results in the given output using the passed configuration.
pkg/obfuscate/http_test.go:164
↓ 5 callers
Method
toEntity
()
pkg/tagger/tagstore/entity_tags.go:60
↓ 5 callers
Function
toEventUnset
(proc *procutil.Process)
pkg/process/metadata/workloadmeta/grpc_test.go:359
↓ 5 callers
Function
traceCount
(req *http.Request)
pkg/trace/api/api.go:317
↓ 5 callers
Function
traceIDToHexOrEmptyString
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 callers
Function
traceIDToUint64
traceIDToUint64 converts 128bit traceId to 64 bit uint64
comp/otelcol/otlp/internal/logsagentexporter/logs_exporter_test.go:243
↓ 5 callers
Method
trySendDefaultValue
(regKeyCfg registryKey, regValueCfg registryValueCfg)
comp/checks/winregistry/impl/metrics_registry_delegate.go:23
↓ 5 callers
Function
updateScrollTop
(cm, val)
cmd/agent/gui/views/private/js/codemirror.js:3468
↓ 5 callers
Method
useSQLLiteralEscapes
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 callers
Function
validateEnrichSymbol
(symbol *profiledefinition.SymbolConfig, symbolContext SymbolContext)
pkg/collector/corechecks/snmp/internal/configvalidation/config_validate_enrich.go:140
↓ 5 callers
Method
validateSELinuxSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:133
↓ 5 callers
Function
validateValue
(val *int, valueRange *configValueRange)
pkg/collector/corechecks/sbom/check.go:81
↓ 5 callers
Method
verify
()
pkg/config/remote/uptane/client.go:235
↓ 5 callers
Function
verifyAssertionsOnFilesList
verifyAssetionsOnFilesList runs an assertion function on all files in filenames
test/new-e2e/tests/agent-subcommands/flare/flare_helpers.go:104
↓ 5 callers
Method
verifyKernelFuncs
(requiredKernelFuncs []string)
pkg/ebpf/ksyms.go:39
↓ 5 callers
Function
versioninfo_vars
( ctx, major_version='7', python_runtimes='3', arch='x64', )
tasks/windows_resources.py:61
↓ 5 callers
Function
w
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callers
Method
wait
wait lets the tailer sleep for a bit
pkg/logs/tailers/file/tailer.go:380
↓ 5 callers
Function
walk
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 callers
Function
widgetHeight
(widget)
cmd/agent/gui/views/private/js/codemirror.js:2317
↓ 5 callers
Function
wrapPayloads
(p []*proto.ClientStatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:38
↓ 5 callers
Method
writeSeparatorIfNeeded
()
pkg/util/json/raw_object_writer.go:96
↓ 4 callers
Method
AccumulateTagsFor
(entity string, cardinality collectors.TagCardinality, tb tagset.TagsAccumulator)
pkg/tagger/interface.go:30
↓ 4 callers
Method
Add
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 callers
Method
AddFileWithoutScrubbing
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 callers
Function
AddInitTypeTag
AddInitTypeTag appends the init_type tag to existing tags
pkg/serverless/tags/tags.go:188
↓ 4 callers
Method
AddInt
(k string, v int)
pkg/util/log/zap/zapencoder.go:55
↓ 4 callers
Method
AddInt64Field
AddInt64Field adds a new field of type int64
pkg/util/json/raw_object_writer.go:61
↓ 4 callers
Method
AddKV
AddKV adds value `v` to map the map indexed with key `k`.
pkg/util/bimap.go:93
↓ 4 callers
Method
AddListeners
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 callers
Method
AddMetrics
AddMetrics adds metrics to a check configuration
pkg/autodiscovery/integration/config.go:210
↓ 4 callers
Function
AddOverride
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 callers
Function
AddOverrideFunc
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 callers
Function
AddProgramNameMapping
AddProgramNameMapping manually adds a program name mapping
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:26
↓ 4 callers
Method
AddTagToInferredSpan
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 callers
Method
AddWorker
AddWorker adds a single worker to the runner.
pkg/collector/runner/runner.go:105
↓ 4 callers
Function
AddrPortWithAddr
AddrPortWithAddr returns an AddrPort with Addr addr and port addrPort.Port()
pkg/network/netlink/iputils.go:23
↓ 4 callers
Function
Ae
(e,i,o)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 4 callers
Function
AgentSubcommands
AgentSubcommands returns SubcommandFactories for the subcommands supported with the current build flags.
cmd/agent/subcommands/subcommands.go:41
↓ 4 callers
Method
AllKeys
()
pkg/config/model/types.go:55
↓ 4 callers
Method
AllTimePeak
AllTimePeak Gets the largest value seen so far
pkg/util/statstracker/stats_tracker.go:118
↓ 4 callers
Method
AllowDevMode
AllowDevMode returns if DevMode is allowed
test/new-e2e/pkg/runner/profile.go:60
↓ 4 callers
Function
AppendProbeRequestsToFetcher
AppendProbeRequestsToFetcher returns the offsets and struct sizes constants, from a constant fetcher
pkg/security/probe/probe_linux.go:1842
↓ 4 callers
Method
Apply
([]string)
pkg/security/rules/engine.go:65
↓ 4 callers
Method
ApproximateSize
ApproximateSize returns an approximation of the size of the tree
pkg/security/security_profile/activity_tree/activity_tree_stats.go:62
↓ 4 callers
Function
AskForConfirmation
AskForConfirmation asks for the user's confirmation to send the flare
pkg/util/input/input.go:24
↓ 4 callers
Method
AssertErrorEvent
()
pkg/compliance/tests/helpers.go:210
↓ 4 callers
Function
AssertSeriesEqual
AssertSeriesEqual evaluate if two list of series match
pkg/metrics/test_helper.go:56
↓ 4 callers
Function
AssertSketchSeriesApproxEqual
AssertSketchSeriesApproxEqual checks whether two SketchSeries are approximately equal. e represents the acceptable error %
pkg/metrics/test_helper.go:96
↓ 4 callers
Method
Autoreport
Autoreport enables autoreporting of the Set at the given interval. It returns a cancellation function.
pkg/trace/metrics/timing/timing.go:52
↓ 4 callers
Function
BoolToFloat64
BoolToFloat64 converts a true/false boolean into a 1.0 or 0.0 float
pkg/collector/corechecks/snmp/internal/common/utils.go:47
↓ 4 callers
Function
BuildHTTPEndpoints
BuildHTTPEndpoints returns the HTTP endpoints to send logs to.
comp/logs/agent/config/config.go:186
↓ 4 callers
Function
BuildHTTPEndpointsWithVectorOverride
BuildHTTPEndpointsWithVectorOverride returns the HTTP endpoints to send logs to.
comp/logs/agent/config/config.go:191
↓ 4 callers
Function
ByTuple
ByTuple matches connections when both source and destination address and port match
pkg/network/conn_filter.go:19
↓ 4 callers
Function
CIDRArrayMatches
CIDRArrayMatches weak comparison, at least one element of a should be in b.
pkg/security/secl/compiler/eval/operators.go:1036
↓ 4 callers
Function
CIDRValuesContains
CIDRValuesContains evaluates a CIDR against a list of CIDRs
pkg/security/secl/compiler/eval/operators.go:909
↓ 4 callers
Method
Cancel
Cancel is called when check is unscheduled
pkg/collector/corechecks/snmp/snmp.go:163
↓ 4 callers
Method
CheckEvents
()
pkg/collector/corechecks/containers/containerd/events.go:163
↓ 4 callers
Function
CheckIsInferredSpan
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 callers
Method
Clean
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 callers
Method
ClientGetConfigs
(ctx context.Context, in *ClientGetConfigsRequest, opts ...grpc.CallOption)
pkg/proto/pbgo/core/api.pb.go:329
↓ 4 callers
Method
Close
()
pkg/network/tracer/offsetguess/tracer.go:988
↓ 4 callers
Function
CollectInfo
CollectInfo returns a list of process groups information or an error
pkg/gohai/processes/processes.go:39
↓ 4 callers
Function
Commands
Commands returns a slice of subcommands for the `config` command in the Process Agent
cmd/process-agent/subcommands/config/config.go:34
↓ 4 callers
Function
Commands
Commands returns the config commands
cmd/security-agent/subcommands/config/config.go:37
↓ 4 callers
Function
Commands
Commands returns a slice of subcommands for the 'agent' command.
cmd/system-probe/subcommands/config/command.go:36
↓ 4 callers
Method
Compile
Compile a simple pattern
pkg/security/secl/compiler/eval/strings.go:215
↓ 4 callers
Function
CompileProcessingRules
CompileProcessingRules compiles all processing rule regular expressions.
comp/logs/agent/config/processing_rules.go:65
↓ 4 callers
Function
Compress
Compress will compress the data with zstd
pkg/util/compression/zstd.go:22
↓ 4 callers
Function
CompressBound
CompressBound returns the worst case size needed for a destination buffer
pkg/util/compression/zstd.go:32
↓ 4 callers
Method
ComputeHashes
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 callers
Method
ComputeHashesFromEvent
ComputeHashesFromEvent calls ComputeHashes using the provided event
pkg/security/resolvers/hash/resolver_linux.go:150
↓ 4 callers
Method
ComputeMonotonicTimestamp
ComputeMonotonicTimestamp converts an absolute time to a kernel monotonic timestamp
pkg/security/resolvers/time/resolver.go:64
↓ 4 callers
Method
ConfigMissingOK
ConfigMissingOK determines whether it is a fatal error if the config file does not exist.
comp/core/config/params.go:156
↓ 4 callers
Method
ConfigRootVersion
ConfigRootVersion returns the version of the config root.json file
pkg/config/remote/uptane/client_state.go:22
↓ 4 callers
Function
Configure
Configure event processing Must be called *before* manager.InitWithOptions
pkg/network/protocols/events/configuration.go:31
↓ 4 callers
Method
ConnTuple
()
pkg/network/protocols/http/model.go:18
↓ 4 callers
Method
Copy
Copy creates a deep copy of the taglist object for reuse
pkg/tagger/utils/taglist.go:107
↓ 4 callers
Method
Counter
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:25
↓ 4 callers
Function
CreateConnectionStat
(source string, dest string, SPort uint16, DPort uint16, connType ConnectionType)
pkg/network/state_intrahost_test.go:39
↓ 4 callers
Function
CreateFakeSession
CreateFakeSession creates a new FakeSession with an empty set of data.
pkg/collector/corechecks/snmp/internal/session/fake_session.go:77
↓ 4 callers
Method
Criticalf
(format string, params ...interface{})
pkg/trace/log/logger.go:46
↓ 4 callers
Method
DecError
DecError decrements the number of errors and returns the new value
pkg/util/backoff/policy.go:17
↓ 4 callers
Method
DeclareQueue
(name string, ch *amqp.Channel)
pkg/network/protocols/amqp/client.go:110
↓ 4 callers
Method
Dedup2
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 callers
Method
DescribeCurrentItem
()
pkg/serializer/marshaler/marshaler.go:58
↓ 4 callers
Function
DesiredLRPFromBBSModel
DesiredLRPFromBBSModel creates a new DesiredLRP from BBS's DesiredLRP model
pkg/util/cloudproviders/cloudfoundry/types.go:213
← previous
next →
3,601–3,700 of 32,574, ranked by callers