MCPcopy Create free account

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

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

↓ 17 callersMethodStop
Stop the event subscription and free resources. The subscription can be started again after it is stopped. Stop will automatically close any outstand
pkg/util/winutil/eventlog/subscription/subscription.go:39
↓ 17 callersMethodTick
Tick represents one or more events passing through the circuit breaker.
pkg/network/netlink/circuit_breaker.go:88
↓ 17 callersMethodUnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
pkg/security/serializers/serializers_base_linux_easyjson.go:775
↓ 17 callersFunctionWithClock
(clock clock.Clock)
test/fakeintake/server/server.go:101
↓ 17 callersMethodadd
(s *pb.Span, weight float64, isTop bool, aggr Aggregation, peerTags []string)
pkg/trace/stats/statsraw.go:159
↓ 17 callersMethodcopy
()
pkg/network/dns/cache.go:231
↓ 17 callersFunctionfile_datadog_model_v1_model_proto_rawDescGZIP
()
pkg/proto/pbgo/core/model.pb.go:1137
↓ 17 callersFunctionfloatEquals
(a, b float32)
pkg/process/checks/process_common_test.go:361
↓ 17 callersFunctiongetEnabledChecks
(t *testing.T, cfg, sysprobeYamlConfig config.ReaderWriter)
pkg/process/checks/enabled_checks_test.go:29
↓ 17 callersFunctionkey
(pieces ...string)
pkg/orchestrator/config/config.go:72
↓ 17 callersFunctionnewCountObjectsAggregator
(ddMetricName, ksmMetricName string, allowedLabels []string)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:100
↓ 17 callersMethodpathFor
Expects controller to exist, see controllerMounted
pkg/util/cgroups/cgroupv1.go:45
↓ 17 callersFunctionrequireStart
(t *testing.T, s Component, demux aggregator.Demultiplexer)
comp/dogstatsd/server/server_test.go:1031
↓ 17 callersMethodsanitize
sanitize config parameters
pkg/security/probe/config/config.go:185
↓ 17 callersMethodsendMetricSample
( metric string, value float64, hostname string, tags []string, mType metrics.MetricType, flushFirstValu
pkg/aggregator/sender.go:176
↓ 17 callersFunctionsetInt
(field *T, value any)
comp/netflow/goflowlib/convert.go:148
↓ 17 callersFunctionsovHttpTransactionProto
(x uint64)
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:715
↓ 17 callersFunctionstatValue
(val *float64, def float64)
pkg/process/util/containers/containers.go:309
↓ 17 callersMethodsubmitProcessLikePayload
(ep transaction.Endpoint, payload transaction.BytesPayloads, extra http.Header, retryable bool)
comp/forwarder/defaultforwarder/default_forwarder.go:647
↓ 17 callersMethodtestMetric
(args *testMetricArgs)
test/new-e2e/tests/containers/base_test.go:86
↓ 17 callersFunctiontoGoField
(s string)
pkg/compliance/tools/k8s_types_generator/main.go:560
↓ 16 callersFunctionAssertSerieEqual
AssertSerieEqual evaluate if two are equal.
pkg/metrics/test_helper.go:71
↓ 16 callersMethodBuild
Build initializes and registers all enabled stores. Returns metric writers.
pkg/kubestatemetrics/builder/builder.go:150
↓ 16 callersMethodContext
Context mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:300
↓ 16 callersMethodDialContext
(ctx context.Context, network, addr string, config *ssh.ClientConfig)
test/new-e2e/system-probe/connector/sshtools/dial.go:24
↓ 16 callersMethodGenerate
Generate returns the ContextKey hash for the given parameters. tagsBuf is re-arranged in place and truncated to only contain unique tags.
pkg/aggregator/ckey/key.go:52
↓ 16 callersMethodGetEnvVars
GetEnvVars returns a list of the env vars that the config supports. These have had the EnvPrefix applied, as well as the EnvKeyReplacer.
pkg/config/model/types.go:72
↓ 16 callersMethodGetLabels
()
pkg/proto/pbgo/core/workloadmeta.pb.go:613
↓ 16 callersMethodGetNewState
GetNewState returns the current state if the given version is different from the local version.
pkg/trace/sampler/dynamic_config.go:91
↓ 16 callersMethodGetScalarAsString
GetScalarAsString get scalar value as string
pkg/collector/corechecks/snmp/internal/metadata/store.go:102
↓ 16 callersFunctionGetServiceMapping
This function gets a snapshot of the current service mapping without modifying it.
pkg/serverless/trace/inferredspan/span_enrichment.go:49
↓ 16 callersMethodGetTags
GetTags returns the tagset of the currently executing lambda function
pkg/serverless/invocationlifecycle/lifecycle.go:312
↓ 16 callersFunctionInitAndStartAgentDemultiplexerForTest
InitAndStartAgentDemultiplexerForTest initializes an aggregator for tests.
pkg/aggregator/demultiplexer_mock.go:195
↓ 16 callersMethodIsOracleUEKKernel
IsOracleUEKKernel returns whether the kernel is an oracle uek kernel
pkg/security/ebpf/kernel/kernel.go:259
↓ 16 callersMethodIsSLESKernel
IsSLESKernel returns whether the kernel is a sles kernel
pkg/security/ebpf/kernel/kernel.go:254
↓ 16 callersMethodListen
()
comp/dogstatsd/listeners/types.go:10
↓ 16 callersFunctionMakeContextMetrics
MakeContextMetrics returns a new ContextMetrics
pkg/metrics/context_metrics.go:22
↓ 16 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/core/remoteconfig_gen.go:1840
↓ 16 callersFunctionNewAgent
NewAgent returns a new Agent object, ready to be started. It takes a context which may be cancelled in order to gracefully stop the agent.
pkg/trace/agent/agent.go:97
↓ 16 callersFunctionNewBufferedAggregator
NewBufferedAggregator instantiates a BufferedAggregator
pkg/aggregator/aggregator.go:259
↓ 16 callersFunctionNewClient
NewClient creates a new uptane client
pkg/config/remote/uptane/client.go:61
↓ 16 callersFunctionNewOpUnknownError
NewOpUnknownError returns a new ErrAstToEval error when an unknown operator was used
pkg/security/secl/compiler/eval/errors.go:75
↓ 16 callersFunctionNewReplaceableSource
NewReplaceableSource returns a new ReplaceableSource
pkg/logs/sources/replaceable_source.go:24
↓ 16 callersFunctionNewResolver
NewResolver returns a new process resolver
pkg/security/resolvers/process/resolver_linux.go:1305
↓ 16 callersFunctionNewResolverOpts
NewResolverOpts returns a new set of process resolver options
pkg/security/resolvers/process/resolver_linux.go:1375
↓ 16 callersFunctionNewWeightedQueue
NewWeightedQueue returns a new WeightedQueue with the given maximum size & weight
pkg/process/util/api/weighted_queue.go:52
↓ 16 callersMethodNext
()
pkg/security/secl/compiler/eval/iterator.go:14
↓ 16 callersFunctionOpenSCManager
OpenSCManager connects to SCM https://learn.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-openscmanagerw
pkg/util/winutil/service.go:39
↓ 16 callersFunctionRegisterMetadataAvail
RegisterMetadataAvail adds a MetadataAvailDiagnose
pkg/diagnose/diagnosis/loader.go:27
↓ 16 callersMethodRender
()
pkg/logs/message/message.go:237
↓ 16 callersMethodSend
(ctx context.Context, s serializer.MetricSerializer)
pkg/metadata/types.go:19
↓ 16 callersMethodSetEnvKeyTransformer
(key string, fn func(string) interface{})
pkg/config/model/types.go:109
↓ 16 callersMethodSetMessage
SetMessage sets a message with a unique key
pkg/logs/internal/status/info.go:84
↓ 16 callersFunctionSetMeta
SetMeta sets the metadata at key to the val on the span s.
pkg/trace/traceutil/span.go:76
↓ 16 callersMethodSuccess
()
pkg/serverless/flush/strategy.go:26
↓ 16 callersMethodValid
Valid is a validation check required for InputSpec to be executed.
pkg/compliance/data.go:395
↓ 16 callersFunctionWithOrgIDCheck
(orgID int64)
pkg/config/remote/uptane/client.go:51
↓ 16 callersMethod_get_random_version
(self)
tasks/unit-tests/version_tests.py:11
↓ 16 callersMethodadd
(flowToAdd *common.Flow)
comp/netflow/flowaggregator/flowaccumulator.go:104
↓ 16 callersMethodadd
(addr util.Address, ttl time.Duration)
pkg/network/dns/cache.go:244
↓ 16 callersFunctionaddRuleExpr
(t *testing.T, rs *RuleSet, exprs ...string)
pkg/security/secl/rules/ruleset_test.go:78
↓ 16 callersFunctionassertHashesEqual
(t *testing.T, expectedHashes data.Hashes, hashes map[string][]byte)
pkg/remoteconfig/state/testingutils_test.go:132
↓ 16 callersMethodcancel
(self)
rtloader/test/python/fake_check/__init__.py:7
↓ 16 callersMethodcheck_policy_found
(self, test_case, policies, policy_source, policy_name)
test/e2e/cws-tests/tests/lib/cws/app.py:216
↓ 16 callersFunctionfakePodWithContainer
(name string, containers ...corev1.Container)
pkg/clusteragent/admission/mutate/test_utils.go:52
↓ 16 callersMethodflush
(timestamp float64)
pkg/metrics/histogram.go:118
↓ 16 callersFunctiongetEmptyDDSketch
()
cmd/trace-agent/test/testsuite/testdata/clientstats.go:17
↓ 16 callersFunctiongetRunnerExpvarMap
(t require.TestingT)
pkg/collector/runner/expvars/expvars_test.go:30
↓ 16 callersFunctionle
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 16 callersFunctionmakeEventsSlice
(name string, attrs map[string]string, timestamp int, dropped uint32)
pkg/trace/api/otlp_test.go:1721
↓ 16 callersFunctionmakeProcessWithCreateTime
(pid int32, cmdline string, createTime int64)
pkg/process/checks/process_common_test.go:52
↓ 16 callersFunctionmethodOp
(f)
cmd/agent/gui/views/private/js/codemirror.js:3851
↓ 16 callersFunctionparseAndEnrichServiceCheckMessage
(t *testing.T, message []byte, conf enrichConfig)
comp/dogstatsd/server/enrich_test.go:62
↓ 16 callersMethodprocessMessage
processMessage performs logic about metrics and tags on the message
pkg/serverless/logs/logs_collector.go:220
↓ 16 callersFunctionsetSelection
(doc, sel, options)
cmd/agent/gui/views/private/js/codemirror.js:5006
↓ 16 callersMethodsockRanges
the following range functions use the index of the current `GuessWhat` value, to select only the ranges of fields guessed beforehand, offset against t
pkg/network/tracer/offsetguess/overlaps.go:44
↓ 16 callersFunctionwriteHTTPResponse
(w http.ResponseWriter, response httpResponse)
test/fakeintake/server/http.go:20
↓ 15 callersMethodAddHigh
AddHigh adds a new high cardinality tag to the map, or replace if already exists. It will skip empty values/names, so it's safe to use without verifyi
pkg/tagger/utils/taglist.go:53
↓ 15 callersMethodAggregateSample
Samples API -- AggregateSample sends a MetricSample to the DogStatsD time sampler. In sharded implementation, the metric is sent to the first time sam
pkg/aggregator/demultiplexer.go:41
↓ 15 callersMethodAsJSON
()
pkg/gohai/utils/common.go:69
↓ 15 callersMethodClose
Close closes the cache.
pkg/util/trivy/cache.go:91
↓ 15 callersMethodConnect
()
pkg/collector/corechecks/snmp/internal/session/session.go:31
↓ 15 callersFunctionCreateSources
CreateSources creates sources
pkg/logs/internal/util/test_utils.go:21
↓ 15 callersMethodDeviceIoControl
(ioControlCode uint32, inBuffer *byte, inBufferSize uint32, outBuffer *byte, outBufferSize uint32, bytesReturn
pkg/network/driver/handle.go:155
↓ 15 callersMethodEnter
Enter schedules a `Check`s for execution accordingly to the `Check.Interval()` value. If the interval is 0, the check is supposed to run only once.
pkg/collector/scheduler/scheduler.go:82
↓ 15 callersMethodExpire
Expire returns a list of entities (containers and pods) that are not listed in the podlist anymore. It must be called immediately after a PullChanges.
pkg/util/kubernetes/kubelet/podwatcher.go:156
↓ 15 callersMethodFileExists
(path string)
test/new-e2e/tests/agent-platform/common/test_client.go:36
↓ 15 callersFunctionGauge
Gauge calls Gauge on the global Client, if set.
pkg/trace/metrics/client.go:28
↓ 15 callersFunctionGetIPCAddress
GetIPCAddress returns the IPC address or an error if the address is not local
pkg/config/config.go:1870
↓ 15 callersFunctionGetResourcesNamespace
GetResourcesNamespace is used to fetch the namespace of the resources used by the Kubernetes check (e.g. Leader Election, Event collection).
pkg/util/kubernetes/apiserver/common/common.go:31
↓ 15 callersFunctionGetStackManager
GetStackManager returns a stack manager, initialising on first call
test/new-e2e/pkg/utils/infra/stack_manager.go:83
↓ 15 callersMethodGetTags
()
pkg/security/events/event.go:43
↓ 15 callersMethodIsEmpty
IsEmpty returns true if the buffer is empty.
pkg/logs/sender/message_buffer.go:57
↓ 15 callersFunctionLogOnPanic
LogOnPanic catches panics and logs them on the fly. It also flushes the log file, ensuring the message appears. Then it propagates the panic so that t
pkg/trace/watchdog/logonpanic.go:30
↓ 15 callersMethodMoveNext
()
pkg/serializer/marshaler/marshaler.go:59
↓ 15 callersFunctionNewDefaultDataScrubber
NewDefaultDataScrubber creates a DataScrubber with the default behavior: enabled and matching the default sensitive words
pkg/process/procutil/data_scrubber.go:48
↓ 15 callersFunctionNewDefaultEvent
NewDefaultEvent returns a new event using the default field handlers
pkg/security/secl/model/model.go:222
↓ 15 callersFunctionNewParams
NewParams creates a new instance of Params
comp/core/sysprobeconfig/sysprobeconfigimpl/params.go:16
↓ 15 callersFunctionNewRunningChecksTracker
NewRunningChecksTracker is a contructor for a RunningChecksTracker
pkg/collector/runner/tracker/tracker.go:30
↓ 15 callersFunctionO
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
← previousnext →901–1,000 of 32,574, ranked by callers