MCPcopy Create free account

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

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

↓ 9 callersMethodGetRootNetNs
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 callersFunctionGetRtLoader
GetRtLoader returns a RtLoader instance using Three
rtloader/test/common/common_three.go:20
↓ 9 callersMethodGetRules
GetRules returns the active rules
pkg/security/secl/rules/ruleset.go:225
↓ 9 callersMethodGetUnReliableEndpoints
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 callersMethodGetWorkload
GetWorkload returns the sbom of a provided ID
pkg/security/resolvers/sbom/resolver.go:434
↓ 9 callersFunctionHTTPServer
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 callersMethodHash
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 callersMethodIDs
()
pkg/collector/corechecks/windows_event_log/filters.go:25
↓ 9 callersMethodIsDebianKernel
IsDebianKernel returns whether the kernel is a debian kernel
pkg/security/ebpf/kernel/kernel.go:201
↓ 9 callersFunctionIsFeaturePresent
IsFeaturePresent returns if a particular feature is activated
pkg/config/env/environment_detection.go:62
↓ 9 callersFunctionIsGreaterOrEqual
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 callersMethodIsZero
IsZero returns c is its zero value
pkg/network/netlink/decoding.go:51
↓ 9 callersMethodLeafExist
LeafExist checks if the oid is a known leaf
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:99
↓ 9 callersFunctionLoadCheck
(name, path string)
pkg/collector/check/check_test.go:70
↓ 9 callersFunctionMakeseries
Makeseries creates a metrics.SketchSeries with i+5 Sketch Points
pkg/serializer/internal/metrics/test_helper.go:20
↓ 9 callersFunctionMax
Max returns the larger of two items, for any ordered type.
comp/netflow/common/utils.go:19
↓ 9 callersMethodNamespaces
(ctx context.Context)
pkg/util/containerd/containerd_util.go:65
↓ 9 callersMethodNested
Nested executes the given function within a new NestedFrame
pkg/network/netlink/attribute_scanner.go:113
↓ 9 callersFunctionNew
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 callersFunctionNewCustomBoltCache
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 callersFunctionNewEmptyActivityDump
NewEmptyActivityDump returns a new zero-like instance of an ActivityDump
pkg/security/security_profile/dump/activity_dump.go:117
↓ 9 callersFunctionNewFilter
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 callersFunctionNewFramer
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 callersFunctionNewIDProvider
NewIDProvider initializes an IDProvider instance, in non-linux environments the procRoot arg is unused.
pkg/trace/api/container.go:31
↓ 9 callersFunctionNewLauncher
NewLauncher returns a new launcher.
pkg/logs/launchers/file/launcher.go:53
↓ 9 callersFunctionNewMockedExitEvent
NewMockedExitEvent creates a mocked Exit event for tests
pkg/process/events/model/model_common.go:109
↓ 9 callersFunctionNewParallelStopper
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 callersFunctionNewPointCountTelemetryMock
()
comp/forwarder/defaultforwarder/internal/retry/test_common.go:12
↓ 9 callersFunctionNewPolicyLoader
NewPolicyLoader returns a new loader
pkg/security/secl/rules/policy_loader.go:135
↓ 9 callersFunctionNewRingStore
NewRingStore creates a new RingStore to store process events
pkg/process/events/store.go:93
↓ 9 callersFunctionNewSender
NewSender returns a new sender.
pkg/logs/sender/sender.go:39
↓ 9 callersFunctionNewStatCounterWrapper
(subsystem string, statName string, tags []string, description string)
pkg/network/telemetry/stat_counter_wrapper.go:40
↓ 9 callersFunctionNewStdLimiter
NewStdLimiter returns a new rule limiter
pkg/security/events/rate_limiter.go:62
↓ 9 callersFunctionNewTCPServerOnAddress
(addr string, onMessage func(c net.Conn))
pkg/network/tracer/tracer_test.go:874
↓ 9 callersFunctionNewTraceWriter
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 callersFunctionNormalizeTag
NormalizeTag applies some normalization to ensure the full tag_key:tag_value string matches the backend requirements.
pkg/trace/traceutil/normalize.go:119
↓ 9 callersFunctionNullTerminatedString
NullTerminatedString returns null-terminated string
pkg/security/secl/model/utils.go:63
↓ 9 callersMethodPartialEval
PartialEval - Partial evaluation with the given Field
pkg/security/secl/compiler/eval/rule.go:100
↓ 9 callersFunctionPosition
Position returns the position from where logs should be collected.
pkg/logs/launchers/file/position.go:17
↓ 9 callersMethodProcessCacheDiff
ProcessCacheDiff returns a channel to consume process diffs from
pkg/process/metadata/workloadmeta/extractor.go:214
↓ 9 callersMethodProcessPacketInfo
(info dnsPacketInfo, ts time.Time)
pkg/network/dns/stats.go:106
↓ 9 callersMethodPutArtifact
(artifactID string, artifactInfo types.ArtifactInfo)
pkg/util/trivy/cache.go:545
↓ 9 callersMethodRange
(f func(string, *auto.Stack))
test/new-e2e/pkg/utils/infra/stack_manager.go:73
↓ 9 callersMethodRealtimePayloads
()
pkg/process/checks/checks.go:72
↓ 9 callersMethodRecv
Recv returns a response of the gRPC server
pkg/workloadmeta/collectors/internal/remote/generic.go:47
↓ 9 callersMethodRegisterRuleEventHandler
(cb onRuleHandler)
pkg/security/tests/module_tester.go:1374
↓ 9 callersMethodRejectOrForwardLeaderQuery
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 callersMethodRelease
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 callersMethodRun
Run executes the check
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:110
↓ 9 callersMethodRunCount
()
pkg/collector/worker/worker_test.go:45
↓ 9 callersMethodRunningChecks
RunningChecks returns a list of all the running checks
pkg/collector/runner/tracker/tracker.go:75
↓ 9 callersFunctionSendDNSQueriesAndCheckError
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 callersMethodSentFirstTrace
()
pkg/trace/telemetry/collector.go:80
↓ 9 callersFunctionSetCheckMetadata
SetCheckMetadata updates a metadata value for one check instance in the cache.
pkg/metadata/inventories/inventories.go:101
↓ 9 callersFunctionSetLogger
SetLogger sets l as the default Logger and returns the old logger.
pkg/trace/log/logger.go:18
↓ 9 callersMethodSetSender
SetSender sets the current sender
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:82
↓ 9 callersFunctionSince
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 callersMethodStart
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 callersMethodStart
Start USM monitor.
pkg/network/usm/monitor.go:115
↓ 9 callersMethodStart
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 callersMethodStop
Stop closes the profile provider
pkg/security/security_profile/profile/profile_provider.go:25
↓ 9 callersMethodStop
()
pkg/security/module/reloader.go:11
↓ 9 callersMethodStoreMetricStats
StoreMetricStats stores stats on the given metric sample.
comp/dogstatsd/serverDebug/component.go:19
↓ 9 callersMethodTellDaemonRuntimeDone
TellDaemonRuntimeDone tells the daemon that the runtime finished handling an invocation
pkg/serverless/daemon/daemon.go:373
↓ 9 callersMethodTellDaemonRuntimeStarted
TellDaemonRuntimeStarted tells the daemon that the runtime started handling an invocation
pkg/serverless/daemon/daemon.go:362
↓ 9 callersMethodTracef
(format string, params ...interface{})
pkg/trace/log/logger.go:36
↓ 9 callersMethodUnmarshallPayloads
UnmarshallPayloads aggregate the payloads
test/fakeintake/aggregator/common.go:48
↓ 9 callersFunctionWaitForAPIClient
WaitForAPIClient returns the shared ApiClient instance.
pkg/util/kubernetes/apiserver/apiserver_nocompile.go:39
↓ 9 callersFunctionWithAllProcs
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 callersFunctionactiveElt
()
cmd/agent/gui/views/private/js/codemirror.js:114
↓ 9 callersMethodadd
(field, message string)
pkg/config/legacy/kubernetes.go:69
↓ 9 callersFunctionaddMetricSample
(contextMetrics ContextMetrics, contextKey int, value float64)
pkg/metrics/context_metrics_flusher_test.go:71
↓ 9 callersFunctionassertContainsCheck
(t *testing.T, checks []string, name string)
pkg/process/checks/enabled_checks_test.go:19
↓ 9 callersFunctionassertDistribPayload
(t *testing.T, withCounts, res *proto.StatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:84
↓ 9 callersFunctionbuildPacketAssembler
()
comp/dogstatsd/packets/assembler_test.go:19
↓ 9 callersFunctionc
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 9 callersFunctioncalculateEstimatedCost
calculateEstimatedCost returns the estimated cost in USD of a Lambda invocation
pkg/serverless/metrics/enhanced_metrics.go:252
↓ 9 callersFunctioncheckFormatVal
(val *T)
pkg/clusteragent/admission/common/lib_config.go:186
↓ 9 callersFunctioncreateConditionTag
createConditionTag returns tags in a standard format for conditions
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/common.go:77
↓ 9 callersMethodcurrentRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:45
↓ 9 callersMethoddata
data returns all call data for the given eventType.
pkg/trace/writer/sender_test.go:290
↓ 9 callersFunctionenableProbe
(enabled map[probes.ProbeFuncName]struct{}, name probes.ProbeFuncName)
pkg/network/tracer/offsetguess/offsetguess.go:121
↓ 9 callersFunctionenrichMetricSample
(dest []metrics.MetricSample, ddSample dogstatsdMetricSample, origin string, listenerID string, conf enrichCon
comp/dogstatsd/server/enrich.go:166
↓ 9 callersFunctioneventInWidget
(display, e)
cmd/agent/gui/views/private/js/codemirror.js:2333
↓ 9 callersMethodeventlog
(msgnum uint32, arg string)
pkg/util/winutil/servicemain/servicemain.go:229
↓ 9 callersMethodexec_command
(self, container, command=None)
test/e2e/cws-tests/tests/lib/kubernetes.py:37
↓ 9 callersFunctionfile_datadog_process_workloadmeta_process_proto_rawDescGZIP
()
pkg/proto/pbgo/process/workloadmeta_process.pb.go:643
↓ 9 callersMethodflush
(timestamp float64)
pkg/metrics/rate.go:28
↓ 9 callersMethodflush
(sender.Sender, *KSMCheck, *labelJoiner)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:22
↓ 9 callersFunctionformatProtocolStack
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 callersFunctiongenerateTarget
()
pkg/config/remote/uptane/client_test.go:496
↓ 9 callersMethodgetAllSignatureSampleRates
getAllSignatureSampleRates returns the sampling rate to apply to each signature
pkg/trace/sampler/coresampler.go:265
↓ 9 callersFunctiongetClusterName
(ctx context.Context, data *clusterNameData, hostname string)
pkg/util/kubernetes/clustername/clustername.go:67
↓ 9 callersMethodgetEventLog
(name string)
pkg/util/winutil/eventlog/api/fake/fake.go:168
↓ 9 callersFunctiongetKey
( qIP string, qPort int, sIP string, protocol uint8, )
pkg/network/dns/snooper_test.go:117
↓ 9 callersFunctiongetOrder
(line, direction)
cmd/agent/gui/views/private/js/codemirror.js:1107
↓ 9 callersMethodgetSignatureSampleRate
getSignatureSampleRate returns the sampling rate to apply to a signature
pkg/trace/sampler/coresampler.go:254
↓ 9 callersFunctiongetTestPrioritySampler
()
pkg/trace/sampler/prioritysampler_test.go:23
↓ 9 callersFunctiongetWorkersCountExpvar
(t *testing.T)
pkg/collector/runner/expvars/workers_test.go:30
↓ 9 callersFunctionheightAtLine
(lineObj)
cmd/agent/gui/views/private/js/codemirror.js:847
← previousnext →1,701–1,800 of 32,574, ranked by callers