MCPcopy Create free account

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

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

↓ 6 callersFunctionNewActivityTree
NewActivityTree returns a new ActivityTree instance
pkg/security/security_profile/activity_tree/activity_tree.go:131
↓ 6 callersFunctionNewAgentParamsWithoutSecrets
NewAgentParamsWithoutSecrets creates a new instance of Params without using secrets for the Agent.
comp/core/config/params.go:62
↓ 6 callersFunctionNewArrayTypeError
NewArrayTypeError returns a new ErrAstToEval error when an invalid type was used
pkg/security/secl/compiler/eval/errors.go:65
↓ 6 callersFunctionNewBatchStrategy
NewBatchStrategy returns a new batch concurrent strategy with the specified batch & content size limits
pkg/logs/sender/batch_strategy.go:38
↓ 6 callersFunctionNewBoltDB
NewBoltDB creates a new BoltDB instance.
pkg/util/trivy/db.go:53
↓ 6 callersFunctionNewBufferedChan
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 callersFunctionNewCheckError
NewCheckError returns a CheckEvent with error status and associated error reason.
pkg/compliance/data.go:116
↓ 6 callersFunctionNewClientStatsAggregator
NewClientStatsAggregator initializes a new aggregator ready to be started
pkg/trace/stats/client_stats_aggregator.go:54
↓ 6 callersFunctionNewCompressor
NewCompressor returns a new instance of a Compressor
pkg/serializer/internal/stream/compressor.go:79
↓ 6 callersFunctionNewConntrack
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 callersFunctionNewCountInfo
NewCountInfo creates a new CountInfo instance
pkg/logs/internal/status/info.go:41
↓ 6 callersFunctionNewDecoder
NewDecoder returns a new netlink message Decoder
pkg/network/netlink/decoding.go:72
↓ 6 callersFunctionNewDecoderWithFraming
NewDecoderWithFraming initialize a decoder with given endline strategy.
pkg/logs/internal/decoder/decoder.go:100
↓ 6 callersFunctionNewDestinationSender
NewDestinationSender creates a new DestinationSender
pkg/logs/sender/destination_sender.go:29
↓ 6 callersFunctionNewEC2Metadata
NewEC2Metadata creates a new [EC2Metadata] given an EC2 [VM]
test/new-e2e/pkg/utils/e2e/client/ec2_metadata.go:21
↓ 6 callersFunctionNewExpBackoffPolicy
NewExpBackoffPolicy constructs new Backoff object with given parameters
pkg/util/backoff/backoff.go:59
↓ 6 callersFunctionNewFile
NewFile returns a new File
pkg/logs/tailers/file/file.go:28
↓ 6 callersFunctionNewJSONPayloadBuilder
NewJSONPayloadBuilder returns a new JSONPayloadBuilder
pkg/serializer/internal/stream/json_payload_builder.go:73
↓ 6 callersFunctionNewLogLimit
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 callersFunctionNewLogsConfigKeys
NewLogsConfigKeys returns a new logs configuration keys set
comp/logs/agent/config/config_keys.go:35
↓ 6 callersFunctionNewMacro
NewMacro parses an expression and returns a new macro
pkg/security/secl/compiler/eval/macro.go:35
↓ 6 callersFunctionNewMetricGroup
NewMetricGroup returns a new `MetricGroup`
pkg/network/protocols/telemetry/metric_group.go:33
↓ 6 callersFunctionNewMockRemoteClient
NewMockRemoteClient creates a new mock instance.
pkg/trace/remoteconfighandler/mock_remote_client.go:25
↓ 6 callersFunctionNewMockerrorsSampler
NewMockerrorsSampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:59
↓ 6 callersFunctionNewMockprioritySampler
NewMockprioritySampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:24
↓ 6 callersFunctionNewMockrareSampler
NewMockrareSampler creates a new mock instance.
pkg/trace/remoteconfighandler/mock_samplers.go:94
↓ 6 callersFunctionNewNamespacedOwnerReference
NewNamespacedOwnerReference returns a new namespaced owner reference
pkg/clusteragent/languagedetection/owners.go:39
↓ 6 callersFunctionNewNoPrioritySampler
NewNoPrioritySampler returns an initialized Sampler dedicated to traces with no priority set.
pkg/trace/sampler/scoresampler.go:43
↓ 6 callersFunctionNewParams
NewParams creates a new instance of Params
comp/core/config/params.go:46
↓ 6 callersFunctionNewPeriodically
NewPeriodically returns an initialized Periodically flush strategy.
pkg/serverless/flush/strategy.go:112
↓ 6 callersFunctionNewPermission
NewPermission creates a new instance of `Permission`
pkg/util/filesystem/permission_windows.go:25
↓ 6 callersFunctionNewPodUtils
NewPodUtils creates a new instance of PodUtils
pkg/collector/corechecks/containers/kubelet/common/pod.go:42
↓ 6 callersFunctionNewPrioritySampler
NewPrioritySampler returns an initialized Sampler
pkg/trace/sampler/prioritysampler.go:51
↓ 6 callersFunctionNewRuleEvaluator
NewRuleEvaluator returns a new evaluator for a rule
pkg/security/secl/compiler/eval/rule.go:176
↓ 6 callersFunctionNewScheduler
NewScheduler builds and returns a new Metadata Scheduler
pkg/metadata/scheduler.go:42
↓ 6 callersFunctionNewSingleLineHandler
NewSingleLineHandler returns a new SingleLineHandler.
pkg/logs/internal/decoder/single_line_handler.go:24
↓ 6 callersFunctionNewStorageRequest
NewStorageRequest returns a new StorageRequest instance
pkg/security/config/dump.go:30
↓ 6 callersFunctionNewSubmitter
(config config.Component, log log.Component, forwarders forwarders.Component, hostname string)
pkg/process/runner/submitter.go:85
↓ 6 callersFunctionNewTagger
NewTagger returns an allocated tagger. You still have to run Init() once the config package is ready.
pkg/tagger/remote/tagger.go:101
↓ 6 callersFunctionNewTailer
NewTailer returns a new tailer.
pkg/logs/tailers/windowsevent/tailer.go:120
↓ 6 callersFunctionNewUDPListener
NewUDPListener returns an initialized UDPListener
pkg/logs/launchers/listener/udp.go:39
↓ 6 callersFunctionNormalizeHost
NormalizeHost applies a liberal policy on host names.
pkg/util/hostname/validate/normalize.go:25
↓ 6 callersFunctionOpenFromAnotherProcess
OpenFromAnotherProcess launches an external file that holds active handler to the given paths.
pkg/network/usm/sharedlibraries/testutil/testutil.go:29
↓ 6 callersFunctionOpenShared
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 callersFunctionParseCgroupFileValue
ParseCgroupFileValue parses the content of a cgroup file into an int
pkg/security/utils/sys.go:37
↓ 6 callersFunctionParseDeploymentForReplicaSet
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 callersFunctionParseJSONValue
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 callersFunctionPath
Path returns a suitable location for the pidfile under Linux
pkg/pidfile/pidfile_nix.go:23
↓ 6 callersFunctionPdhCollectQueryData
PdhCollectQueryData Windows API https://learn.microsoft.com/en-us/windows/win32/api/pdh/nf-pdh-pdhcollectquerydata
pkg/util/winutil/pdhutil/pdhcounter.go:363
↓ 6 callersMethodPersist
Persist saves the provided buffer to the persistent storage
pkg/security/security_profile/dump/storage_manager.go:28
↓ 6 callersMethodPostClusterCheckStatus
(ctx context.Context, nodeName string, status types.NodeStatus)
pkg/util/clusteragent/clusteragent.go:63
↓ 6 callersFunctionProtoDecodeTimestamp
ProtoDecodeTimestamp decodes a nanosecond representation of a timestamp
pkg/security/security_profile/activity_tree/activity_tree_proto_dec_v1.go:293
↓ 6 callersFunctionQueriesByCardinality
QueriesByCardinality returns a set of counters for a given cardinality level.
pkg/tagger/telemetry/telemetry.go:102
↓ 6 callersMethodReadAt
(p []byte, off int64)
cmd/agentless-scanner/ebsblockdevice.go:282
↓ 6 callersFunctionReadProcessMemory
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 callersMethodReader
()
pkg/ebpf/bytecode/runtime/protected_file.go:23
↓ 6 callersFunctionRefresh
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 callersMethodRegisterAlternateDestination
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 callersFunctionRegisterCollector
RegisterCollector adds a Metadata Collector to the catalog
pkg/metadata/scheduler.go:144
↓ 6 callersFunctionRegisterCollector
RegisterCollector registers a collector
pkg/util/containers/metrics/provider/registry.go:154
↓ 6 callersMethodRegisterCollector
RegisterCollector Registers a Collector with the prometheus registry
comp/core/telemetry/component.go:30
↓ 6 callersFunctionRegisterLoader
RegisterLoader adds a loader to the loaderCatalog
pkg/collector/loaders/loaders.go:27
↓ 6 callersMethodRemoveInput
RemoveInput removes an input from this source.
pkg/logs/sources/source.go:81
↓ 6 callersMethodRequest
Request generates an ioctl syscall with the required request
pkg/security/probe/erpc/erpc.go:71
↓ 6 callersFunctionResetReader
ResetReader is only for unit tests
pkg/autodiscovery/providers/config_reader.go:448
↓ 6 callersMethodResolveMountPath
ResolveMountPath returns the path of a mount identified by its mount ID.
pkg/security/resolvers/mount/resolver.go:410
↓ 6 callersMethodResolveSetgidEGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:979
↓ 6 callersMethodResolveSetgidFSGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:980
↓ 6 callersMethodResolveSetgidGroup
(ev *Event, e *SetgidEvent)
pkg/security/secl/model/field_handlers_unix.go:981
↓ 6 callersMethodResolveSetuidEUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:982
↓ 6 callersMethodResolveSetuidFSUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:983
↓ 6 callersMethodResolveSetuidUser
(ev *Event, e *SetuidEvent)
pkg/security/secl/model/field_handlers_unix.go:984
↓ 6 callersFunctionRun
Run runs diagnoses.
pkg/diagnose/runner.go:333
↓ 6 callersMethodRun
()
pkg/serverless/trace/cold_start_span_creator.go:50
↓ 6 callersMethodRun
Run waits for checks and run them as long as they arrive on the channel
pkg/collector/worker/worker.go:122
↓ 6 callersMethodRun
Run starts the TraceWriter.
pkg/trace/writer/trace.go:140
↓ 6 callersMethodScalarFieldHasValue
ScalarFieldHasValue test if scalar field has value
pkg/collector/corechecks/snmp/internal/metadata/store.go:116
↓ 6 callersMethodScrubSimpleCommand
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 callersMethodSend
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 callersFunctionSendDNSQueries
SendDNSQueries is a simple helper that calls SendDNSQueriesOnPort with port 53
pkg/network/tracer/testutil/testdns/test_dns_server.go:178
↓ 6 callersMethodSendEvent
(rule *rules.Rule, event Event, extTagsCb func() []string, service string)
pkg/security/events/event.go:49
↓ 6 callersMethodSendStartupSuccess
()
pkg/trace/telemetry/collector.go:78
↓ 6 callersFunctionSerialize
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 callersMethodSetCheckCustomTags
(tags []string)
pkg/aggregator/sender/sender.go:35
↓ 6 callersMethodSetEvent
SetEvent set the given event to the context
pkg/security/secl/compiler/eval/context.go:37
↓ 6 callersFunctionSetMetric
SetMetric sets the metric at key to the val on the span s.
pkg/trace/traceutil/span.go:68
↓ 6 callersMethodSetObj
SetObj adds an ObjectIdentifier PDU with the given OID and value
pkg/collector/corechecks/snmp/internal/session/fake_session.go:233
↓ 6 callersMethodSetOffset
SetOffset sets the offset.
pkg/logs/auditor/mock/mock.go:25
↓ 6 callersMethodSetService
SetService sets the service of the origin.
pkg/logs/message/origin.go:108
↓ 6 callersFunctionSetupCoreDump
SetupCoreDump enables core dumps and sets the core dump size limit based on configuration
pkg/util/core.go:20
↓ 6 callersMethodShouldFlush
ShouldFlush returns true if this strategy want to flush at the given moment.
pkg/serverless/flush/strategy.go:121
↓ 6 callersMethodShouldThrottle
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 callersMethodShrink
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 callersMethodStart
Start starts the tailer. If this returns an error, the tailer is not started.
pkg/logs/launchers/container/tailerfactory/types.go:12
↓ 6 callersMethodStart
Start opens a new UDP connection and starts a tailer.
pkg/logs/launchers/listener/udp.go:48
↓ 6 callersMethodStart
()
pkg/network/usm/monitor_windows.go:22
↓ 6 callersMethodStart
Start the event subscription
pkg/util/winutil/eventlog/subscription/subscription.go:31
↓ 6 callersMethodStartArrayField
StartArrayField starts a new field of type array
pkg/util/json/raw_object_writer.go:68
↓ 6 callersFunctionStartService
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 callersMethodStartTLS
()
pkg/util/clusteragent/clusteragent_test.go:260
← previousnext →2,601–2,700 of 32,574, ranked by callers