MCPcopy Create free account

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

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

↓ 19 callersFunctionnewOptsWithParams
(constants map[string]interface{}, legacyFields map[Field]Field)
pkg/security/secl/compiler/eval/eval_test.go:23
↓ 19 callersFunctionnewTestServer
newTestServer returns a new, started HTTP test server. Its URL is available as a field. To control its responses, send it payloads created by expectRe
pkg/trace/writer/testserver.go:57
↓ 19 callersFunctionnewValueError
(data string, err error)
pkg/util/cgroups/errors.go:68
↓ 19 callersFunctionoperation
(cm, f)
cmd/agent/gui/views/private/js/codemirror.js:3841
↓ 19 callersFunctionparseRule
(expr string, model Model, opts *Opts)
pkg/security/secl/compiler/eval/eval_test.go:41
↓ 19 callersMethodscan
scan checks all the files we're expected to tail, compares them to the currently tailed files, and triggers the required updates. For instance, when a
pkg/logs/launchers/file/launcher.go:127
↓ 19 callersFunctionsetMetaOTLP
setMetaOTLP sets the k/v OTLP attribute pair as a tag on span s.
pkg/trace/api/otlp.go:467
↓ 19 callersFunctionsignal
(emitter, type /*, values...*/)
cmd/agent/gui/views/private/js/codemirror.js:1150
↓ 19 callersFunctionsignalDOMEvent
(cm, e, override)
cmd/agent/gui/views/private/js/codemirror.js:1160
↓ 19 callersFunctiontestWithTagsStore
Helper functions to run tests and benchmarks for context resolver, time and check samplers.
pkg/aggregator/context_resolver_test.go:25
↓ 19 callersMethodvariable
(self, key, value, indent=0)
tasks/libs/ninja_syntax.py:48
↓ 18 callersMethodAddMessage
AddMessage adds a new dogstatsd message to the buffer
comp/dogstatsd/packets/assembler.go:59
↓ 18 callersMethodClose
()
pkg/network/route_cache.go:99
↓ 18 callersFunctionConcatenateTags
ConcatenateTags is a fast way to concatenate multiple tag arrays in a single one.
pkg/tagger/utils/concat.go:10
↓ 18 callersMethodDebug
Debug logs the given arguments, separated by spaces, at the debug level
comp/core/log/component.go:33
↓ 18 callersMethodFlush
()
pkg/serverless/serverless.go:91
↓ 18 callersFunctionGet
Get returns the status of the logs-agent computed on the fly.
pkg/logs/status/status.go:118
↓ 18 callersMethodGetCustomEventSent
(tb testing.TB, action func() error, cb func(rule *rules.Rule, event *events.CustomEvent) bool, timeout time.D
pkg/security/tests/module_tester.go:1380
↓ 18 callersMethodGetInferredSpan
GetInferredSpan returns the generated inferred span of the currently executing lambda function
pkg/serverless/invocationlifecycle/lifecycle.go:324
↓ 18 callersMethodGetStringMapStringSlice
(key string)
pkg/config/model/types.go:40
↓ 18 callersMethodHandleUnary
HandleUnary performs a gRPC unary call to SayHello RPC of the greeter service.
pkg/network/tracer/testutil/grpc/client.go:28
↓ 18 callersMethodHash
Hash calculates the cumulative XOR of all unique tags in the builder. As a side-effect, it sorts and deduplicates the hashes contained in the builder
pkg/tagset/hash_generator.go:54
↓ 18 callersMethodInt64
()
pkg/compliance/metrics/rego.go:116
↓ 18 callersFunctionIsCheckTelemetryEnabled
IsCheckTelemetryEnabled returns if we want telemetry for the given check. Returns true if a * is present in the telemetry.checks list.
pkg/config/utils/telemetry.go:12
↓ 18 callersMethodKillAgent
KillAgent kills any agent that was started by this runner.
cmd/trace-agent/test/runner.go:90
↓ 18 callersFunctionMatchTagsContains
MatchTagsContains is a mock.argumentMatcher builder to be used in asserts. It allows to check if tags are emitted, ignoring unexpected ones and order.
pkg/aggregator/mocksender/asserts.go:92
↓ 18 callersFunctionNewConfig
NewConfig creates a config with ebpf-related settings
pkg/ebpf/config.go:85
↓ 18 callersFunctionNewCounter
NewCounter returns a new metric of type `Counter`
pkg/network/protocols/telemetry/metric.go:21
↓ 18 callersFunctionNewServer
NewServer creates a new fake intake server and starts it on localhost:port options accept WithPort and WithReadyChan. Call Server.Start() to start the
test/fakeintake/server/server.go:51
↓ 18 callersFunctionNewTestServerWithOptions
NewTestServerWithOptions creates a new test server with concurrency and response control
pkg/logs/client/http/test_utils.go:43
↓ 18 callersFunctionOpenService
OpenService opens a handle for serviceName https://learn.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-openservicew
pkg/util/winutil/service.go:50
↓ 18 callersMethodPush
Push sends an event to be stored. An optional channel can be passed to acknowledge when the event is successfully written
pkg/process/events/store.go:33
↓ 18 callersFunctionRandomSpan
RandomSpan generates a wide-variety of spans, useful to test robustness & performance
pkg/trace/testutil/span.go:322
↓ 18 callersMethodReportEvent
( EventLog EventSourceHandle, Type uint, Category uint, EventID uint, UserSID *windows.SID, String
pkg/util/winutil/eventlog/api/types.go:205
↓ 18 callersMethodSetEntity
Extra interface to ease working with MockStore SetEntity generates a Set event
pkg/workloadmeta/mock_store.go:32
↓ 18 callersFunctionSetWorkerStats
SetWorkerStats is used to add individual worker stats or update them if they were already present
pkg/collector/runner/expvars/workers.go:58
↓ 18 callersFunctionSetupMock
SetupMock configures DMI variables with provided values
pkg/util/dmi/no_dmi_mock.go:15
↓ 18 callersMethodStop
()
comp/forwarder/defaultforwarder/default_forwarder.go:61
↓ 18 callersMethodStop
()
pkg/tagger/interface.go:27
↓ 18 callersMethodWarn
(v ...interface{})
pkg/trace/log/logger.go:41
↓ 18 callersFunctionWithNS
WithNS executes the given function in the given network namespace, and then switches back to the previous namespace.
pkg/util/kernel/netns.go:39
↓ 18 callersFunctionWithProcFSRoot
WithProcFSRoot confiugres the procfs directory that the probe reads from
pkg/process/procutil/process_linux.go:88
↓ 18 callersMethodadd
(stat int64)
pkg/aggregator/aggregator.go:61
↓ 18 callersFunctionbenchHistogram
Benchmark
pkg/metrics/histogram_test.go:281
↓ 18 callersFunctiondeepCopy
(p *proto.ClientStatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:457
↓ 18 callersFunctiondemuxTestOptions
()
pkg/aggregator/demultiplexer_test.go:26
↓ 18 callersFunctionexpectedInActual
Return a bool value if all the elements of expected are inside the actual array
pkg/aggregator/mocksender/asserts.go:142
↓ 18 callersFunctionfakePodWithParent
(ns string, as, ls map[string]string, es []corev1.EnvVar, parentKind, parentName string)
pkg/clusteragent/admission/mutate/test_utils.go:101
↓ 18 callersFunctionfilter
(xs,f)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 18 callersMethodflushNow
(now int64, force bool)
pkg/trace/stats/concentrator.go:265
↓ 18 callersFunctiongenerateIntegration
(name string)
pkg/clusteragent/clusterchecks/dispatcher_test.go:25
↓ 18 callersFunctiongetEventHandles
(t testing.TB, ti eventlog_test.APITester, sub PullSubscription, numEvents uint)
pkg/util/winutil/eventlog/subscription/subscription_test.go:97
↓ 18 callersFunctionindexOf
(array, elt)
cmd/agent/gui/views/private/js/codemirror.js:182
↓ 18 callersMethodload
(self, policy_content)
test/e2e/cws-tests/tests/lib/cws/policy.py:5
↓ 18 callersFunctionmatchAll
matchAll matches when all of the given functions match
pkg/autodiscovery/configmgr_test.go:66
↓ 18 callersMethodnext_version
(self, bump_major=False, bump_minor=False, bump_patch=False, rc=False)
tasks/libs/version.py:86
↓ 18 callersMethodopen
(path string)
pkg/util/cgroups/file.go:27
↓ 18 callersFunctionp
()
cmd/agent/gui/views/private/js/codemirror.js:9307
↓ 18 callersFunctionparseAndEnrichSingleMetricMessage
(t *testing.T, message []byte, conf enrichConfig)
comp/dogstatsd/server/enrich_test.go:34
↓ 18 callersMethodprocessNodeStatus
processNodeStatus keeps the node's status in the store, and returns true if the last configuration change matches the one sent by the node agent.
pkg/clusteragent/clusterchecks/dispatcher_nodes.go:44
↓ 18 callersFunctionrequireNotLocked
requireNotLocked tries to lock a clusterStore to make sure it is not left locked after an operation
pkg/clusteragent/clusterchecks/common_test.go:22
↓ 18 callersFunctionsetJSONError
(w http.ResponseWriter, err error, errorCode int)
cmd/agent/api/internal/agent/agent.go:103
↓ 18 callersMethodshouldDrop
shouldDrop returns true if the entry should be dropped, returns false otherwise.
pkg/logs/tailers/journald/tailer.go:303
↓ 18 callersFunctionsignalLater
(emitter, type /*, values...*/)
cmd/agent/gui/views/private/js/codemirror.js:2108
↓ 17 callersFunctionA
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 17 callersMethodAppendBool
(v bool)
pkg/util/log/zap/zapencoder.go:101
↓ 17 callersFunctionAsJSON
AsJSON takes a structure and returns a marshal-able object representing the fields of the struct, the lists of errors for fields for which the collect
pkg/gohai/utils/common.go:85
↓ 17 callersFunctionCommands
Commands returns the config commands
cmd/security-agent/subcommands/runtime/command_linux.go:21
↓ 17 callersMethodCompute
Compute returns four string arrays in the format "tag:value" - low cardinality - orchestrator cardinality - high cardinality - standard tags
pkg/tagger/utils/taglist.go:92
↓ 17 callersMethodContentType
()
pkg/process/encoding/request/encoding.go:28
↓ 17 callersMethodCount
The number of values
pkg/util/winutil/eventlog/api/types.go:243
↓ 17 callersFunctionCriticalf
Criticalf logs with format at the critical level and returns an error containing the formated log message
pkg/util/log/log.go:737
↓ 17 callersMethodFastDigest
FastDigest returns an hash value representing the data stored in this configuration. Difference with Digest is that FastDigest does not consider that
pkg/autodiscovery/integration/config.go:416
↓ 17 callersMethodFilesToTail
FilesToTail returns all the Files matching paths in sources, it cannot return more than filesLimit Files. Files are collected according to the filePro
pkg/logs/launchers/file/provider/file_provider.go:161
↓ 17 callersMethodGetExecutionInfo
GetExecutionInfo returns the trace and payload information of the currently executing lambda function
pkg/serverless/invocationlifecycle/lifecycle.go:318
↓ 17 callersMethodGetHostname
get the hostname
pkg/proto/pbgo/core/api.pb.go:204
↓ 17 callersFunctionGetLogLevel
GetLogLevel returns a seelog native representation of the current log level
pkg/util/log/log.go:866
↓ 17 callersMethodGetSignal
(tb testing.TB, action func() error, cb onRuleHandler)
pkg/security/tests/module_tester.go:1313
↓ 17 callersMethodGetVariableMetadata
GetVariableMetadata returns VariableMetadata for a given variableOID and trapOID. The trapOID should not be needed in theory but the Datadog Agent all
pkg/snmp/traps/oid_resolver/oid_resolver.go:94
↓ 17 callersFunctionHostCPUCount
HostCPUCount returns the number of logical CPUs from host
pkg/util/system/cpu.go:32
↓ 17 callersMethodInit
Init bootstraps the CloudService.
cmd/serverless-init/cloudservice/service.go:27
↓ 17 callersMethodInterval
Interval returns the interval time for the check
pkg/collector/check/check.go:61
↓ 17 callersMethodIsAmazonLinuxKernel
IsAmazonLinuxKernel returns whether the kernel is an amazon linux kernel
pkg/security/ebpf/kernel/kernel.go:269
↓ 17 callersMethodLookup
(cs *network.ConnectionStats)
pkg/network/tracer/gateway_lookup.go:107
↓ 17 callersMethodMax
Max returns max(s, other)
pkg/network/event_common.go:487
↓ 17 callersFunctionMockSystemProbe
MockSystemProbe is creating and returning a mock system-probe config
pkg/config/mock.go:68
↓ 17 callersMethodMonotonicCount
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:23
↓ 17 callersFunctionNewFakeTagger
NewFakeTagger returns a new fake Tagger
pkg/tagger/local/fake_tagger.go:28
↓ 17 callersFunctionNewKeyGenerator
NewKeyGenerator creates a new key generator
pkg/aggregator/ckey/key.go:36
↓ 17 callersFunctionNewListenerConfig
NewListenerConfig parses configuration and returns a built ListenerConfig
pkg/snmp/snmp.go:93
↓ 17 callersFunctionNewMockProvider
NewMockProvider returns a new mockProvider
pkg/logs/pipeline/mock/mock.go:21
↓ 17 callersFunctionNewReceiverStats
NewReceiverStats returns a new ReceiverStats
pkg/trace/info/stats.go:30
↓ 17 callersFunctionNewStore
NewStore returns new empty Store.
pkg/aggregator/internal/tags/store.go:62
↓ 17 callersMethodProcessTagInfo
([]*TagInfo)
pkg/tagger/collectors/workloadmeta_main.go:42
↓ 17 callersMethodProcessesByPID
(now time.Time, collectStats bool)
pkg/process/procutil/probe.go:16
↓ 17 callersMethodRun
Run executes the check
pkg/collector/corechecks/snmp/snmp.go:44
↓ 17 callersMethodRunCheck
RunCheck sends a Check in the execution queue
pkg/collector/collector.go:117
↓ 17 callersMethodSendStartupError
(code int, err error)
pkg/trace/telemetry/collector.go:79
↓ 17 callersMethodStop
Stop halts all network data collection.
pkg/network/tracer/connection/tracer.go:59
↓ 17 callersMethodStop
()
pkg/process/runner/submitter.go:44
← previousnext →801–900 of 32,574, ranked by callers