MCPcopy Create free account

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

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

↓ 157 callersFunctionNewLogSource
NewLogSource creates a new log source.
pkg/logs/sources/source.go:55
↓ 156 callersMethodpush
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 callersMethodClose
()
pkg/trace/config/config.go:447
↓ 155 callersFunctionNewMockSender
NewMockSender initiates the aggregator and returns a functional mocked Sender for testing
pkg/aggregator/mocksender/mocksender.go:25
↓ 153 callersMethodOptions
()
pkg/aggregator/demultiplexer_agent.go:38
↓ 153 callersMethodRemove
(*manager.Manager)
pkg/security/probe/kfilters/kfilters_bpf.go:17
↓ 153 callersFunctionjoin
(pieces ...string)
pkg/config/system_probe.go:335
↓ 152 callersMethodReadAll
ReadAll batches from eBPF (concurrently) and execute the given callback function for each batch
pkg/network/protocols/events/batch_reader.go:60
↓ 151 callersMethodCreate
Create creates a new flare locally and returns the path to the flare file.
comp/core/flare/component.go:23
↓ 147 callersMethodResolveFileFieldsGroup
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:949
↓ 147 callersMethodResolveFileFieldsUser
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:951
↓ 147 callersMethodResolveFileFilesystem
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:952
↓ 147 callersMethodResolveHashesFromEvent
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:954
↓ 147 callersMethodResolvePackageName
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:963
↓ 147 callersMethodResolvePackageVersion
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:965
↓ 146 callersMethodResolveFileFieldsInUpperLayer
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:950
↓ 146 callersMethodResolvePackageSourceVersion
(ev *Event, e *FileEvent)
pkg/security/secl/model/field_handlers_unix.go:964
↓ 145 callersMethodEnv
()
pkg/ebpf/ebpftest/buildmode.go:29
↓ 140 callersMethodProvide
(kubelet.KubeUtilInterface, sender.Sender)
pkg/collector/corechecks/containers/kubelet/kubelet.go:37
↓ 139 callersMethodOpen
()
pkg/util/pipe.go:10
↓ 137 callersMethodGetStringSlice
(key string)
pkg/config/model/types.go:36
↓ 137 callersFunctionNewCounter
NewCounter creates a Counter with default options for telemetry purpose. Current implementation used: Prometheus Counter
pkg/telemetry/counter.go:19
↓ 137 callersMethodRun
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 callersMethodSince
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 callersMethodWriteFile
(path string, content string)
test/new-e2e/tests/agent-platform/common/test_client.go:38
↓ 136 callersMethodClose
()
pkg/util/cgroups/file.go:32
↓ 135 callersFunctionopen
opens a browser window at the specified URL
comp/systray/systray/systrayimpl/systray.go:421
↓ 134 callersMethodtest
(name string)
comp/dogstatsd/server/blocklist.go:46
↓ 133 callersFunctionNew
New returns a configuration with the default values.
pkg/trace/config/config.go:465
↓ 131 callersMethodObject
()
comp/process/types/check.go:24
↓ 129 callersMethodAdd
Add adds the value to the Gauge value.
comp/core/telemetry/gauge.go:17
↓ 129 callersMethodGetFieldValue
GetFieldValue returns the value of the given Field
pkg/security/secl/compiler/eval/event.go:27
↓ 128 callersMethodGet
Get gets the value of the gauge.
comp/core/telemetry/simple_gauge.go:21
↓ 128 callersMethodGet
Get gets the conntrack record for a connection. Similar to Exists, but returns the full connection information.
pkg/network/netlink/conntrack.go:30
↓ 127 callersMethodRemove
Remove deletes the entries associated with the given keys from the cache.
pkg/util/trivy/cache.go:95
↓ 125 callersMethodHeader
()
pkg/trace/api/responses_test.go:39
↓ 124 callersMethodReset
()
pkg/metadata/payload.go:11
↓ 123 callersMethodUint64
()
pkg/serverless/random/rand.go:50
↓ 122 callersMethodClose
()
pkg/util/pipe.go:14
↓ 121 callersFunctionlatestEpochTime
()
pkg/network/state_test.go:2170
↓ 119 callersMethodAppend
(*Serie)
pkg/metrics/series.go:177
↓ 118 callersMethodPath
(buffer []byte)
pkg/network/protocols/http/model.go:27
↓ 117 callersMethodExit
Exit a process
pkg/security/secl/model/process_cache_entry_unix.go:70
↓ 116 callersFunctionErrorf
Errorf is used to print an error
pkg/security/seclog/logger.go:224
↓ 114 callersFunctionError
Error logs at the error level and returns an error containing the formated log message
pkg/util/log/log.go:696
↓ 114 callersMethodResolveRights
(ev *Event, e *FileFields)
pkg/security/secl/model/field_handlers_unix.go:977
↓ 113 callersMethodIs
Is returns whether two ControllerNotFoundError targets the same controller
pkg/util/cgroups/errors.go:31
↓ 113 callersFunctionnewRuntimeMetric
(name string)
pkg/security/metrics/metrics.go:512
↓ 112 callersMethodBytes
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 callersFunctionTestOneShotSubcommand
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 callersMethodGetDelta
GetDelta returns a Delta object for the given client when provided the latest set of active connections
pkg/network/state.go:81
↓ 110 callersMethodGet
(key string)
pkg/config/model/types.go:27
↓ 109 callersMethodCopy
(_ *model.Event)
pkg/security/probe/probe.go:38
↓ 108 callersMethodHandle
Handle returns the underlying handle returned by EvtOpenSession
pkg/util/winutil/eventlog/session/session.go:36
↓ 108 callersFunctionsov
(x uint64)
pkg/security/proto/api/api_vtproto.pb.go:3590
↓ 107 callersFunctionnewTestModule
(t testing.TB, macroDefs []*rules.MacroDefinition, ruleDefs []*rules.RuleDefinition, opts testOpts)
pkg/security/tests/module_tester.go:858
↓ 106 callersFunctionencodeVarint
(dAtA []byte, offset int, v uint64)
pkg/security/proto/api/api_vtproto.pb.go:2596
↓ 105 callersMethodGet
(oids []string)
pkg/collector/corechecks/snmp/internal/session/session.go:33
↓ 105 callersMethodLen
()
pkg/serializer/marshaler/marshaler.go:41
↓ 102 callersMethodIsInRangeCloseOpen
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 callersFunctionOneShot
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 callersMethodcall
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 callersFunctioncolor_message
(message, color)
tasks/libs/common/color.py:1
↓ 101 callersFunctionkprobeOrFentry
(funcName string, fentry bool, options ...psbOption)
pkg/security/ebpf/probes/builder.go:24
↓ 100 callersMethodInt
Int implements pprof Flag interface
pkg/security/tests/module_stresser.go:55
↓ 99 callersFunctionVersionCode
VersionCode returns a Version computed from the individual parts of a x.x.x version
pkg/util/kernel/version.go:69
↓ 97 callersMethodGetType
()
pkg/security/events/event.go:44
↓ 97 callersMethodIsZero
IsZero reports whether a is its zero value
pkg/process/util/address.go:53
↓ 97 callersMethodString
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 callersMethodStop
()
pkg/security/resolvers/tags/resolver.go:43
↓ 96 callersFunctionassertNearTime
nolint:deadcode,unused
pkg/security/tests/module_tester.go:429
↓ 95 callersMethodClose
()
pkg/compliance/resolver.go:104
↓ 95 callersMethodExecute
Execute executes a command and returns its output.
test/new-e2e/pkg/utils/e2e/client/vm.go:18
↓ 91 callersMethodPut
(x interface{})
comp/dogstatsd/packets/pool_manager.go:19
↓ 91 callersMethodRun
General -- Run runs all demultiplexer parts
pkg/aggregator/demultiplexer.go:29
↓ 91 callersMethodSet
(ctx *Context, value interface{})
pkg/security/secl/compiler/eval/variables.go:28
↓ 90 callersMethodClose
()
pkg/network/dns/types.go:71
↓ 90 callersMethodLocalAddr
LocalAddr returns the local network address of the listener.
comp/dogstatsd/listeners/udp.go:101
↓ 89 callersMethodDelete
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 callersFunctionWarn
Warn logs at the warn level and returns an error containing the formated log message
pkg/util/log/log.go:660
↓ 86 callersFunctionNewValue
NewValue initializes a Value[T] with the given value of type T and no error.
pkg/gohai/utils/value.go:21
↓ 85 callersFunctionPos
(line, ch, sticky)
cmd/agent/gui/views/private/js/codemirror.js:484
↓ 85 callersMethodSetDefault
API implemented by viper.Viper
pkg/config/model/types.go:103
↓ 84 callersMethodCoreV1
CoreV1 retrieves the CoreV1Client
pkg/clusteragent/admission/mutate/cws_instrumentation_test.go:39
↓ 84 callersMethodGetSender
(id checkid.ID)
pkg/aggregator/sender/sender.go:44
↓ 83 callersFunctionNewMessage
NewMessage constructs an unstructured message with content, status, origin and the ingestion timestamp.
pkg/logs/message/message.go:182
↓ 83 callersFunctionassertClean
(t *testing.T, contents, cleanContents string)
pkg/util/scrubber/default_test.go:21
↓ 83 callersFunctiongetInode
nolint:deadcode,unused
pkg/security/tests/module_tester.go:351
↓ 82 callersFunctionCompositeTagsFromSlice
CompositeTagsFromSlice creates a new CompositeTags from a slice
pkg/tagset/composite_tags.go:35
↓ 82 callersMethodGetDuration
(key string)
pkg/config/model/types.go:35
↓ 81 callersMethodDecode
Decode decodes an activity dump from a file
pkg/security/security_profile/dump/activity_dump.go:780
↓ 80 callersMethodUpdateFieldValues
UpdateFieldValues updates the field values
pkg/security/secl/compiler/eval/state.go:53
↓ 79 callersMethodAddLow
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 callersMethodGetName
()
pkg/metrics/metric_sample.go:69
↓ 79 callersFunctionResetMemoryStats
ResetMemoryStats resets allocations and frees counters to zero
rtloader/test/helpers/helpers_native.go:42
↓ 79 callersFunctionsov
(x uint64)
pkg/proto/pbgo/trace/span_vtproto.pb.go:250
↓ 78 callersFunctionAssertMemoryUsage
AssertMemoryUsage makes sure the allocations and frees match
rtloader/test/helpers/helpers_native.go:48
↓ 78 callersMethodSetupAcceptAll
SetupAcceptAll sets mock expectations to accept any call in the Sender interface
pkg/aggregator/mocksender/mocksender.go:67
↓ 78 callersMethodextend
(event *model.ArgsEnvsEvent)
pkg/security/resolvers/process/resolver_linux.go:279
↓ 78 callersFunctionnewTestReceiverFromConfig
(conf *config.AgentConfig)
pkg/trace/api/api_test.go:51
← previousnext →101–200 of 32,574, ranked by callers