MCPcopy Create free account

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

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

↓ 3 callersFunctionSetClientRate
SetClientRate sets the rate at which the trace this span belongs to was sampled by the tracer.
pkg/trace/sampler/sampler.go:101
↓ 3 callersFunctionSetDefault
set default values used by the agent
pkg/snmp/snmpparse/config_snmp.go:49
↓ 3 callersMethodSetError
()
pkg/trace/api/listener_test.go:44
↓ 3 callersMethodSetExtraTags
SetExtraTags sets extra tags. All metrics sent to the DogstatsD will be tagged with them.
comp/dogstatsd/server/component.go:38
↓ 3 callersMethodSetField
SetField allows to set an arbitrary field to a given value, overriding the existing value if present
pkg/autodiscovery/integration/config.go:342
↓ 3 callersMethodSetInitializationTime
SetInitTime sets the agent initialization time
pkg/serverless/executioncontext/executioncontext.go:133
↓ 3 callersMethodSetNoIndex
(noIndex bool)
pkg/aggregator/sender/sender.go:37
↓ 3 callersMethodSetPathResolutionError
SetPathResolutionError sets the Event.pathResolutionError
pkg/security/secl/model/model_unix.go:202
↓ 3 callersMethodSetSuccess
()
pkg/trace/api/listener_test.go:38
↓ 3 callersMethodSetTimeout
SetTimeout updates the activity dump timeout
pkg/security/security_profile/dump/activity_dump.go:300
↓ 3 callersMethodSetTimeoutError
()
pkg/trace/api/listener_test.go:50
↓ 3 callersMethodSetupNewTCClassifierWithNetNSHandle
SetupNewTCClassifierWithNetNSHandle creates and attaches TC probes on the provided device. WARNING: this function will not close the provided netns ha
pkg/security/resolvers/tc/resolver.go:85
↓ 3 callersMethodShallowCopy
ShallowCopy returns a shallow copy of the copy-able portion of a Span. These are the public fields which will have a Get* method for them. The complet
pkg/proto/pbgo/trace/span_utils.go:32
↓ 3 callersMethodShouldAddCheckStats
ShouldAddCheckStats returns true if check stats should be preserved or not
pkg/collector/runner/runner.go:245
↓ 3 callersMethodShouldFlush
ShouldFlush indicated whether or a flush is needed
pkg/serverless/daemon/daemon.go:176
↓ 3 callersMethodShouldProcessRawMessage
ShouldProcessRawMessage returns if the raw message should be processed instead of only the message content. This is tightly linked to how messages are
comp/logs/agent/config/integration_config.go:261
↓ 3 callersMethodShutdown
()
pkg/network/tracer/tracer_test.go:906
↓ 3 callersFunctionSingleSpanSampling
SingleSpanSampling does single span sampling on the trace, returning true if the trace was modified
pkg/trace/sampler/sampler.go:208
↓ 3 callersMethodSize
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:604
↓ 3 callersMethodSize
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:622
↓ 3 callersMethodSize
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:642
↓ 3 callersMethodSize
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:694
↓ 3 callersMethodSizeVT
()
pkg/proto/pbgo/trace/tracer_payload_vtproto.pb.go:226
↓ 3 callersMethodStart
()
comp/logs/agent/component.go:37
↓ 3 callersMethodStart
Start starts the OTLP agent listening for traces and metrics
pkg/serverless/otlp/otlp.go:42
↓ 3 callersMethodStart
Start starts the agent
pkg/serverless/trace/trace.go:82
↓ 3 callersMethodStart
()
pkg/trace/event/processor.go:108
↓ 3 callersMethodStart
Start the remote configuration management service
pkg/config/remote/service/service.go:273
↓ 3 callersMethodStart
Start runs a docker-compose configuration All environment variables are propagated to the compose as $variable $network_mode is automatically set if e
test/integration/utils/compose.go:34
↓ 3 callersFunctionStartFlowRoutine
StartFlowRoutine starts one of the goflow flow routine depending on the flow type
comp/netflow/goflowlib/flowstate.go:46
↓ 3 callersMethodStartListener
StartListener starts the ADListener, subscribing to the feed of integration.Configs and additionally gathering any currently-scheduled configs.
pkg/logs/internal/util/adlistener/ad.go:47
↓ 3 callersMethodStartLogCollection
StartLogCollection begins processing the logs we have already received from the Lambda Logs API. This should be called after an ARN and RequestId is a
pkg/serverless/daemon/daemon.go:422
↓ 3 callersFunctionStatsPayloadSample
StatsPayloadSample returns a populated client stats payload
pkg/trace/testutil/stats.go:56
↓ 3 callersMethodStatsWithPermByPID
(pids []int32)
pkg/process/procutil/probe.go:17
↓ 3 callersFunctionStatusToSeverity
StatusToSeverity transforms a severity into a status.
pkg/logs/message/status.go:45
↓ 3 callersMethodStop
Stop cleans up after a finished Obfuscator.
pkg/obfuscate/obfuscate.go:262
↓ 3 callersMethodStop
()
pkg/network/tracer/testutil/grpc/server.go:244
↓ 3 callersMethodStop
Stop the consumer
pkg/network/netlink/consumer.go:475
↓ 3 callersMethodStop
()
pkg/trace/event/sampler_max_eps.go:119
↓ 3 callersMethodStop
Stop stops and cleans up resources allocated by the GRPCServer
pkg/process/metadata/workloadmeta/grpc.go:113
↓ 3 callersMethodStop
Stop the memory controller
pkg/util/cgroups/memory_controller.go:171
↓ 3 callersMethodStopActivityDump
(ctx context.Context, in *ActivityDumpStopParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:56
↓ 3 callersMethodString
String returns a string representation of the EtcdConfigProvider
pkg/autodiscovery/providers/etcd.go:200
↓ 3 callersMethodString
String returns a string representation of the ZookeeperConfigProvider
pkg/autodiscovery/providers/zookeeper.go:63
↓ 3 callersMethodString
String provides a printable version of the check name
pkg/collector/check/stats/stats.go:112
↓ 3 callersMethodString
()
cmd/trace-agent/test/testsuite/secrets_test.go:101
↓ 3 callersMethodSubmitHostMetadata
SubmitHostMetadata will send a host_metadata tag type payload to Datadog backend.
comp/forwarder/defaultforwarder/default_forwarder.go:529
↓ 3 callersMethodSubmitOrchestratorChecks
(payload transaction.BytesPayloads, extra http.Header, payloadType int)
comp/forwarder/defaultforwarder/default_forwarder.go:77
↓ 3 callersMethodSubmitOrchestratorManifests
(payload transaction.BytesPayloads, extra http.Header)
comp/forwarder/defaultforwarder/default_forwarder.go:78
↓ 3 callersFunctionSubmitServiceCheck
SubmitServiceCheck is the method exposed to Python scripts to submit service checks export SubmitServiceCheck
pkg/collector/python/aggregator.go:72
↓ 3 callersMethodSubmitV1Intake
SubmitV1Intake will send payloads to the universal `/intake/` endpoint used by Agent v.5
comp/forwarder/defaultforwarder/default_forwarder.go:575
↓ 3 callersMethodSubmitV1Intake
SubmitV1Intake will send payloads to the universal `/intake/` endpoint used by Agent v.5
comp/forwarder/defaultforwarder/sync_forwarder.go:82
↓ 3 callersMethodSubmitV1Series
SubmitV1Series will send timeserie to v1 endpoint (this will be remove once the backend handles v2 endpoints).
comp/forwarder/defaultforwarder/default_forwarder.go:556
↓ 3 callersMethodSubscribeExec
SubscribeExec register an exec callback and returns unsubscribe function callback that removes the callback. A callback can be registered only once,
pkg/process/monitor/process_monitor.go:331
↓ 3 callersMethodSubscribeExit
SubscribeExit register an exit callback and returns unsubscribe function callback that removes the callback.
pkg/process/monitor/process_monitor.go:347
↓ 3 callersMethodSupportBPFSendSignal
SupportBPFSendSignal returns true if the eBPF function bpf_send_signal is available
pkg/security/ebpf/kernel/kernel.go:345
↓ 3 callersMethodSwapStats
()
pkg/security/events/rate_limiter.go:47
↓ 3 callersMethodSyncCache
SyncCache - Snapshots the current mount points of the system by reading through /proc/[pid]/mountinfo.
pkg/security/resolvers/mount/resolver.go:99
↓ 3 callersFunctionSyncInformers
SyncInformers should be called after the instantiation of new informers. It's blocking until the informers are synced or the timeout exceeded. An extr
pkg/util/kubernetes/apiserver/util.go:29
↓ 3 callersFunctionTags
Tags bridges towards tagger.Tag to retrieve container tags export Tags
pkg/collector/python/tagger.go:35
↓ 3 callersMethodTakenSize
TakenSize returns the size allocated to the current chunk
pkg/process/util/chunking.go:46
↓ 3 callersMethodTakenWeight
TakenWeight returns the weight allocated to the current chunk
pkg/process/util/chunking.go:54
↓ 3 callersMethodTask
Task is from the containerd.Container interface
pkg/util/containerd/containerd_util_test.go:39
↓ 3 callersMethodTaskPids
(namespace string, ctn containerd.Container)
pkg/util/containerd/containerd_util.go:67
↓ 3 callersFunctionTcpGetInfo
TcpGetInfo obtains information from a TCP socket via GETSOCKOPT(2) system call. The motivation for using this is twofold: 1) it is a way of triggering
pkg/network/tracer/offsetguess/tracer.go:1030
↓ 3 callersMethodTelemetryTags
TelemetryTags return tags used for telemetry.
pkg/orchestrator/model/types.go:200
↓ 3 callersMethodTiming
(name string, value time.Duration, tags []string, rate float64)
pkg/trace/metrics/client.go:19
↓ 3 callersMethodToCycloneDX
()
pkg/sbom/sbom.go:24
↓ 3 callersMethodToEnvs
ToEnvs converts the config fields into environment variables
pkg/clusteragent/admission/common/lib_config.go:59
↓ 3 callersFunctionToProto
ToProto encodes an activity tree to its protobuf representation
pkg/security/security_profile/activity_tree/activity_tree_proto_enc_v1.go:21
↓ 3 callersMethodToSecurityActivityDumpMessage
ToSecurityActivityDumpMessage returns a pointer to a SecurityActivityDumpMessage
pkg/security/security_profile/dump/activity_dump.go:621
↓ 3 callersMethodToStorageRequestMessage
ToStorageRequestMessage returns an api.StorageRequestMessage from the StorageRequest
pkg/security/config/dump.go:73
↓ 3 callersMethodToStringMatcher
ToStringMatcher returns a StringMatcher of the evaluator
pkg/security/secl/compiler/eval/evaluators.go:132
↓ 3 callersFunctionTracec
Tracec logs at the trace level with context
pkg/util/log/log.go:567
↓ 3 callersFunctionTracefStackDepth
TracefStackDepth logs with format at the trace level and the current stack depth plus the given depth
pkg/util/log/log.go:550
↓ 3 callersMethodTriggerFlush
TriggerFlush triggers a flush of the aggregated metrics, traces and logs. If the flush times out, the daemon will stop waiting for the flush to comple
pkg/serverless/daemon/daemon.go:235
↓ 3 callersMethodUnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
pkg/security/rules/policy_monitor_easyjson.go:248
↓ 3 callersMethodUnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
pkg/proto/msgpgo/key_gen.go:109
↓ 3 callersMethodUnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
pkg/proto/pbgo/trace/tracer_payload_gen.go:47
↓ 3 callersMethodUnsafeToReadOnlySliceString
UnsafeToReadOnlySliceString creates a new slice containing all tags. The caller of this method must ensure that the slice is never mutated. Should be
pkg/tagset/composite_tags.go:139
↓ 3 callersFunctionUnstructuredFromDDM
UnstructuredFromDDM converts a DatadogMetric object into an Unstructured
pkg/clusteragent/externalmetrics/utils.go:114
↓ 3 callersMethodUpdateNumWorkers
UpdateNumWorkers checks if the current number of workers is reasonable, and adds more if needed
pkg/collector/runner/runner.go:148
↓ 3 callersMethodUpdateOutOfMemoryRequestID
UpdateOutOfMemoryRequestID updates the execution context with the request ID if an out of memory is detected either in the function or platform.report
pkg/serverless/executioncontext/executioncontext.go:156
↓ 3 callersFunctionUpdateReceiverStats
UpdateReceiverStats updates internal stats about the receiver.
pkg/trace/info/info.go:106
↓ 3 callersMethodUseNewStoreAsCurrentStore
UseNewStoreAsCurrentStore sets newStore to curStore and clean up newStore
comp/netflow/portrollup/portrollup.go:192
↓ 3 callersFunctionValidate
Validate validates an http request
pkg/api/util/util.go:76
↓ 3 callersMethodValidate
Validate returns an error if the config is misconfigured
comp/logs/agent/config/integration_config.go:205
↓ 3 callersMethodValues
Values returns a slice with all values in the map.
pkg/util/bimap.go:119
↓ 3 callersFunctionVerifyKernelFuncs
VerifyKernelFuncs ensures all kernel functions exist in ksyms located at provided path.
pkg/ebpf/ksyms.go:35
↓ 3 callersMethodWaitAgentLogs
WaitAgentLogs waits for the agent log corresponding to the pattern agent-name can be: datadog-agent, system-probe, security-agent pattern: is the log
test/new-e2e/pkg/utils/e2e/client/agent.go:64
↓ 3 callersMethodWaitForDaemon
WaitForDaemon waits until the daemon has finished handling the current invocation
pkg/serverless/daemon/daemon.go:390
↓ 3 callersFunctionWaitForFlowsToBeFlushed
WaitForFlowsToBeFlushed waits up to timeoutDuration for at least minEvents flows to be flushed by the aggregator. It is intended for testing.
comp/netflow/flowaggregator/testutil.go:15
↓ 3 callersMethodWaitForValue
WaitForValue waits until a value is available for Get or until Close is called or when the context is Done Returns true if a value is available, false
pkg/util/buf/buffered_chan.go:88
↓ 3 callersFunctionWarn
Warn formats message using the default formats for its operands and writes to log with level = Warn
pkg/trace/log/logger.go:100
↓ 3 callersFunctionWarnfStackDepth
WarnfStackDepth logs with format at the warn level and the current stack depth plus the given depth
pkg/util/log/log.go:670
↓ 3 callersMethodWeight
Weight returns the current weight of the queue
pkg/process/util/api/weighted_queue.go:73
↓ 3 callersMethodWithCheck
WithCheck takes in a function to execute in the context of a locked state of the checks tracker on a single check
pkg/collector/runner/tracker/tracker.go:89
↓ 3 callersMethodWithKubeClient
(cl dynamic.Interface)
pkg/compliance/tests/helpers.go:79
↓ 3 callersMethodWithMacroStore
WithMacroStore set the macro store
pkg/security/secl/compiler/eval/opts.go:106
↓ 3 callersFunctionWithMetricValueHigherThan
WithMetricValueLowerThan filters metrics with values higher than `minValue`
test/fakeintake/client/client.go:282
← previousnext →5,101–5,200 of 32,574, ranked by callers