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
↓ 6 callers
Function
NewActivityTree
NewActivityTree returns a new ActivityTree instance
pkg/security/security_profile/activity_tree/activity_tree.go:131
↓ 6 callers
Function
NewAgentParamsWithoutSecrets
NewAgentParamsWithoutSecrets creates a new instance of Params without using secrets for the Agent.
comp/core/config/params.go:62
↓ 6 callers
Function
NewArrayTypeError
NewArrayTypeError returns a new ErrAstToEval error when an invalid type was used
pkg/security/secl/compiler/eval/errors.go:65
↓ 6 callers
Function
NewBatchStrategy
NewBatchStrategy returns a new batch concurrent strategy with the specified batch & content size limits
pkg/logs/sender/batch_strategy.go:38
↓ 6 callers
Function
NewBoltDB
NewBoltDB creates a new BoltDB instance.
pkg/util/trivy/db.go:53
↓ 6 callers
Function
NewBufferedChan
NewBufferedChan creates a new instance of `BufferedChan`. `ctx` can be used to cancel all Put and Get operations.
pkg/util/buf/buffered_chan.go:33
↓ 6 callers
Function
NewCheckError
NewCheckError returns a CheckEvent with error status and associated error reason.
pkg/compliance/data.go:116
↓ 6 callers
Function
NewClientStatsAggregator
NewClientStatsAggregator initializes a new aggregator ready to be started
pkg/trace/stats/client_stats_aggregator.go:54
↓ 6 callers
Function
NewCompressor
NewCompressor returns a new instance of a Compressor
pkg/serializer/internal/stream/compressor.go:79
↓ 6 callers
Function
NewConntrack
NewConntrack creates an implementation of the Conntrack interface. `netNS` is the network namespace for the conntrack operations. A value of `0` will
pkg/network/netlink/conntrack.go:38
↓ 6 callers
Function
NewCountInfo
NewCountInfo creates a new CountInfo instance
pkg/logs/internal/status/info.go:41
↓ 6 callers
Function
NewDecoder
NewDecoder returns a new netlink message Decoder
pkg/network/netlink/decoding.go:72
↓ 6 callers
Function
NewDecoderWithFraming
NewDecoderWithFraming initialize a decoder with given endline strategy.
pkg/logs/internal/decoder/decoder.go:100
↓ 6 callers
Function
NewDestinationSender
NewDestinationSender creates a new DestinationSender
pkg/logs/sender/destination_sender.go:29
↓ 6 callers
Function
NewEC2Metadata
NewEC2Metadata creates a new [EC2Metadata] given an EC2 [VM]
test/new-e2e/pkg/utils/e2e/client/ec2_metadata.go:21
↓ 6 callers
Function
NewExpBackoffPolicy
NewExpBackoffPolicy constructs new Backoff object with given parameters
pkg/util/backoff/backoff.go:59
↓ 6 callers
Function
NewFile
NewFile returns a new File
pkg/logs/tailers/file/file.go:28
↓ 6 callers
Function
NewJSONPayloadBuilder
NewJSONPayloadBuilder returns a new JSONPayloadBuilder
pkg/serializer/internal/stream/json_payload_builder.go:73
↓ 6 callers
Function
NewLogLimit
NewLogLimit creates a LogLimit where shouldLog will return true the first N times it is called, and will return true once every interval thereafter.
pkg/process/util/log_limit.go:30
↓ 6 callers
Function
NewLogsConfigKeys
NewLogsConfigKeys returns a new logs configuration keys set
comp/logs/agent/config/config_keys.go:35
↓ 6 callers
Function
NewMacro
NewMacro parses an expression and returns a new macro
pkg/security/secl/compiler/eval/macro.go:35
↓ 6 callers
Function
NewMetricGroup
NewMetricGroup returns a new `MetricGroup`
pkg/network/protocols/telemetry/metric_group.go:33
↓ 6 callers
Function
NewMockRemoteClient
NewMockRemoteClient creates a new mock instance.
pkg/trace/remoteconfighandler/mock_remote_client.go:25
↓ 6 callers
Function
NewMockerrorsSampler
NewMockerrorsSampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:59
↓ 6 callers
Function
NewMockprioritySampler
NewMockprioritySampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:24
↓ 6 callers
Function
NewMockrareSampler
NewMockrareSampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:94
↓ 6 callers
Function
NewNamespacedOwnerReference
NewNamespacedOwnerReference returns a new namespaced owner reference
pkg/clusteragent/languagedetection/owners.go:39
↓ 6 callers
Function
NewNoPrioritySampler
NewNoPrioritySampler returns an initialized Sampler dedicated to traces with no priority set.
pkg/trace/sampler/scoresampler.go:43
↓ 6 callers
Function
NewParams
NewParams creates a new instance of Params
comp/core/config/params.go:46
↓ 6 callers
Function
NewPeriodically
NewPeriodically returns an initialized Periodically flush strategy.
pkg/serverless/flush/strategy.go:112
↓ 6 callers
Function
NewPermission
NewPermission creates a new instance of `Permission`
pkg/util/filesystem/permission_windows.go:25
↓ 6 callers
Function
NewPodUtils
NewPodUtils creates a new instance of PodUtils
pkg/collector/corechecks/containers/kubelet/common/pod.go:42
↓ 6 callers
Function
NewPrioritySampler
NewPrioritySampler returns an initialized Sampler
pkg/trace/sampler/prioritysampler.go:51
↓ 6 callers
Function
NewRuleEvaluator
NewRuleEvaluator returns a new evaluator for a rule
pkg/security/secl/compiler/eval/rule.go:176
↓ 6 callers
Function
NewScheduler
NewScheduler builds and returns a new Metadata Scheduler
pkg/metadata/scheduler.go:42
↓ 6 callers
Function
NewSingleLineHandler
NewSingleLineHandler returns a new SingleLineHandler.
pkg/logs/internal/decoder/single_line_handler.go:24
↓ 6 callers
Function
NewStorageRequest
NewStorageRequest returns a new StorageRequest instance
pkg/security/config/dump.go:30
↓ 6 callers
Function
NewSubmitter
(config config.Component, log log.Component, forwarders forwarders.Component, hostname string)
pkg/process/runner/submitter.go:85
↓ 6 callers
Function
NewTagger
NewTagger returns an allocated tagger. You still have to run Init() once the config package is ready.
pkg/tagger/remote/tagger.go:101
↓ 6 callers
Function
NewTailer
NewTailer returns a new tailer.
pkg/logs/tailers/windowsevent/tailer.go:120
↓ 6 callers
Function
NewUDPListener
NewUDPListener returns an initialized UDPListener
pkg/logs/launchers/listener/udp.go:39
↓ 6 callers
Function
NormalizeHost
NormalizeHost applies a liberal policy on host names.
pkg/util/hostname/validate/normalize.go:25
↓ 6 callers
Function
OpenFromAnotherProcess
OpenFromAnotherProcess launches an external file that holds active handler to the given paths.
pkg/network/usm/sharedlibraries/testutil/testutil.go:29
↓ 6 callers
Function
OpenShared
OpenShared reimplements the os.Open function for Windows because the default implementation opens files without the FILE_SHARE_DELETE flag. cf: https:
pkg/util/filesystem/open_nix.go:20
↓ 6 callers
Function
ParseCgroupFileValue
ParseCgroupFileValue parses the content of a cgroup file into an int
pkg/security/utils/sys.go:37
↓ 6 callers
Function
ParseDeploymentForReplicaSet
ParseDeploymentForReplicaSet gets the deployment name from a replicaset, or returns an empty string if no parent deployment is found.
pkg/util/kubernetes/helpers.go:24
↓ 6 callers
Function
ParseJSONValue
ParseJSONValue returns a slice of slice of ConfigData parsed from the JSON contained in the `value` parameter
pkg/autodiscovery/common/utils/annotations.go:115
↓ 6 callers
Function
Path
Path returns a suitable location for the pidfile under Linux
pkg/pidfile/pidfile_nix.go:23
↓ 6 callers
Function
PdhCollectQueryData
PdhCollectQueryData Windows API https://learn.microsoft.com/en-us/windows/win32/api/pdh/nf-pdh-pdhcollectquerydata
pkg/util/winutil/pdhutil/pdhcounter.go:363
↓ 6 callers
Method
Persist
Persist saves the provided buffer to the persistent storage
pkg/security/security_profile/dump/storage_manager.go:28
↓ 6 callers
Method
PostClusterCheckStatus
(ctx context.Context, nodeName string, status types.NodeStatus)
pkg/util/clusteragent/clusteragent.go:63
↓ 6 callers
Function
ProtoDecodeTimestamp
ProtoDecodeTimestamp decodes a nanosecond representation of a timestamp
pkg/security/security_profile/activity_tree/activity_tree_proto_dec_v1.go:293
↓ 6 callers
Function
QueriesByCardinality
QueriesByCardinality returns a set of counters for a given cardinality level.
pkg/tagger/telemetry/telemetry.go:102
↓ 6 callers
Method
ReadAt
(p []byte, off int64)
cmd/agentless-scanner/ebsblockdevice.go:282
↓ 6 callers
Function
ReadProcessMemory
ReadProcessMemory wraps the Windows kernel.dll function of the same name https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-rea
pkg/util/winutil/process.go:90
↓ 6 callers
Method
Reader
()
pkg/ebpf/bytecode/runtime/protected_file.go:23
↓ 6 callers
Function
Refresh
Refresh signals that some data has been updated and a new payload should be sent (ex: when configuration is changed by the user, new checks starts, et
pkg/metadata/inventories/inventories.go:76
↓ 6 callers
Method
RegisterAlternateDestination
RegisterAlternateDestination adds an alternate destination to a MultiDomainResolver. The resolver will match transaction.Endpoint.Name against forward
pkg/config/resolver/domain_resolver.go:143
↓ 6 callers
Function
RegisterCollector
RegisterCollector adds a Metadata Collector to the catalog
pkg/metadata/scheduler.go:144
↓ 6 callers
Function
RegisterCollector
RegisterCollector registers a collector
pkg/util/containers/metrics/provider/registry.go:154
↓ 6 callers
Method
RegisterCollector
RegisterCollector Registers a Collector with the prometheus registry
comp/core/telemetry/component.go:30
↓ 6 callers
Function
RegisterLoader
RegisterLoader adds a loader to the loaderCatalog
pkg/collector/loaders/loaders.go:27
↓ 6 callers
Method
RemoveInput
RemoveInput removes an input from this source.
pkg/logs/sources/source.go:81
↓ 6 callers
Method
Request
Request generates an ioctl syscall with the required request
pkg/security/probe/erpc/erpc.go:71
↓ 6 callers
Function
ResetReader
ResetReader is only for unit tests
pkg/autodiscovery/providers/config_reader.go:448
↓ 6 callers
Method
ResolveMountPath
ResolveMountPath returns the path of a mount identified by its mount ID.
pkg/security/resolvers/mount/resolver.go:410
↓ 6 callers
Method
ResolveSetgidEGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:979
↓ 6 callers
Method
ResolveSetgidFSGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:980
↓ 6 callers
Method
ResolveSetgidGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:981
↓ 6 callers
Method
ResolveSetuidEUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:982
↓ 6 callers
Method
ResolveSetuidFSUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:983
↓ 6 callers
Method
ResolveSetuidUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:984
↓ 6 callers
Function
Run
Run runs diagnoses.
pkg/diagnose/runner.go:333
↓ 6 callers
Method
Run
()
pkg/serverless/trace/cold_start_span_creator.go:50
↓ 6 callers
Method
Run
Run waits for checks and run them as long as they arrive on the channel
pkg/collector/worker/worker.go:122
↓ 6 callers
Method
Run
Run starts the TraceWriter.
pkg/trace/writer/trace.go:140
↓ 6 callers
Method
ScalarFieldHasValue
ScalarFieldHasValue test if scalar field has value
pkg/collector/corechecks/snmp/internal/metadata/store.go:116
↓ 6 callers
Method
ScrubSimpleCommand
ScrubSimpleCommand hides the argument value for any key which matches a "sensitive word" pattern. It returns the updated cmdline, as well as a boolean
pkg/orchestrator/redact/data_scrubber.go:91
↓ 6 callers
Method
Send
Send sends a payload and blocks if the input is full. It will not block if the destination is retrying payloads and will cancel the blocking attempt i
pkg/logs/sender/destination_sender.go:74
↓ 6 callers
Function
SendDNSQueries
SendDNSQueries is a simple helper that calls SendDNSQueriesOnPort with port 53
pkg/network/tracer/testutil/testdns/test_dns_server.go:178
↓ 6 callers
Method
SendEvent
(rule *rules.Rule, event Event, extTagsCb func() []string, service string)
pkg/security/events/event.go:49
↓ 6 callers
Method
SendStartupSuccess
()
pkg/trace/telemetry/collector.go:78
↓ 6 callers
Function
Serialize
Serialize starts the serialization for series and sketches. `producer` callback is responsible for adding the data. It runs in the current goroutine.
pkg/metrics/iterable_metrics.go:114
↓ 6 callers
Method
SetCheckCustomTags
(tags []string)
pkg/aggregator/sender/sender.go:35
↓ 6 callers
Method
SetEvent
SetEvent set the given event to the context
pkg/security/secl/compiler/eval/context.go:37
↓ 6 callers
Function
SetMetric
SetMetric sets the metric at key to the val on the span s.
pkg/trace/traceutil/span.go:68
↓ 6 callers
Method
SetObj
SetObj adds an ObjectIdentifier PDU with the given OID and value
pkg/collector/corechecks/snmp/internal/session/fake_session.go:233
↓ 6 callers
Method
SetOffset
SetOffset sets the offset.
pkg/logs/auditor/mock/mock.go:25
↓ 6 callers
Method
SetService
SetService sets the service of the origin.
pkg/logs/message/origin.go:108
↓ 6 callers
Function
SetupCoreDump
SetupCoreDump enables core dumps and sets the core dump size limit based on configuration
pkg/util/core.go:20
↓ 6 callers
Method
ShouldFlush
ShouldFlush returns true if this strategy want to flush at the given moment.
pkg/serverless/flush/strategy.go:121
↓ 6 callers
Method
ShouldThrottle
ShouldThrottle returns a boolean indicating if the throttle consider the execution should be throttled. Not thread-safe.
pkg/aggregator/internal/util/simple_throttler.go:51
↓ 6 callers
Method
Shrink
Shrink will try to release memory if cache usage drops low enough. Store is generally not thread-safe, except Release may be called concurrently with
pkg/aggregator/internal/tags/store.go:107
↓ 6 callers
Method
Start
Start starts the tailer. If this returns an error, the tailer is not started.
pkg/logs/launchers/container/tailerfactory/types.go:12
↓ 6 callers
Method
Start
Start opens a new UDP connection and starts a tailer.
pkg/logs/launchers/listener/udp.go:48
↓ 6 callers
Method
Start
()
pkg/network/usm/monitor_windows.go:22
↓ 6 callers
Method
Start
Start the event subscription
pkg/util/winutil/eventlog/subscription/subscription.go:31
↓ 6 callers
Method
StartArrayField
StartArrayField starts a new field of type array
pkg/util/json/raw_object_writer.go:68
↓ 6 callers
Function
StartService
StartService starts serviceName via SCM. Does not block until service is started https://learn.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc
pkg/util/winutil/service.go:62
↓ 6 callers
Method
StartTLS
()
pkg/util/clusteragent/clusteragent_test.go:260
← previous
next →
2,601–2,700 of 32,574, ranked by callers