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
↓ 157 callers
Function
NewLogSource
NewLogSource creates a new log source.
pkg/logs/sources/source.go:55
↓ 156 callers
Method
push
push adds an event to the RingStore buffer This function is not thread-safe and should only be called internally by the RingStore routine or during te
pkg/process/events/store.go:215
↓ 155 callers
Method
Close
()
pkg/trace/config/config.go:447
↓ 155 callers
Function
NewMockSender
NewMockSender initiates the aggregator and returns a functional mocked Sender for testing
pkg/aggregator/mocksender/mocksender.go:25
↓ 153 callers
Method
Options
()
pkg/aggregator/demultiplexer_agent.go:38
↓ 153 callers
Method
Remove
(*manager.Manager)
pkg/security/probe/kfilters/kfilters_bpf.go:17
↓ 153 callers
Function
join
(pieces ...string)
pkg/config/system_probe.go:335
↓ 152 callers
Method
ReadAll
ReadAll batches from eBPF (concurrently) and execute the given callback function for each batch
pkg/network/protocols/events/batch_reader.go:60
↓ 151 callers
Method
Create
Create creates a new flare locally and returns the path to the flare file.
comp/core/flare/component.go:23
↓ 147 callers
Method
ResolveFileFieldsGroup
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:949
↓ 147 callers
Method
ResolveFileFieldsUser
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:951
↓ 147 callers
Method
ResolveFileFilesystem
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:952
↓ 147 callers
Method
ResolveHashesFromEvent
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:954
↓ 147 callers
Method
ResolvePackageName
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:963
↓ 147 callers
Method
ResolvePackageVersion
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:965
↓ 146 callers
Method
ResolveFileFieldsInUpperLayer
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:950
↓ 146 callers
Method
ResolvePackageSourceVersion
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:964
↓ 145 callers
Method
Env
()
pkg/ebpf/ebpftest/buildmode.go:29
↓ 140 callers
Method
Provide
(kubelet.KubeUtilInterface, sender.Sender)
pkg/collector/corechecks/containers/kubelet/kubelet.go:37
↓ 139 callers
Method
Open
()
pkg/util/pipe.go:10
↓ 137 callers
Method
GetStringSlice
(key string)
pkg/config/model/types.go:36
↓ 137 callers
Function
NewCounter
NewCounter creates a Counter with default options for telemetry purpose. Current implementation used: Prometheus Counter
pkg/telemetry/counter.go:19
↓ 137 callers
Method
Run
Run() implements all application logic and is run when the service status is SERVICE_RUNNING. The provided context is cancellable. Run() must monitor
pkg/util/winutil/servicemain/servicemain.go:76
↓ 137 callers
Method
Since
Since records the duration for the given metric name as *time passed since start*. If name does not exist, as defined by NewSet, it creates it.
pkg/trace/metrics/timing/timing.go:79
↓ 137 callers
Method
WriteFile
(path string, content string)
test/new-e2e/tests/agent-platform/common/test_client.go:38
↓ 136 callers
Method
Close
()
pkg/util/cgroups/file.go:32
↓ 135 callers
Function
open
opens a browser window at the specified URL
comp/systray/systray/systrayimpl/systray.go:421
↓ 134 callers
Method
test
(name string)
comp/dogstatsd/server/blocklist.go:46
↓ 133 callers
Function
New
New returns a configuration with the default values.
pkg/trace/config/config.go:465
↓ 131 callers
Method
Object
()
comp/process/types/check.go:24
↓ 129 callers
Method
Add
Add adds the value to the Gauge value.
comp/core/telemetry/gauge.go:17
↓ 129 callers
Method
GetFieldValue
GetFieldValue returns the value of the given Field
pkg/security/secl/compiler/eval/event.go:27
↓ 128 callers
Method
Get
Get gets the value of the gauge.
comp/core/telemetry/simple_gauge.go:21
↓ 128 callers
Method
Get
Get gets the conntrack record for a connection. Similar to Exists, but returns the full connection information.
pkg/network/netlink/conntrack.go:30
↓ 127 callers
Method
Remove
Remove deletes the entries associated with the given keys from the cache.
pkg/util/trivy/cache.go:95
↓ 125 callers
Method
Header
()
pkg/trace/api/responses_test.go:39
↓ 124 callers
Method
Reset
()
pkg/metadata/payload.go:11
↓ 123 callers
Method
Uint64
()
pkg/serverless/random/rand.go:50
↓ 122 callers
Method
Close
()
pkg/util/pipe.go:14
↓ 121 callers
Function
latestEpochTime
()
pkg/network/state_test.go:2170
↓ 119 callers
Method
Append
(*Serie)
pkg/metrics/series.go:177
↓ 118 callers
Method
Path
(buffer []byte)
pkg/network/protocols/http/model.go:27
↓ 117 callers
Method
Exit
Exit a process
pkg/security/secl/model/process_cache_entry_unix.go:70
↓ 116 callers
Function
Errorf
Errorf is used to print an error
pkg/security/seclog/logger.go:224
↓ 114 callers
Function
Error
Error logs at the error level and returns an error containing the formated log message
pkg/util/log/log.go:696
↓ 114 callers
Method
ResolveRights
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:977
↓ 113 callers
Method
Is
Is returns whether two ControllerNotFoundError targets the same controller
pkg/util/cgroups/errors.go:31
↓ 113 callers
Function
newRuntimeMetric
(name string)
pkg/security/metrics/metrics.go:512
↓ 112 callers
Method
Bytes
Bytes returns a byte slice representing the Address. You may want to consider using `WriteTo` instead to avoid allocations
pkg/process/util/address.go:36
↓ 112 callers
Function
TestOneShotSubcommand
TestOneShotSubcommand is a helper for testing commands implemented with fxutil.OneShot. It takes an array of commands, and attaches all to a temporar
pkg/util/fxutil/test.go:95
↓ 111 callers
Method
GetDelta
GetDelta returns a Delta object for the given client when provided the latest set of active connections
pkg/network/state.go:81
↓ 110 callers
Method
Get
(key string)
pkg/config/model/types.go:27
↓ 109 callers
Method
Copy
(_ *model.Event)
pkg/security/probe/probe.go:38
↓ 108 callers
Method
Handle
Handle returns the underlying handle returned by EvtOpenSession
pkg/util/winutil/eventlog/session/session.go:36
↓ 108 callers
Function
sov
(x uint64)
pkg/security/proto/api/api_vtproto.pb.go:3590
↓ 107 callers
Function
newTestModule
(t testing.TB, macroDefs []*rules.MacroDefinition, ruleDefs []*rules.RuleDefinition, opts testOpts)
pkg/security/tests/module_tester.go:858
↓ 106 callers
Function
encodeVarint
(dAtA []byte, offset int, v uint64)
pkg/security/proto/api/api_vtproto.pb.go:2596
↓ 105 callers
Method
Get
(oids []string)
pkg/collector/corechecks/snmp/internal/session/session.go:33
↓ 105 callers
Method
Len
()
pkg/serializer/marshaler/marshaler.go:41
↓ 102 callers
Method
IsInRangeCloseOpen
IsInRangeCloseOpen returns whether the kernel version is between the begin version (included) and the end version (excluded)
pkg/security/ebpf/kernel/kernel.go:285
↓ 102 callers
Function
OneShot
OneShot runs the given function in an fx.App using the supplied options. The function's arguments are supplied by Fx and can be any provided type. The
pkg/util/fxutil/oneshot.go:25
↓ 102 callers
Method
call
call calls the underlying function. The fx.App must have already supplied the arguments at this time. If the delayed function has no return value, t
pkg/util/fxutil/args.go:66
↓ 102 callers
Function
color_message
(message, color)
tasks/libs/common/color.py:1
↓ 101 callers
Function
kprobeOrFentry
(funcName string, fentry bool, options ...psbOption)
pkg/security/ebpf/probes/builder.go:24
↓ 100 callers
Method
Int
Int implements pprof Flag interface
pkg/security/tests/module_stresser.go:55
↓ 99 callers
Function
VersionCode
VersionCode returns a Version computed from the individual parts of a x.x.x version
pkg/util/kernel/version.go:69
↓ 97 callers
Method
GetType
()
pkg/security/events/event.go:44
↓ 97 callers
Method
IsZero
IsZero reports whether a is its zero value
pkg/process/util/address.go:53
↓ 97 callers
Method
String
Each type method accepts an index argument that determines which element in the array to return.
pkg/util/winutil/eventlog/api/types.go:226
↓ 96 callers
Method
Stop
()
pkg/security/resolvers/tags/resolver.go:43
↓ 96 callers
Function
assertNearTime
nolint:deadcode,unused
pkg/security/tests/module_tester.go:429
↓ 95 callers
Method
Close
()
pkg/compliance/resolver.go:104
↓ 95 callers
Method
Execute
Execute executes a command and returns its output.
test/new-e2e/pkg/utils/e2e/client/vm.go:18
↓ 91 callers
Method
Put
(x interface{})
comp/dogstatsd/packets/pool_manager.go:19
↓ 91 callers
Method
Run
General -- Run runs all demultiplexer parts
pkg/aggregator/demultiplexer.go:29
↓ 91 callers
Method
Set
(ctx *Context, value interface{})
pkg/security/secl/compiler/eval/variables.go:28
↓ 90 callers
Method
Close
()
pkg/network/dns/types.go:71
↓ 90 callers
Method
LocalAddr
LocalAddr returns the local network address of the listener.
comp/dogstatsd/listeners/udp.go:101
↓ 89 callers
Method
Delete
Delete deletes a set of keys from the database and invokes the specified callback for each key before committing the transaction.
pkg/util/trivy/db.go:35
↓ 88 callers
Function
Warn
Warn logs at the warn level and returns an error containing the formated log message
pkg/util/log/log.go:660
↓ 86 callers
Function
NewValue
NewValue initializes a Value[T] with the given value of type T and no error.
pkg/gohai/utils/value.go:21
↓ 85 callers
Function
Pos
(line, ch, sticky)
cmd/agent/gui/views/private/js/codemirror.js:484
↓ 85 callers
Method
SetDefault
API implemented by viper.Viper
pkg/config/model/types.go:103
↓ 84 callers
Method
CoreV1
CoreV1 retrieves the CoreV1Client
pkg/clusteragent/admission/mutate/cws_instrumentation_test.go:39
↓ 84 callers
Method
GetSender
(id checkid.ID)
pkg/aggregator/sender/sender.go:44
↓ 83 callers
Function
NewMessage
NewMessage constructs an unstructured message with content, status, origin and the ingestion timestamp.
pkg/logs/message/message.go:182
↓ 83 callers
Function
assertClean
(t *testing.T, contents, cleanContents string)
pkg/util/scrubber/default_test.go:21
↓ 83 callers
Function
getInode
nolint:deadcode,unused
pkg/security/tests/module_tester.go:351
↓ 82 callers
Function
CompositeTagsFromSlice
CompositeTagsFromSlice creates a new CompositeTags from a slice
pkg/tagset/composite_tags.go:35
↓ 82 callers
Method
GetDuration
(key string)
pkg/config/model/types.go:35
↓ 81 callers
Method
Decode
Decode decodes an activity dump from a file
pkg/security/security_profile/dump/activity_dump.go:780
↓ 80 callers
Method
UpdateFieldValues
UpdateFieldValues updates the field values
pkg/security/secl/compiler/eval/state.go:53
↓ 79 callers
Method
AddLow
AddLow adds a new low cardinality tag to the list, or replace if already exists. It will skip empty values/names, so it's safe to use without verifyin
pkg/tagger/utils/taglist.go:65
↓ 79 callers
Method
GetName
()
pkg/metrics/metric_sample.go:69
↓ 79 callers
Function
ResetMemoryStats
ResetMemoryStats resets allocations and frees counters to zero
rtloader/test/helpers/helpers_native.go:42
↓ 79 callers
Function
sov
(x uint64)
pkg/proto/pbgo/trace/span_vtproto.pb.go:250
↓ 78 callers
Function
AssertMemoryUsage
AssertMemoryUsage makes sure the allocations and frees match
rtloader/test/helpers/helpers_native.go:48
↓ 78 callers
Method
SetupAcceptAll
SetupAcceptAll sets mock expectations to accept any call in the Sender interface
pkg/aggregator/mocksender/mocksender.go:67
↓ 78 callers
Method
extend
(event *model.ArgsEnvsEvent)
pkg/security/resolvers/process/resolver_linux.go:279
↓ 78 callers
Function
newTestReceiverFromConfig
(conf *config.AgentConfig)
pkg/trace/api/api_test.go:51
← previous
next →
101–200 of 32,574, ranked by callers