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
↓ 77 callers
Method
Informer
Informer returns the shared informer for that resource.
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:30
↓ 77 callers
Method
Printf
(format string, a ...any)
pkg/security/tests/files_generator.go:157
↓ 77 callers
Function
encodeVarint
(dAtA []byte, offset int, v uint64)
pkg/proto/pbgo/trace/span_vtproto.pb.go:170
↓ 74 callers
Method
Next
()
pkg/logs/tailers/journald/journal_factory.go:26
↓ 73 callers
Method
Value
Value returns the value and the error stored in the Value[T]. If it contains an error, the returned value is unspecified.
pkg/gohai/utils/value.go:53
↓ 72 callers
Method
Close
()
pkg/process/procutil/probe.go:14
↓ 72 callers
Function
ExpandSyscallProbesSelector
ExpandSyscallProbesSelector returns the list of a ProbesSelector required to query all the probes available for a syscall
pkg/security/ebpf/probes/syscall_helpers.go:201
↓ 72 callers
Function
NewGauge
NewGauge creates a Gauge with default options for telemetry purpose. Current implementation used: Prometheus Gauge
pkg/telemetry/gauge.go:19
↓ 72 callers
Method
Stop
Stop stops the dogstatsd server
comp/dogstatsd/server/component.go:26
↓ 72 callers
Method
Sub
Sub subtracts the value to the Gauge value.
comp/core/telemetry/gauge.go:19
↓ 72 callers
Function
assertTriggeredRule
nolint:deadcode,unused
pkg/security/tests/module_tester.go:435
↓ 72 callers
Function
testConfig
()
pkg/network/tracer/tracer_linux_test.go:2094
↓ 72 callers
Method
write
(self, txt)
tasks/test.py:46
↓ 69 callers
Method
Compile
(pattern string, caseInsensitive bool)
pkg/security/secl/compiler/eval/strings.go:126
↓ 69 callers
Method
Encode
(msg *message.Message)
pkg/logs/internal/processor/encoder.go:17
↓ 69 callers
Method
Scan
Scan performs a scan
pkg/sbom/scanner/scanner.go:59
↓ 69 callers
Method
Warnf
Warnf logs the given formatted arguments at the warn level, and returns an error containing the message.
comp/core/log/component.go:47
↓ 68 callers
Function
Count
Count calls Count on the global Client, if set.
pkg/trace/metrics/client.go:36
↓ 68 callers
Method
Flush
()
pkg/trace/log/logger.go:47
↓ 68 callers
Method
Warnf
(format string, params ...interface{})
pkg/trace/log/logger.go:42
↓ 67 callers
Method
Addr
Addr implements net.Listener.
pkg/trace/api/listener.go:130
↓ 67 callers
Function
assertFieldEqual
nolint:deadcode,unused
pkg/security/tests/module_tester.go:453
↓ 66 callers
Method
Process
Process is called after core process (regardless of encountered error) Tags are given after `AdaptTags()` has been called aggSender is only passed as
pkg/collector/corechecks/containers/generic/processor_extension.go:27
↓ 66 callers
Method
SetKnown
SetKnown adds a key to the set of known valid config keys
pkg/config/model/types.go:129
↓ 66 callers
Function
TrackedCString
TrackedCString retruns an allocation-tracked pointer to a string
rtloader/test/helpers/helpers_native.go:34
↓ 66 callers
Method
path
(name string)
pkg/logs/launchers/file/provider/file_provider_test.go:40
↓ 65 callers
Function
Component
Component is a simple wrapper around fx.Module that automatically determines the component name.
pkg/util/fxutil/createcomponent.go:25
↓ 65 callers
Method
Configure
Configure configures the check
pkg/collector/check/check.go:32
↓ 65 callers
Method
Zero
Zero the event
pkg/security/secl/model/model.go:237
↓ 64 callers
Function
getConnections
(t require.TestingT, tr *Tracer)
pkg/network/tracer/tracer_test.go:999
↓ 64 callers
Method
remove
remove removes an item from a multimap
pkg/autodiscovery/multimap.go:31
↓ 64 callers
Function
setupTracer
(t testing.TB, cfg *config.Config)
pkg/network/tracer/tracer_test.go:76
↓ 63 callers
Function
NewCheckConfig
NewCheckConfig builds a new check config
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:321
↓ 63 callers
Function
NewConfig
NewConfig creates a webhook controller configuration
pkg/clusteragent/admission/controllers/webhook/config.go:36
↓ 62 callers
Method
Add
(transaction *HTTPTransaction)
comp/forwarder/defaultforwarder/transaction/transaction.go:209
↓ 62 callers
Method
Slice
Slice returns a shared sub-slice of tags from t.
pkg/tagset/hashed_tags.go:27
↓ 61 callers
Function
assertConfigsMatch
assertConfigsMatch verifies that the given slice of changes has exactly one match to each of the given functions, regardless of order.
pkg/autodiscovery/configmgr_test.go:29
↓ 61 callers
Method
exists
(c *network.ConnectionStats, netns uint32, pid int)
pkg/network/tracer/cached_conntrack.go:75
↓ 60 callers
Method
Commit
()
pkg/aggregator/sender/sender.go:18
↓ 60 callers
Method
GetSenderManager
GetSenderManager returns the instance of sender.SenderManager
pkg/aggregator/mocksender/mocksender.go:62
↓ 60 callers
Method
ResolveProcessCreatedAt
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:973
↓ 60 callers
Method
ResolveProcessEnvp
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:974
↓ 60 callers
Method
ResolveProcessEnvs
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:975
↓ 60 callers
Method
Run
(stopCh <-chan struct{})
pkg/clusteragent/admission/controllers/webhook/controller_base.go:30
↓ 60 callers
Function
SetupConfFromYAML
SetupConfFromYAML generates a configuration from the given yaml config
pkg/config/test_helpers.go:34
↓ 60 callers
Function
getLine
(doc, n)
cmd/agent/gui/views/private/js/codemirror.js:400
↓ 59 callers
Method
Digest
Digest returns an hash value representing the data stored in this configuration. The ClusterCheck field is intentionally left out to keep a stable dig
pkg/autodiscovery/integration/config.go:362
↓ 59 callers
Method
IsExcluded
IsExcluded returns whether a container should be excluded according to the chosen ft filter.
pkg/autodiscovery/listeners/workloadmeta.go:38
↓ 59 callers
Function
assertRights
nolint:deadcode,unused
pkg/security/tests/module_tester.go:412
↓ 58 callers
Method
List
(cardinality collectors.TagCardinality)
pkg/tagger/interface.go:32
↓ 58 callers
Method
Update
(response *pbgo.LatestConfigsResponse)
pkg/config/remote/service/service.go:116
↓ 58 callers
Function
newTagStats
()
pkg/trace/agent/normalizer_test.go:49
↓ 57 callers
Function
ForOneShot
ForOneShot sets up logging parameters for a one-shot app. If overrideFromEnv is set, then DD_LOG_LEVEL will override the given level. Otherwise, fil
comp/core/log/params.go:61
↓ 57 callers
Function
atom
atom is a shorthand to create an atomic value
pkg/trace/info/helper_test.go:17
↓ 56 callers
Method
Err
Err returns the last error that the tokenizer encountered, or nil.
pkg/obfuscate/sql_tokenizer.go:254
↓ 56 callers
Function
ExpandSyscallProbes
ExpandSyscallProbes returns the list of available hook probes for the syscall func name of the provided probe
pkg/security/ebpf/probes/syscall_helpers.go:174
↓ 56 callers
Method
ServeHTTP
ServeHTTP responds based on the request body.
pkg/trace/writer/testserver.go:131
↓ 56 callers
Function
join
(pieces ...string)
pkg/network/config/config.go:262
↓ 56 callers
Function
reportError
(e error)
pkg/util/cgroups/reporter.go:29
↓ 55 callers
Method
Infof
(format string, params ...interface{})
pkg/trace/log/logger.go:40
↓ 55 callers
Method
Log
()
pkg/network/protocols/http/telemetry.go:108
↓ 55 callers
Function
NewNoOpSenderManager
NewNoOpSenderManager creates a new instance of NoOpSenderManager.
pkg/aggregator/no_op_sender_manager.go:19
↓ 55 callers
Method
Read
(b []byte)
pkg/util/pipe.go:12
↓ 55 callers
Method
RemoveAll
RemoveAll purges a TempFolder
pkg/util/testutil/tempfolder.go:29
↓ 55 callers
Function
enableProbe
(enabled map[probes.ProbeFuncName]struct{}, name probes.ProbeFuncName)
pkg/network/tracer/connection/kprobe/config.go:19
↓ 55 callers
Function
option
(name, deflt, handle, notOnInit)
cmd/agent/gui/views/private/js/codemirror.js:7551
↓ 55 callers
Function
stringPtr
(in string)
pkg/collector/corechecks/sbom/convert.go:22
↓ 55 callers
Function
stringPtr
(in string)
cmd/agentless-scanner/trivy_sbom_convert.go:20
↓ 54 callers
Method
Context
Context allows one to access the current context of this DestinationsContext.
pkg/logs/client/destinations_context.go:45
↓ 54 callers
Function
NewGlob
NewGlob returns a new glob object from the given pattern
pkg/security/secl/compiler/eval/glob.go:130
↓ 54 callers
Function
elt
(tag, content, className, style)
cmd/agent/gui/views/private/js/codemirror.js:71
↓ 54 callers
Method
match
(els []string)
pkg/security/seclog/logger.go:48
↓ 54 callers
Function
newTestSpan
()
pkg/trace/agent/normalizer_test.go:27
↓ 53 callers
Function
NewObfuscator
NewObfuscator creates a new obfuscator
pkg/obfuscate/obfuscate.go:233
↓ 53 callers
Method
Rate
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:21
↓ 53 callers
Function
SetupLogger
SetupLogger setup agent wide logger
pkg/util/log/log.go:56
↓ 52 callers
Method
Close
Close closes the conntrack object
pkg/network/netlink/conntrack.go:32
↓ 52 callers
Function
CreateMockSession
CreateMockSession creates a mock session
pkg/collector/corechecks/snmp/internal/session/testing_utils.go:62
↓ 52 callers
Method
advance
advance advances the tokenizer to the next rune. If the decoder encounters an error decoding, or the end of the buffer is reached, tkn.lastChar will b
pkg/obfuscate/sql_tokenizer.go:857
↓ 51 callers
Function
Get
Get returns the host name for the agent
pkg/util/hostname/providers.go:198
↓ 51 callers
Function
NewNoopCollector
NewNoopCollector returns a noop collector
pkg/trace/telemetry/collector.go:127
↓ 51 callers
Method
String
String provides a summary of the entity. The string may span several lines, especially if verbose.
pkg/workloadmeta/types.go:280
↓ 51 callers
Method
apply
apply prepends the prefix to the message.
pkg/logs/client/tcp/prefixer.go:24
↓ 50 callers
Method
Debugf
Debugf logs the given formatted arguments at the debug level
comp/core/log/component.go:35
↓ 50 callers
Function
InitTestAgentDemultiplexerWithFlushInterval
InitTestAgentDemultiplexerWithFlushInterval inits a TestAgentDemultiplexer with the given flush interval.
pkg/aggregator/demultiplexer_mock.go:174
↓ 50 callers
Method
Lookup
Lookup gets tags from the store and returns them concatenated in a string slice. It returns the source names in the second slice to allow the client t
pkg/tagger/tagstore/tagstore.go:283
↓ 50 callers
Method
Marshal
Marshal serialize objects using agent-payload definition.
pkg/serializer/marshaler/marshaler.go:27
↓ 50 callers
Method
Run
Run runs the check
pkg/process/checks/checks.go:56
↓ 50 callers
Method
String
String returns the name of the provider. All Config instances produced by this provider will have this value in their Provider field.
pkg/autodiscovery/providers/providers.go:38
↓ 50 callers
Method
Swap
Swap is part of sort.Interface
pkg/security/security_profile/dump/local_storage.go:53
↓ 50 callers
Method
UnmarshalBinary
(data []byte)
pkg/security/secl/model/unmarshallers_linux.go:28
↓ 50 callers
Function
error
(msg: str)
tasks/kernel_matrix_testing/tool.py:25
↓ 50 callers
Function
on
(emitter, type, f)
cmd/agent/gui/views/private/js/codemirror.js:1120
↓ 49 callers
Method
Bool
Bool implements pprof Flag interface
pkg/security/tests/module_stresser.go:43
↓ 49 callers
Function
Debugf
Debugf formats message according to format specifier and writes to log with level = Debug.
pkg/trace/log/logger.go:76
↓ 49 callers
Function
NewRuleSet
NewRuleSet returns a new ruleset for the specified data model
pkg/security/secl/rules/ruleset.go:773
↓ 49 callers
Method
Notify
Notify notifies the store with a slice of events. It should only be used by workloadmeta collectors.
pkg/workloadmeta/types.go:117
↓ 49 callers
Method
Start
Start starts the dogstatsd server
comp/dogstatsd/server/component.go:23
↓ 49 callers
Function
makePoints
(ts, val int)
pkg/util/kubernetes/autoscalers/processor_test.go:52
↓ 48 callers
Function
file_pkg_security_proto_api_api_proto_rawDescGZIP
()
pkg/security/proto/api/api.pb.go:3303
← previous
next →
201–300 of 32,574, ranked by callers