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
↓ 3 callers
Function
SetClientRate
SetClientRate sets the rate at which the trace this span belongs to was sampled by the tracer.
pkg/trace/sampler/sampler.go:101
↓ 3 callers
Function
SetDefault
set default values used by the agent
pkg/snmp/snmpparse/config_snmp.go:49
↓ 3 callers
Method
SetError
()
pkg/trace/api/listener_test.go:44
↓ 3 callers
Method
SetExtraTags
SetExtraTags sets extra tags. All metrics sent to the DogstatsD will be tagged with them.
comp/dogstatsd/server/component.go:38
↓ 3 callers
Method
SetField
SetField allows to set an arbitrary field to a given value, overriding the existing value if present
pkg/autodiscovery/integration/config.go:342
↓ 3 callers
Method
SetInitializationTime
SetInitTime sets the agent initialization time
pkg/serverless/executioncontext/executioncontext.go:133
↓ 3 callers
Method
SetNoIndex
(noIndex bool)
pkg/aggregator/sender/sender.go:37
↓ 3 callers
Method
SetPathResolutionError
SetPathResolutionError sets the Event.pathResolutionError
pkg/security/secl/model/model_unix.go:202
↓ 3 callers
Method
SetSuccess
()
pkg/trace/api/listener_test.go:38
↓ 3 callers
Method
SetTimeout
SetTimeout updates the activity dump timeout
pkg/security/security_profile/dump/activity_dump.go:300
↓ 3 callers
Method
SetTimeoutError
()
pkg/trace/api/listener_test.go:50
↓ 3 callers
Method
SetupNewTCClassifierWithNetNSHandle
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 callers
Method
ShallowCopy
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 callers
Method
ShouldAddCheckStats
ShouldAddCheckStats returns true if check stats should be preserved or not
pkg/collector/runner/runner.go:245
↓ 3 callers
Method
ShouldFlush
ShouldFlush indicated whether or a flush is needed
pkg/serverless/daemon/daemon.go:176
↓ 3 callers
Method
ShouldProcessRawMessage
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 callers
Method
Shutdown
()
pkg/network/tracer/tracer_test.go:906
↓ 3 callers
Function
SingleSpanSampling
SingleSpanSampling does single span sampling on the trace, returning true if the trace was modified
pkg/trace/sampler/sampler.go:208
↓ 3 callers
Method
Size
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:604
↓ 3 callers
Method
Size
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:622
↓ 3 callers
Method
Size
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:642
↓ 3 callers
Method
Size
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:694
↓ 3 callers
Method
SizeVT
()
pkg/proto/pbgo/trace/tracer_payload_vtproto.pb.go:226
↓ 3 callers
Method
Start
()
comp/logs/agent/component.go:37
↓ 3 callers
Method
Start
Start starts the OTLP agent listening for traces and metrics
pkg/serverless/otlp/otlp.go:42
↓ 3 callers
Method
Start
Start starts the agent
pkg/serverless/trace/trace.go:82
↓ 3 callers
Method
Start
()
pkg/trace/event/processor.go:108
↓ 3 callers
Method
Start
Start the remote configuration management service
pkg/config/remote/service/service.go:273
↓ 3 callers
Method
Start
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 callers
Function
StartFlowRoutine
StartFlowRoutine starts one of the goflow flow routine depending on the flow type
comp/netflow/goflowlib/flowstate.go:46
↓ 3 callers
Method
StartListener
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 callers
Method
StartLogCollection
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 callers
Function
StatsPayloadSample
StatsPayloadSample returns a populated client stats payload
pkg/trace/testutil/stats.go:56
↓ 3 callers
Method
StatsWithPermByPID
(pids []int32)
pkg/process/procutil/probe.go:17
↓ 3 callers
Function
StatusToSeverity
StatusToSeverity transforms a severity into a status.
pkg/logs/message/status.go:45
↓ 3 callers
Method
Stop
Stop cleans up after a finished Obfuscator.
pkg/obfuscate/obfuscate.go:262
↓ 3 callers
Method
Stop
()
pkg/network/tracer/testutil/grpc/server.go:244
↓ 3 callers
Method
Stop
Stop the consumer
pkg/network/netlink/consumer.go:475
↓ 3 callers
Method
Stop
()
pkg/trace/event/sampler_max_eps.go:119
↓ 3 callers
Method
Stop
Stop stops and cleans up resources allocated by the GRPCServer
pkg/process/metadata/workloadmeta/grpc.go:113
↓ 3 callers
Method
Stop
Stop the memory controller
pkg/util/cgroups/memory_controller.go:171
↓ 3 callers
Method
StopActivityDump
(ctx context.Context, in *ActivityDumpStopParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:56
↓ 3 callers
Method
String
String returns a string representation of the EtcdConfigProvider
pkg/autodiscovery/providers/etcd.go:200
↓ 3 callers
Method
String
String returns a string representation of the ZookeeperConfigProvider
pkg/autodiscovery/providers/zookeeper.go:63
↓ 3 callers
Method
String
String provides a printable version of the check name
pkg/collector/check/stats/stats.go:112
↓ 3 callers
Method
String
()
cmd/trace-agent/test/testsuite/secrets_test.go:101
↓ 3 callers
Method
SubmitHostMetadata
SubmitHostMetadata will send a host_metadata tag type payload to Datadog backend.
comp/forwarder/defaultforwarder/default_forwarder.go:529
↓ 3 callers
Method
SubmitOrchestratorChecks
(payload transaction.BytesPayloads, extra http.Header, payloadType int)
comp/forwarder/defaultforwarder/default_forwarder.go:77
↓ 3 callers
Method
SubmitOrchestratorManifests
(payload transaction.BytesPayloads, extra http.Header)
comp/forwarder/defaultforwarder/default_forwarder.go:78
↓ 3 callers
Function
SubmitServiceCheck
SubmitServiceCheck is the method exposed to Python scripts to submit service checks export SubmitServiceCheck
pkg/collector/python/aggregator.go:72
↓ 3 callers
Method
SubmitV1Intake
SubmitV1Intake will send payloads to the universal `/intake/` endpoint used by Agent v.5
comp/forwarder/defaultforwarder/default_forwarder.go:575
↓ 3 callers
Method
SubmitV1Intake
SubmitV1Intake will send payloads to the universal `/intake/` endpoint used by Agent v.5
comp/forwarder/defaultforwarder/sync_forwarder.go:82
↓ 3 callers
Method
SubmitV1Series
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 callers
Method
SubscribeExec
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 callers
Method
SubscribeExit
SubscribeExit register an exit callback and returns unsubscribe function callback that removes the callback.
pkg/process/monitor/process_monitor.go:347
↓ 3 callers
Method
SupportBPFSendSignal
SupportBPFSendSignal returns true if the eBPF function bpf_send_signal is available
pkg/security/ebpf/kernel/kernel.go:345
↓ 3 callers
Method
SwapStats
()
pkg/security/events/rate_limiter.go:47
↓ 3 callers
Method
SyncCache
SyncCache - Snapshots the current mount points of the system by reading through /proc/[pid]/mountinfo.
pkg/security/resolvers/mount/resolver.go:99
↓ 3 callers
Function
SyncInformers
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 callers
Function
Tags
Tags bridges towards tagger.Tag to retrieve container tags export Tags
pkg/collector/python/tagger.go:35
↓ 3 callers
Method
TakenSize
TakenSize returns the size allocated to the current chunk
pkg/process/util/chunking.go:46
↓ 3 callers
Method
TakenWeight
TakenWeight returns the weight allocated to the current chunk
pkg/process/util/chunking.go:54
↓ 3 callers
Method
Task
Task is from the containerd.Container interface
pkg/util/containerd/containerd_util_test.go:39
↓ 3 callers
Method
TaskPids
(namespace string, ctn containerd.Container)
pkg/util/containerd/containerd_util.go:67
↓ 3 callers
Function
TcpGetInfo
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 callers
Method
TelemetryTags
TelemetryTags return tags used for telemetry.
pkg/orchestrator/model/types.go:200
↓ 3 callers
Method
Timing
(name string, value time.Duration, tags []string, rate float64)
pkg/trace/metrics/client.go:19
↓ 3 callers
Method
ToCycloneDX
()
pkg/sbom/sbom.go:24
↓ 3 callers
Method
ToEnvs
ToEnvs converts the config fields into environment variables
pkg/clusteragent/admission/common/lib_config.go:59
↓ 3 callers
Function
ToProto
ToProto encodes an activity tree to its protobuf representation
pkg/security/security_profile/activity_tree/activity_tree_proto_enc_v1.go:21
↓ 3 callers
Method
ToSecurityActivityDumpMessage
ToSecurityActivityDumpMessage returns a pointer to a SecurityActivityDumpMessage
pkg/security/security_profile/dump/activity_dump.go:621
↓ 3 callers
Method
ToStorageRequestMessage
ToStorageRequestMessage returns an api.StorageRequestMessage from the StorageRequest
pkg/security/config/dump.go:73
↓ 3 callers
Method
ToStringMatcher
ToStringMatcher returns a StringMatcher of the evaluator
pkg/security/secl/compiler/eval/evaluators.go:132
↓ 3 callers
Function
Tracec
Tracec logs at the trace level with context
pkg/util/log/log.go:567
↓ 3 callers
Function
TracefStackDepth
TracefStackDepth logs with format at the trace level and the current stack depth plus the given depth
pkg/util/log/log.go:550
↓ 3 callers
Method
TriggerFlush
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 callers
Method
UnmarshalEasyJSON
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
pkg/security/rules/policy_monitor_easyjson.go:248
↓ 3 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
pkg/proto/msgpgo/key_gen.go:109
↓ 3 callers
Method
UnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
pkg/proto/pbgo/trace/tracer_payload_gen.go:47
↓ 3 callers
Method
UnsafeToReadOnlySliceString
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 callers
Function
UnstructuredFromDDM
UnstructuredFromDDM converts a DatadogMetric object into an Unstructured
pkg/clusteragent/externalmetrics/utils.go:114
↓ 3 callers
Method
UpdateNumWorkers
UpdateNumWorkers checks if the current number of workers is reasonable, and adds more if needed
pkg/collector/runner/runner.go:148
↓ 3 callers
Method
UpdateOutOfMemoryRequestID
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 callers
Function
UpdateReceiverStats
UpdateReceiverStats updates internal stats about the receiver.
pkg/trace/info/info.go:106
↓ 3 callers
Method
UseNewStoreAsCurrentStore
UseNewStoreAsCurrentStore sets newStore to curStore and clean up newStore
comp/netflow/portrollup/portrollup.go:192
↓ 3 callers
Function
Validate
Validate validates an http request
pkg/api/util/util.go:76
↓ 3 callers
Method
Validate
Validate returns an error if the config is misconfigured
comp/logs/agent/config/integration_config.go:205
↓ 3 callers
Method
Values
Values returns a slice with all values in the map.
pkg/util/bimap.go:119
↓ 3 callers
Function
VerifyKernelFuncs
VerifyKernelFuncs ensures all kernel functions exist in ksyms located at provided path.
pkg/ebpf/ksyms.go:35
↓ 3 callers
Method
WaitAgentLogs
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 callers
Method
WaitForDaemon
WaitForDaemon waits until the daemon has finished handling the current invocation
pkg/serverless/daemon/daemon.go:390
↓ 3 callers
Function
WaitForFlowsToBeFlushed
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 callers
Method
WaitForValue
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 callers
Function
Warn
Warn formats message using the default formats for its operands and writes to log with level = Warn
pkg/trace/log/logger.go:100
↓ 3 callers
Function
WarnfStackDepth
WarnfStackDepth logs with format at the warn level and the current stack depth plus the given depth
pkg/util/log/log.go:670
↓ 3 callers
Method
Weight
Weight returns the current weight of the queue
pkg/process/util/api/weighted_queue.go:73
↓ 3 callers
Method
WithCheck
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 callers
Method
WithKubeClient
(cl dynamic.Interface)
pkg/compliance/tests/helpers.go:79
↓ 3 callers
Method
WithMacroStore
WithMacroStore set the macro store
pkg/security/secl/compiler/eval/opts.go:106
↓ 3 callers
Function
WithMetricValueHigherThan
WithMetricValueLowerThan filters metrics with values higher than `minValue`
test/fakeintake/client/client.go:282
← previous
next →
5,101–5,200 of 32,574, ranked by callers