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
↓ 37 callers
Method
WithRego
(rego string, args ...any)
pkg/compliance/tests/helpers.go:166
↓ 37 callers
Function
chunk
(input []byte, size int)
pkg/logs/internal/framer/framer_test.go:35
↓ 37 callers
Method
flush
(timestamp float64)
pkg/metrics/metric.go:61
↓ 36 callers
Method
Add
Add adds the item to the queue.
pkg/process/util/api/weighted_queue.go:114
↓ 36 callers
Method
AppendUint64
(v uint64)
pkg/util/log/zap/zapencoder.go:116
↓ 36 callers
Method
ConfigLoadSecrets
These functions are used in unit tests. ConfigLoadSecrets determines whether secrets in the configuration file should be evaluated. This is typically
comp/core/config/params.go:150
↓ 36 callers
Method
Float64
Float64 implements pprof Flag interface
pkg/security/tests/module_stresser.go:61
↓ 36 callers
Method
GenerateEvents
(channelName string, numEvents uint)
pkg/util/winutil/eventlog/test/test.go:36
↓ 36 callers
Method
ID
()
pkg/sbom/sbom.go:25
↓ 36 callers
Function
NewMockSenderWithSenderManager
NewMockSenderWithSenderManager returns a functional mocked Sender for testing
pkg/aggregator/mocksender/mocksender.go:41
↓ 36 callers
Function
SetConfdPathAndCleanProfiles
SetConfdPathAndCleanProfiles is used for testing only
pkg/collector/corechecks/snmp/internal/profile/testing_utils.go:26
↓ 36 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
pkg/security/serializers/serializers_linux_easyjson.go:2416
↓ 36 callers
Function
fakePod
(name string)
pkg/clusteragent/admission/mutate/test_utils.go:186
↓ 36 callers
Function
netmaskToPrefixlen
(netmask string)
pkg/collector/corechecks/snmp/internal/report/report_utils.go:156
↓ 36 callers
Function
newItem
(name string, weight int64)
pkg/process/util/api/weighted_queue_test.go:278
↓ 36 callers
Method
sendMetric
(senderFunc func(string, float64, string, []string), metricName string, value *float64, tags []string)
pkg/collector/corechecks/containers/generic/processor.go:192
↓ 35 callers
Method
EventType
EventType returns the event type this filter is filtering by. If the filter is nil, it returns EventTypeAll.
pkg/workloadmeta/filter.go:97
↓ 35 callers
Function
GetGlobalStore
GetGlobalStore returns a global instance of the workloadmeta store. It does not create one if it's not already set (see CreateGlobalStore) and returns
pkg/workloadmeta/store.go:833
↓ 35 callers
Function
GetNestedValue
GetNestedValue returns the value in the map specified by the array keys, where each value is another depth level in the map. Returns nil if the map do
pkg/util/json/nested_json.go:12
↓ 35 callers
Method
GetServiceID
()
pkg/autodiscovery/listeners/types.go:27
↓ 35 callers
Method
Infof
Infof logs the given formatted arguments at the info level
comp/core/log/component.go:40
↓ 35 callers
Method
Observe
Observe the value to the Histogram value.
comp/core/telemetry/histogram.go:11
↓ 35 callers
Method
Sort
([]transaction.Transaction)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:28
↓ 35 callers
Method
UpdateEnv
UpdateEnv updates the environment. This affects only the test that calls this function. Test functions that don't call UpdateEnv have the environment
test/new-e2e/pkg/utils/e2e/e2e.go:540
↓ 35 callers
Method
ValueOrDefault
ValueOrDefault returns the value stored in the Value[T], or the default value of the type in case of error.
pkg/gohai/utils/value.go:70
↓ 35 callers
Function
assertGetMeta
(t *testing.T, store *remoteStore, path string, expectedContent []byte, expectedError error)
pkg/config/remote/uptane/remote_store_test.go:217
↓ 35 callers
Method
bytes
bytes returns all the bytes that were advanced over since its last call. This excludes tkn.lastChar, which will remain in the buffer
pkg/obfuscate/sql_tokenizer.go:877
↓ 35 callers
Function
newDefaultState
()
pkg/network/state_test.go:2174
↓ 35 callers
Function
parseEvent
(t *testing.T, rawEvent []byte)
comp/dogstatsd/server/parse_events_test.go:17
↓ 35 callers
Function
replace
Replace all substrings matching regex pattern with given replacement string
test/integration/serverless/log_normalize.py:157
↓ 35 callers
Function
spNS
spNS adds `system_probe_config` namespace to configuration key
cmd/system-probe/config/ns.go:11
↓ 34 callers
Method
AddSample
AddSample adds a new sample to the metric with contextKey, initializing a new metric as necessary. If contextKey is scheduled for removal (see Expire
pkg/metrics/check_metrics.go:69
↓ 34 callers
Function
AgentStackDef
AgentStackDef creates a stack definition containing a virtual machine and an Agent. See [ec2vm.Params] for available options for vmParams. See [agen
test/new-e2e/pkg/utils/e2e/stack_definition.go:154
↓ 34 callers
Method
Bytes
Bytes returns the container ID as a byte array
pkg/security/utils/cgroup.go:26
↓ 34 callers
Method
Get
(ctx context.Context, key string, opts *client.GetOptions)
pkg/autodiscovery/providers/etcd.go:27
↓ 34 callers
Method
GetMap
GetMap returns the underlying named map. This is useful if any maps are shared with other eBPF components. An individual tracer implementation may cho
pkg/network/tracer/connection/tracer.go:70
↓ 34 callers
Function
IsExcludedConnection
IsExcludedConnection returns true if a given connection should be excluded by the tracer based on user defined filters
pkg/network/network_filter.go:159
↓ 34 callers
Function
Map
Map returns a map by its name
pkg/security/probe/managerhelper/managerhelper.go:19
↓ 34 callers
Method
Metadata
Metadata is used to access information describing the collector.
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:37
↓ 34 callers
Method
ResolveProcessArgsFlags
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:967
↓ 34 callers
Method
ResolveProcessArgsOptions
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:968
↓ 34 callers
Method
SetQueries
SetQueries is only used for testing in other packages
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:310
↓ 34 callers
Function
TrackedCString
(str string)
pkg/collector/python/memory.go:111
↓ 34 callers
Method
TriggerRetry
TriggerRetry triggers a new retry and returns the result
pkg/util/retry/retrier.go:91
↓ 34 callers
Method
UnmarshalVT
([]byte)
pkg/security/proto/api/vt_grpc.go:34
↓ 34 callers
Function
decodeBytes
These tests check the custom modifications made on top of the msgpack deserializer generated by tinylib/msgp.
pkg/proto/pbgo/trace/span_gen_modifs_test.go:19
↓ 34 callers
Function
get
(ch, right)
cmd/agent/gui/views/private/js/codemirror.js:2695
↓ 34 callers
Function
newEmptyMessage
()
pkg/proto/pbgo/trace/span_gen_modifs_test.go:28
↓ 33 callers
Method
AddRequest
AddRequest takes information about a HTTP transaction and adds it to the request stats
pkg/network/protocols/http/stats.go:199
↓ 33 callers
Function
AddressFromNetIP
AddressFromNetIP returns an Address from a provided net.IP
pkg/process/util/address.go:58
↓ 33 callers
Method
Config
Config runs config command and returns the runtime agent config
test/new-e2e/pkg/utils/e2e/client/agent.go:21
↓ 33 callers
Function
Debugf
Debugf is used to print a trace level log
pkg/security/seclog/logger.go:219
↓ 33 callers
Function
Errorf
Errorf formats message according to format specifier and writes to log with level = Error.
pkg/trace/log/logger.go:124
↓ 33 callers
Method
GetID
GetID gets the EntityID for this entity.
pkg/workloadmeta/types.go:268
↓ 33 callers
Method
GetMessages
GetMessages returns the messages stored in the buffer.
pkg/logs/sender/message_buffer.go:47
↓ 33 callers
Function
HasTopLevel
HasTopLevel returns true if span is top-level.
pkg/trace/traceutil/span.go:28
↓ 33 callers
Method
SendStats
SendStats sends the metrics of the profile provider
pkg/security/security_profile/profile/profile_provider.go:27
↓ 33 callers
Method
_get_version
(self, major, minor, patch, rc, devel)
tasks/unit-tests/version_tests.py:8
↓ 33 callers
Method
createFileWithTime
(name string, time time.Time)
pkg/logs/launchers/file/provider/file_provider_test.go:44
↓ 33 callers
Function
genPayload
(n int)
pkg/network/tracer/tracer_test.go:975
↓ 33 callers
Function
parseRule
(rule string)
pkg/security/secl/compiler/ast/secl_test.go:14
↓ 32 callers
Method
Cut
Cut cuts off a new tracer payload from the `p` with [0, i-1] chunks and keeps [i, n-1] chunks in the original payload `p`.
pkg/proto/pbgo/trace/trace.go:29
↓ 32 callers
Method
Do
(req *http.Request)
pkg/serverless/registration/utils.go:27
↓ 32 callers
Function
GetClient
GetClient is a convenience function returning an http client `GetClient(false)` must be used only for HTTP requests whose destination is localhost (ie
pkg/api/util/doget.go:30
↓ 32 callers
Method
IsDir
()
pkg/snmp/traps/oid_resolver/oid_resolver_test.go:33
↓ 32 callers
Method
Load
(senderManager sender.SenderManager, config integration.Config, instance integration.Data)
pkg/collector/check/loader.go:19
↓ 32 callers
Function
SetAuthToken
SetAuthToken sets the session token Requires that the config has been set up before calling
pkg/api/util/util.go:25
↓ 32 callers
Function
SetServiceMapping
SetServiceMapping sets the serviceMapping global variable, primarily for tests.
pkg/serverless/trace/inferredspan/span_enrichment.go:44
↓ 32 callers
Method
Shutdown
Shutdown trigger shutdown of the flow processing workers
comp/netflow/goflowlib/flowstate.go:42
↓ 32 callers
Function
enableProgram
(enabled map[string]struct{}, name string)
pkg/network/tracer/connection/fentry/probes.go:125
↓ 32 callers
Function
filterEnvs
FilterEnvs returns an array of environment variable key value pairs matching the desired keys nolint:unused
pkg/security/secl/model/args_envs.go:84
↓ 32 callers
Function
newBlockedEndpoints
(config config.Component, log log.Component)
comp/forwarder/defaultforwarder/blocked_endpoints.go:29
↓ 32 callers
Function
parseRFC3339Time
(t *testing.T, s string)
pkg/process/checks/process_events_common.go:19
↓ 31 callers
Method
BuildID
BuildID is to be called by the check's Config() method to generate the unique check ID.
pkg/collector/corechecks/checkbase.go:71
↓ 31 callers
Function
BuildTaggerEntityName
BuildTaggerEntityName builds a valid tagger entity name for a given cid.
pkg/util/containers/entity.go:31
↓ 31 callers
Method
Debugf
(format string, params ...interface{})
pkg/trace/log/logger.go:38
↓ 31 callers
Method
ReadConfig
(in io.Reader)
pkg/config/model/types.go:116
↓ 31 callers
Method
Store
([]transaction.Transaction)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:21
↓ 31 callers
Function
Warnf
Warnf is used to print a warn
pkg/security/seclog/logger.go:229
↓ 31 callers
Method
addCheck
(checkID string, workersNeeded float64, runner string)
pkg/clusteragent/clusterchecks/checks_distribution.go:96
↓ 31 callers
Method
addTag
(key string, value string)
pkg/serverless/invocationlifecycle/lifecycle.go:369
↓ 31 callers
Function
assertOptionalValue
(t *testing.T, assertCompare assert.ComparisonAssertionFunc, o optional.Option[T], expected T)
pkg/collector/corechecks/windows_event_log/config_test.go:18
↓ 31 callers
Function
getProbeWithPermission
(options ...Option)
pkg/process/procutil/process_linux_test.go:36
↓ 31 callers
Function
lineNo
(line)
cmd/agent/gui/views/private/js/codemirror.js:443
↓ 31 callers
Function
lst
(arr)
cmd/agent/gui/views/private/js/codemirror.js:222
↓ 31 callers
Function
makeProcess
(pid int32, cmdline string)
pkg/process/checks/process_common_test.go:32
↓ 31 callers
Function
newIPTuple
(srcIP, dstIP string, srcPort, dstPort uint16, proto uint8)
pkg/network/netlink/encoding_test.go:20
↓ 31 callers
Function
parseAndEnrichEventMessage
(t *testing.T, message []byte, conf enrichConfig)
comp/dogstatsd/server/enrich_test.go:72
↓ 31 callers
Function
testSpan
testSpan avoids typo and inconsistency in test spans (typical pitfall: duration, start time, and end time are aligned, and end time is the one that ne
pkg/trace/stats/concentrator_test.go:48
↓ 31 callers
Method
trackContext
trackContext returns the contextKey associated with the context of the metricSample and tracks that context
pkg/aggregator/context_resolver.go:72
↓ 30 callers
Method
Close
Close closes the session with the target host Close will automatically close any open handles created in the session, so you must not use any subscri
pkg/util/winutil/eventlog/session/session.go:33
↓ 30 callers
Function
MakeRef
MakeRef returns a CollectorRef[T] given a T and a priority
pkg/util/containers/metrics/provider/collector.go:23
↓ 30 callers
Method
Name
()
pkg/collector/check/loader.go:18
↓ 30 callers
Method
ResolveProcessArgv
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:970
↓ 30 callers
Method
Size
Size returns the number of key-value pairs in the database.
pkg/util/trivy/db.go:43
↓ 30 callers
Method
Start
(*sync.WaitGroup)
pkg/security/probe/probe_linux.go:72
↓ 30 callers
Method
Start
()
pkg/util/startstop/start.go:10
↓ 30 callers
Method
StartADockerGetDump
()
pkg/security/tests/module_tester.go:1993
↓ 30 callers
Method
Stop
()
pkg/network/usm/monitor_windows.go:24
↓ 30 callers
Function
UnmarshalBinary
UnmarshalBinary calls a series of BinaryUnmarshaler
pkg/security/secl/model/unmarshallers_linux.go:611
← previous
next →
401–500 of 32,574, ranked by callers