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
↓ 25 callers
Function
makePartialPoints
(ts int)
pkg/util/kubernetes/autoscalers/processor_test.go:61
↓ 25 callers
Function
newDispatcher
()
pkg/clusteragent/clusterchecks/dispatcher_main.go:41
↓ 25 callers
Method
parseBool
(v string)
pkg/compliance/k8sconfig/loader.go:496
↓ 24 callers
Method
AddEventHandler
AddEventHandler sets a probe event handler
pkg/security/probe/probe.go:84
↓ 24 callers
Function
AssertTrueBeforeTimeout
AssertTrueBeforeTimeout regularly checks whether a condition is met. It does so until a timeout is reached, in which case it makes the test fail. Cond
pkg/util/testutil/timeout.go:20
↓ 24 callers
Method
Close
()
pkg/security/secl/rules/policy_provider.go:23
↓ 24 callers
Method
Configure
Configure configures the systemd checks
pkg/collector/corechecks/systemd/systemd.go:522
↓ 24 callers
Method
Digest
Digest returns an hash value representing the data stored in this configuration, minus the network address
pkg/snmp/snmp.go:173
↓ 24 callers
Method
ExecuteWithError
ExecuteWithError executes a command and returns an error if any.
test/new-e2e/pkg/utils/e2e/client/vm.go:15
↓ 24 callers
Method
Flush
()
pkg/util/funcs/cache.go:14
↓ 24 callers
Method
GetNs
GetNs returns secret object namespace
pkg/clusteragent/admission/controllers/secret/config.go:50
↓ 24 callers
Method
GetSelectorStr
GetSelectorStr returns a string representation of the profile selector
pkg/security/security_profile/dump/activity_dump.go:550
↓ 24 callers
Method
ListAllExternalMetricValues
()
pkg/clusteragent/custommetrics/store.go:34
↓ 24 callers
Method
Log
Log returns the tail of the agent log (up to 1M).
cmd/trace-agent/test/agent.go:101
↓ 24 callers
Method
OnInvokeEnd
OnInvokeEnd is the hook triggered when an invocation has ended
pkg/serverless/invocationlifecycle/lifecycle.go:247
↓ 24 callers
Method
SetFieldValue
SetFieldValue sets the value of the given Field
pkg/security/secl/compiler/eval/event.go:25
↓ 24 callers
Function
Trace
Trace logs at the trace level
pkg/util/log/log.go:540
↓ 24 callers
Method
WaitForSamples
WaitForSamples returns the samples received by the demultiplexer. Note that it returns as soon as something is avaible in either the live metrics buff
pkg/aggregator/demultiplexer_mock.go:85
↓ 24 callers
Method
createFile
(name string)
pkg/logs/launchers/file/provider/file_provider_test.go:57
↓ 24 callers
Method
error
error logs at the error level, called with sw.l held
pkg/util/log/log.go:264
↓ 24 callers
Function
fake_tag
(value)
tasks/unit-tests/release_tests.py:13
↓ 24 callers
Function
matchName
matchName matches config.Name
pkg/autodiscovery/configmgr_test.go:78
↓ 24 callers
Method
parseInt
(v string)
pkg/compliance/k8sconfig/loader.go:516
↓ 24 callers
Function
resetPackageVars
()
pkg/util/ec2/ec2_test.go:32
↓ 23 callers
Method
AssertMetricNotTaggedWith
(t *testing.T, method string, metric string, tags []string)
comp/aggregator/diagnosesendermanager/component_mock.go:26
↓ 23 callers
Function
Bundle
Bundle is a simple wrapper around fx.Module that automatically determines the bundle name.
pkg/util/fxutil/createcomponent.go:64
↓ 23 callers
Function
Clear
Clear clears the status which means it needs to be initialized again to be used.
pkg/logs/status/status.go:108
↓ 23 callers
Method
Close
()
pkg/ebpf/bytecode/runtime/protected_file.go:22
↓ 23 callers
Method
Endpoints
Endpoints returns the endpoints associated with the log reporter.
pkg/compliance/reporter.go:90
↓ 23 callers
Function
GetAPIClient
GetAPIClient returns the shared ApiClient instance.
pkg/util/kubernetes/apiserver/apiserver_nocompile.go:33
↓ 23 callers
Method
GetAnnotations
()
pkg/proto/pbgo/core/workloadmeta.pb.go:606
↓ 23 callers
Function
GetTestTraces
GetTestTraces returns a []Trace that is composed by “traceN“ number of traces, each one composed by “size“ number of spans.
pkg/trace/testutil/trace.go:102
↓ 23 callers
Method
MarshalJSON
MarshalJSON serialization a Payload to JSON
pkg/serializer/marshaler/marshaler.go:19
↓ 23 callers
Method
MarshalToSizedBufferVT
(dAtA []byte)
pkg/security/proto/api/api_vtproto.pb.go:995
↓ 23 callers
Function
NewState
NewState returns a new State
pkg/security/secl/compiler/eval/state.go:74
↓ 23 callers
Function
Not
Not !true operator
pkg/security/secl/compiler/eval/operators.go:388
↓ 23 callers
Method
Payloads
()
pkg/process/checks/checks.go:71
↓ 23 callers
Method
Run
()
pkg/network/tracer/tracer_test.go:881
↓ 23 callers
Method
SizeVT
()
pkg/security/proto/api/api_vtproto.pb.go:2949
↓ 23 callers
Method
Stop
()
pkg/logs/sender/strategy.go:15
↓ 23 callers
Function
Tracef
Tracef is used to print an trace
pkg/security/seclog/logger.go:239
↓ 23 callers
Method
Track
Track is called for each new context. Returns true if the sample should be accepted, false otherwise.
pkg/aggregator/internal/limiter/limiter.go:139
↓ 23 callers
Method
UnmarshalJSON
UnmarshalJSON does JSON unmarshaling
pkg/security/utils/json.go:43
↓ 23 callers
Method
addSample
(sample *MetricSample, timestamp float64)
pkg/metrics/histogram.go:107
↓ 23 callers
Function
createFile
(t *testing.T, path, data string)
pkg/network/usm/istio_test.go:192
↓ 23 callers
Method
fullKey
(k string)
pkg/util/log/zap/zapencoder.go:22
↓ 23 callers
Method
handleEvents
(evs []CollectorEvent)
pkg/workloadmeta/store.go:598
↓ 23 callers
Function
newFloat64ListPool
newFloat64ListPool creates a new pool with a specified buffer size
comp/dogstatsd/server/float64_list_pool.go:37
↓ 23 callers
Function
newParser
(cfg config.Reader, float64List *float64ListPool, workerNum int)
comp/dogstatsd/server/parse.go:53
↓ 23 callers
Method
pop
pop nested frame
pkg/network/netlink/attribute_scanner.go:172
↓ 23 callers
Function
restoreEnv
(key, value string)
pkg/serverless/appsec/config/config_test.go:318
↓ 23 callers
Function
runSyscallTesterFunc
(ctx context.Context, t *testing.T, path string, args ...string)
pkg/security/tests/syscall_tester.go:59
↓ 23 callers
Method
setCgroupV1File
for cgroup v1 only
pkg/util/cgroups/file_for_test.go:62
↓ 22 callers
Method
AssertServiceCheck
AssertServiceCheck allows to assert a ServiceCheck was exclusively emitted with given parameters. Additional tags over the ones specified don't make i
pkg/aggregator/mocksender/asserts.go:24
↓ 22 callers
Method
CreateWithOptions
(filename string, user, group, mode int)
pkg/security/tests/module_tester.go:1496
↓ 22 callers
Method
Current
()
pkg/metrics/iterable_series.go:37
↓ 22 callers
Function
DefaultAgentDemultiplexerOptions
DefaultAgentDemultiplexerOptions returns the default options to initialize an AgentDemultiplexer.
pkg/aggregator/demultiplexer_agent.go:85
↓ 22 callers
Method
Failed
Failed returns the number of connections to which the server responded with an HTTP status code that is non-2xx and non-5xx.
pkg/trace/writer/testserver.go:110
↓ 22 callers
Method
GetEventApprovers
GetEventApprovers returns approvers for the given event type and the fields
pkg/security/secl/rules/ruleset.go:578
↓ 22 callers
Function
GetMainEndpoint
GetMainEndpoint returns the main DD URL defined in the config, based on `site` and the prefix, or ddURLKey
pkg/config/utils/endpoints.go:103
↓ 22 callers
Method
GetProxies
()
pkg/config/model/types.go:42
↓ 22 callers
Method
GetTranslationForConn
(network.ConnectionStats)
pkg/network/netlink/conntracker.go:46
↓ 22 callers
Method
Info
(namespace string, ctn containerd.Container)
pkg/util/containerd/containerd_util.go:56
↓ 22 callers
Method
IsDeterministicFor
(field Field)
pkg/security/secl/compiler/eval/evaluators.go:18
↓ 22 callers
Method
IsExcluded
(container *workloadmeta.Container)
pkg/collector/corechecks/containers/generic/filters.go:16
↓ 22 callers
Method
IsRH8Kernel
IsRH8Kernel returns whether the kernel is a rh8 kernel
pkg/security/ebpf/kernel/kernel.go:229
↓ 22 callers
Method
Kill
()
pkg/compliance/evaluator_xccdf.go:250
↓ 22 callers
Method
LoadOrStore
LoadOrStore always returns the string from the cache, adding it into the cache if needed. If we need to store a new entry and the cache is at its maxi
comp/dogstatsd/server/intern.go:87
↓ 22 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
pkg/security/serializers/serializers_base_linux_easyjson.go:770
↓ 22 callers
Function
NewCollectorVersions
NewCollectorVersions is used to build the collector version list.
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:51
↓ 22 callers
Function
NewConfig
NewConfig returns a new appsec configuration read from the environment
pkg/serverless/appsec/config/config.go:83
↓ 22 callers
Function
NewTagList
NewTagList creates a new object ready to use
pkg/tagger/utils/taglist.go:26
↓ 22 callers
Method
Pods
Pods returns an interface which has a method to return a PodInterface
pkg/clusteragent/admission/mutate/cws_instrumentation_test.go:54
↓ 22 callers
Method
Reset
Reset resets all tracked telemetry
comp/core/telemetry/component.go:28
↓ 22 callers
Method
SetTags
FakeTagger specific interface SetTags allows to set tags in store for a given source, entity
pkg/tagger/local/fake_tagger.go:38
↓ 22 callers
Method
SetupRetrier
SetupRetrier must be called before calling other methods
pkg/util/retry/retrier.go:30
↓ 22 callers
Method
Stop
()
pkg/util/startstop/stop.go:10
↓ 22 callers
Function
TraceChunkWithSpan
TraceChunkWithSpan wraps a `span` with pb.TraceChunk
pkg/trace/testutil/trace.go:144
↓ 22 callers
Function
checkRights
(path string, allowGroupExec bool)
pkg/secrets/check_rights_nix.go:16
↓ 22 callers
Function
cleanEnv
()
pkg/serverless/appsec/config/config_test.go:298
↓ 22 callers
Method
createHTTPTransactions
(endpoint transaction.Endpoint, payloads transaction.BytesPayloads, extra http.Header)
comp/forwarder/defaultforwarder/default_forwarder.go:433
↓ 22 callers
Function
eventMonitorBindEnvAndSetDefault
eventMonitorBindEnvAndSetDefault is a helper function that generates both "DD_RUNTIME_SECURITY_CONFIG_" and "DD_EVENT_MONITORING_CONFIG_" prefixes fro
pkg/config/system_probe.go:349
↓ 22 callers
Function
file_datadog_remoteconfig_remoteconfig_proto_rawDescGZIP
()
pkg/proto/pbgo/core/remoteconfig.pb.go:1917
↓ 22 callers
Method
handleWithVersion
(v Version, f func(Version, http.ResponseWriter, *http.Request))
pkg/trace/api/api.go:295
↓ 22 callers
Function
loadPodsFixture
(path string)
pkg/util/kubernetes/kubelet/kubelet_common_test.go:42
↓ 22 callers
Function
newDummyKubelet
(podListJSONPath string)
pkg/util/kubernetes/kubelet/kubelet_test.go:50
↓ 22 callers
Function
parseSingleUnsignedStat
(fr fileReader, path string, val **uint64)
pkg/util/cgroups/file.go:91
↓ 22 callers
Method
pathFor
(filename string)
pkg/util/cgroups/cgroupv2.go:48
↓ 22 callers
Method
scrub
(s string)
pkg/util/log/log.go:163
↓ 22 callers
Function
setupConfig
()
pkg/metrics/historate_test.go:18
↓ 22 callers
Function
spansToChunk
(spans ...*pb.Span)
pkg/trace/agent/agent_test.go:492
↓ 22 callers
Method
validateEventSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:84
↓ 22 callers
Function
validateRequirement
(version *semver.Version, comp string, versionReq *semver.Version)
cmd/agent/subcommands/integrations/command.go:693
↓ 22 callers
Function
which
nolint:deadcode,unused
pkg/security/tests/module_tester.go:368
↓ 21 callers
Method
AddSource
AddSource adds a new source. All of the subscribers registered for this source's type (src.Config.Type) will be notified.
pkg/logs/sources/sources.go:46
↓ 21 callers
Method
Aggregator
()
pkg/aggregator/demultiplexer_agent.go:35
↓ 21 callers
Method
Contains
Contains returns whether the glob pattern matches the beginning of the filename
pkg/security/secl/compiler/eval/glob.go:114
↓ 21 callers
Function
CreateContainerMeta
CreateContainerMeta returns a dummy workloadmeta.Container
pkg/collector/corechecks/containers/generic/mock.go:64
↓ 21 callers
Method
DeleteEntry
DeleteEntry tries to delete an entry in the process cache
pkg/security/resolvers/process/resolver_linux.go:561
↓ 21 callers
Function
DoGet
DoGet is a wrapper around performing HTTP GET requests
pkg/api/util/doget.go:43
← previous
next →
601–700 of 32,574, ranked by callers