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
↓ 9 callers
Method
GetRootNetNs
GetRootNetNs returns the network namespace to use for creating, e.g., netlink sockets This will be the host's default network namespace if network_co
pkg/network/config/netns_linux.go:21
↓ 9 callers
Function
GetRtLoader
GetRtLoader returns a RtLoader instance using Three
rtloader/test/common/common_three.go:20
↓ 9 callers
Method
GetRules
GetRules returns the active rules
pkg/security/secl/rules/ruleset.go:225
↓ 9 callers
Method
GetUnReliableEndpoints
GetUnReliableEndpoints returns additional endpoints that do not guarantee logs are received in the event of an error.
comp/logs/agent/config/endpoints.go:170
↓ 9 callers
Method
GetWorkload
GetWorkload returns the sbom of a provided ID
pkg/security/resolvers/sbom/resolver.go:434
↓ 9 callers
Function
HTTPServer
HTTPServer spins up a HTTP test server that returns the status code included in the URL Example: * GET /200/foo returns a 200 status code; * PUT /404/
pkg/network/protocols/http/testutil/testutil.go:78
↓ 9 callers
Method
Hash
Hash generates the signature of a trace with minimal information such as service and env, this is typically used by distributed sampling based on prio
pkg/trace/sampler/signature.go:61
↓ 9 callers
Method
IDs
()
pkg/collector/corechecks/windows_event_log/filters.go:25
↓ 9 callers
Method
IsDebianKernel
IsDebianKernel returns whether the kernel is a debian kernel
pkg/security/ebpf/kernel/kernel.go:201
↓ 9 callers
Function
IsFeaturePresent
IsFeaturePresent returns if a particular feature is activated
pkg/config/env/environment_detection.go:62
↓ 9 callers
Function
IsGreaterOrEqual
IsGreaterOrEqual is a mock.argumentMatcher builder to be used in asserts. actual have to be greater or equal expectedMin
pkg/aggregator/mocksender/asserts.go:100
↓ 9 callers
Method
IsZero
IsZero returns c is its zero value
pkg/network/netlink/decoding.go:51
↓ 9 callers
Method
LeafExist
LeafExist checks if the oid is a known leaf
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:99
↓ 9 callers
Function
LoadCheck
(name, path string)
pkg/collector/check/check_test.go:70
↓ 9 callers
Function
Makeseries
Makeseries creates a metrics.SketchSeries with i+5 Sketch Points
pkg/serializer/internal/metrics/test_helper.go:20
↓ 9 callers
Function
Max
Max returns the larger of two items, for any ordered type.
comp/netflow/common/utils.go:19
↓ 9 callers
Method
Namespaces
(ctx context.Context)
pkg/util/containerd/containerd_util.go:65
↓ 9 callers
Method
Nested
Nested executes the given function within a new NestedFrame
pkg/network/netlink/attribute_scanner.go:113
↓ 9 callers
Function
New
New creates a new parser that parses Kubernetes-formatted log lines. Kubernetes log lines follow the pattern '<timestamp> <stream> <flag> <content>';
pkg/logs/internal/parsers/kubernetes/kubernetes.go:27
↓ 9 callers
Function
NewCustomBoltCache
NewCustomBoltCache is a CacheProvider. It returns a custom implementation of a BoltDB cache using an LRU algorithm with a maximum number of cache entr
pkg/util/trivy/cache.go:40
↓ 9 callers
Function
NewEmptyActivityDump
NewEmptyActivityDump returns a new zero-like instance of an ActivityDump
pkg/security/security_profile/dump/activity_dump.go:117
↓ 9 callers
Function
NewFilter
NewFilter creates a new container filter from a two slices of regexp patterns for a include list and exclude list. Each pattern should have the follow
pkg/util/containers/filter.go:217
↓ 9 callers
Function
NewFramer
NewFramer initializes a Framer. The framer will break the input stream into messages using the given framing. Content longer than the given limit wi
pkg/logs/internal/framer/framer.go:83
↓ 9 callers
Function
NewIDProvider
NewIDProvider initializes an IDProvider instance, in non-linux environments the procRoot arg is unused.
pkg/trace/api/container.go:31
↓ 9 callers
Function
NewLauncher
NewLauncher returns a new launcher.
pkg/logs/launchers/file/launcher.go:53
↓ 9 callers
Function
NewMockedExitEvent
NewMockedExitEvent creates a mocked Exit event for tests
pkg/process/events/model/model_common.go:109
↓ 9 callers
Function
NewParallelStopper
NewParallelStopper returns a new parallel stopper. The Stop() method of this object will stop all components concurrently, calling each component's S
pkg/util/startstop/parallel_stopper.go:28
↓ 9 callers
Function
NewPointCountTelemetryMock
()
comp/forwarder/defaultforwarder/internal/retry/test_common.go:12
↓ 9 callers
Function
NewPolicyLoader
NewPolicyLoader returns a new loader
pkg/security/secl/rules/policy_loader.go:135
↓ 9 callers
Function
NewRingStore
NewRingStore creates a new RingStore to store process events
pkg/process/events/store.go:93
↓ 9 callers
Function
NewSender
NewSender returns a new sender.
pkg/logs/sender/sender.go:39
↓ 9 callers
Function
NewStatCounterWrapper
(subsystem string, statName string, tags []string, description string)
pkg/network/telemetry/stat_counter_wrapper.go:40
↓ 9 callers
Function
NewStdLimiter
NewStdLimiter returns a new rule limiter
pkg/security/events/rate_limiter.go:62
↓ 9 callers
Function
NewTCPServerOnAddress
(addr string, onMessage func(c net.Conn))
pkg/network/tracer/tracer_test.go:874
↓ 9 callers
Function
NewTraceWriter
NewTraceWriter returns a new TraceWriter. It is created for the given agent configuration and will accept incoming spans via the in channel.
pkg/trace/writer/trace.go:89
↓ 9 callers
Function
NormalizeTag
NormalizeTag applies some normalization to ensure the full tag_key:tag_value string matches the backend requirements.
pkg/trace/traceutil/normalize.go:119
↓ 9 callers
Function
NullTerminatedString
NullTerminatedString returns null-terminated string
pkg/security/secl/model/utils.go:63
↓ 9 callers
Method
PartialEval
PartialEval - Partial evaluation with the given Field
pkg/security/secl/compiler/eval/rule.go:100
↓ 9 callers
Function
Position
Position returns the position from where logs should be collected.
pkg/logs/launchers/file/position.go:17
↓ 9 callers
Method
ProcessCacheDiff
ProcessCacheDiff returns a channel to consume process diffs from
pkg/process/metadata/workloadmeta/extractor.go:214
↓ 9 callers
Method
ProcessPacketInfo
(info dnsPacketInfo, ts time.Time)
pkg/network/dns/stats.go:106
↓ 9 callers
Method
PutArtifact
(artifactID string, artifactInfo types.ArtifactInfo)
pkg/util/trivy/cache.go:545
↓ 9 callers
Method
Range
(f func(string, *auto.Stack))
test/new-e2e/pkg/utils/infra/stack_manager.go:73
↓ 9 callers
Method
RealtimePayloads
()
pkg/process/checks/checks.go:72
↓ 9 callers
Method
Recv
Recv returns a response of the gRPC server
pkg/workloadmeta/collectors/internal/remote/generic.go:47
↓ 9 callers
Method
RegisterRuleEventHandler
(cb onRuleHandler)
pkg/security/tests/module_tester.go:1374
↓ 9 callers
Method
RejectOrForwardLeaderQuery
RejectOrForwardLeaderQuery performs some checks on incoming queries that should go to a leader: - Forward to leader if we are a follower - Reject with
pkg/clusteragent/clusterchecks/handler_api.go:23
↓ 9 callers
Method
Release
Release decrements internal reference counter, potentially marking the entry as unused. Can be called concurrently with other store operations.
pkg/aggregator/internal/tags/store.go:45
↓ 9 callers
Method
Run
Run executes the check
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:110
↓ 9 callers
Method
RunCount
()
pkg/collector/worker/worker_test.go:45
↓ 9 callers
Method
RunningChecks
RunningChecks returns a list of all the running checks
pkg/collector/runner/tracker/tracker.go:75
↓ 9 callers
Function
SendDNSQueriesAndCheckError
SendDNSQueriesAndCheckError is a simple helper that requires no errors to be present when calling SendDNSQueries
pkg/network/tracer/testutil/testdns/test_dns_server.go:165
↓ 9 callers
Method
SentFirstTrace
()
pkg/trace/telemetry/collector.go:80
↓ 9 callers
Function
SetCheckMetadata
SetCheckMetadata updates a metadata value for one check instance in the cache.
pkg/metadata/inventories/inventories.go:101
↓ 9 callers
Function
SetLogger
SetLogger sets l as the default Logger and returns the old logger.
pkg/trace/log/logger.go:18
↓ 9 callers
Method
SetSender
SetSender sets the current sender
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:82
↓ 9 callers
Function
Since
Since records the duration for the given metric name as time passed since start. It uses the default set which is reported at 10 second intervals.
pkg/trace/metrics/timing/timing.go:31
↓ 9 callers
Method
Start
Start starts the destination send loop. close the intput to stop listening for payloads. stopChan is signaled when the destination has fully shutdown
pkg/logs/client/destination.go:16
↓ 9 callers
Method
Start
Start USM monitor.
pkg/network/usm/monitor.go:115
↓ 9 callers
Method
Start
Start Starts a fake intake server in a separate go-routine Notifies when ready to the ready channel
test/fakeintake/server/server.go:123
↓ 9 callers
Method
Stop
Stop closes the profile provider
pkg/security/security_profile/profile/profile_provider.go:25
↓ 9 callers
Method
Stop
()
pkg/security/module/reloader.go:11
↓ 9 callers
Method
StoreMetricStats
StoreMetricStats stores stats on the given metric sample.
comp/dogstatsd/serverDebug/component.go:19
↓ 9 callers
Method
TellDaemonRuntimeDone
TellDaemonRuntimeDone tells the daemon that the runtime finished handling an invocation
pkg/serverless/daemon/daemon.go:373
↓ 9 callers
Method
TellDaemonRuntimeStarted
TellDaemonRuntimeStarted tells the daemon that the runtime started handling an invocation
pkg/serverless/daemon/daemon.go:362
↓ 9 callers
Method
Tracef
(format string, params ...interface{})
pkg/trace/log/logger.go:36
↓ 9 callers
Method
UnmarshallPayloads
UnmarshallPayloads aggregate the payloads
test/fakeintake/aggregator/common.go:48
↓ 9 callers
Function
WaitForAPIClient
WaitForAPIClient returns the shared ApiClient instance.
pkg/util/kubernetes/apiserver/apiserver_nocompile.go:39
↓ 9 callers
Function
WithAllProcs
WithAllProcs will execute `fn` for every pid under procRoot. `fn` is passed the `pid`. If `fn` returns an error the iteration aborts, returning the la
pkg/util/kernel/proc.go:39
↓ 9 callers
Function
activeElt
()
cmd/agent/gui/views/private/js/codemirror.js:114
↓ 9 callers
Method
add
(field, message string)
pkg/config/legacy/kubernetes.go:69
↓ 9 callers
Function
addMetricSample
(contextMetrics ContextMetrics, contextKey int, value float64)
pkg/metrics/context_metrics_flusher_test.go:71
↓ 9 callers
Function
assertContainsCheck
(t *testing.T, checks []string, name string)
pkg/process/checks/enabled_checks_test.go:19
↓ 9 callers
Function
assertDistribPayload
(t *testing.T, withCounts, res *proto.StatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:84
↓ 9 callers
Function
buildPacketAssembler
()
comp/dogstatsd/packets/assembler_test.go:19
↓ 9 callers
Function
c
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 9 callers
Function
calculateEstimatedCost
calculateEstimatedCost returns the estimated cost in USD of a Lambda invocation
pkg/serverless/metrics/enhanced_metrics.go:252
↓ 9 callers
Function
checkFormatVal
(val *T)
pkg/clusteragent/admission/common/lib_config.go:186
↓ 9 callers
Function
createConditionTag
createConditionTag returns tags in a standard format for conditions
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/common.go:77
↓ 9 callers
Method
currentRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:45
↓ 9 callers
Method
data
data returns all call data for the given eventType.
pkg/trace/writer/sender_test.go:290
↓ 9 callers
Function
enableProbe
(enabled map[probes.ProbeFuncName]struct{}, name probes.ProbeFuncName)
pkg/network/tracer/offsetguess/offsetguess.go:121
↓ 9 callers
Function
enrichMetricSample
(dest []metrics.MetricSample, ddSample dogstatsdMetricSample, origin string, listenerID string, conf enrichCon
comp/dogstatsd/server/enrich.go:166
↓ 9 callers
Function
eventInWidget
(display, e)
cmd/agent/gui/views/private/js/codemirror.js:2333
↓ 9 callers
Method
eventlog
(msgnum uint32, arg string)
pkg/util/winutil/servicemain/servicemain.go:229
↓ 9 callers
Method
exec_command
(self, container, command=None)
test/e2e/cws-tests/tests/lib/kubernetes.py:37
↓ 9 callers
Function
file_datadog_process_workloadmeta_process_proto_rawDescGZIP
()
pkg/proto/pbgo/process/workloadmeta_process.pb.go:643
↓ 9 callers
Method
flush
(timestamp float64)
pkg/metrics/rate.go:28
↓ 9 callers
Method
flush
(sender.Sender, *KSMCheck, *labelJoiner)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:22
↓ 9 callers
Function
formatProtocolStack
formatProtocolStack generates a protobuf representation of protocol stack from the internal one (`protocols.Stack`) i.e: if the input is protocols.St
pkg/network/encoding/protocols.go:33
↓ 9 callers
Function
generateTarget
()
pkg/config/remote/uptane/client_test.go:496
↓ 9 callers
Method
getAllSignatureSampleRates
getAllSignatureSampleRates returns the sampling rate to apply to each signature
pkg/trace/sampler/coresampler.go:265
↓ 9 callers
Function
getClusterName
(ctx context.Context, data *clusterNameData, hostname string)
pkg/util/kubernetes/clustername/clustername.go:67
↓ 9 callers
Method
getEventLog
(name string)
pkg/util/winutil/eventlog/api/fake/fake.go:168
↓ 9 callers
Function
getKey
( qIP string, qPort int, sIP string, protocol uint8, )
pkg/network/dns/snooper_test.go:117
↓ 9 callers
Function
getOrder
(line, direction)
cmd/agent/gui/views/private/js/codemirror.js:1107
↓ 9 callers
Method
getSignatureSampleRate
getSignatureSampleRate returns the sampling rate to apply to a signature
pkg/trace/sampler/coresampler.go:254
↓ 9 callers
Function
getTestPrioritySampler
()
pkg/trace/sampler/prioritysampler_test.go:23
↓ 9 callers
Function
getWorkersCountExpvar
(t *testing.T)
pkg/collector/runner/expvars/workers_test.go:30
↓ 9 callers
Function
heightAtLine
(lineObj)
cmd/agent/gui/views/private/js/codemirror.js:847
← previous
next →
1,701–1,800 of 32,574, ranked by callers