MCPcopy Create free account

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

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

↓ 2 callersMethodDisable
Disable the monitor
pkg/security/probe/monitors/syscalls/syscalls_monitor.go:70
↓ 2 callersFunctionDisabled
Disabled returns a new Params struct that will disabled sending the resources payload.
comp/metadata/resources/resourcesimpl/params.go:20
↓ 2 callersFunctionDiscoverHPAGroupVersionResource
DiscoverHPAGroupVersionResource returns the HPA GroupVersionResource available.
pkg/util/kubernetes/autoscalers/discover.go:29
↓ 2 callersMethodDispatchEvent
DispatchEvent sends an event to the probe event handler
pkg/security/probe/probe_linux.go:377
↓ 2 callersFunctionDoGetWithContext
DoGetWithContext is a wrapper around performing HTTP GET requests
pkg/api/util/doget.go:48
↓ 2 callersFunctionDoPostChunked
DoPostChunked is a wrapper around performing HTTP POST requests that stream chunked data
pkg/api/util/doget.go:99
↓ 2 callersFunctionDt
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callersMethodDumpDiscarders
(ctx context.Context, in *DumpDiscardersParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:52
↓ 2 callersMethodDumpDiscarders
()
pkg/security/agent/client.go:32
↓ 2 callersMethodDumpNetworkNamespace
(ctx context.Context, in *DumpNetworkNamespaceParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:51
↓ 2 callersMethodDumpProcessCache
(ctx context.Context, in *DumpProcessCacheParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:45
↓ 2 callersMethodDumpTable
DumpTable returns a channel of Event objects containing all entries present in the Conntrack table. The channel is closed once all entries are read. T
pkg/network/netlink/consumer.go:237
↓ 2 callersMethodEnable
Enable the monitor
pkg/security/probe/monitors/syscalls/syscalls_monitor.go:64
↓ 2 callersMethodEnableConsoleLog
EnableConsoleLog sets enable or disable console logging depending on the parameter value
pkg/config/logs/internal/seelog/seelog_config.go:63
↓ 2 callersFunctionEnableLoggingToFile
EnableLoggingToFile -- set up logging to file
cmd/agent/common/common_windows.go:32
↓ 2 callersFunctionEnableTelemetryCollection
EnableTelemetryCollection enables telemetry collections via AWS Telemetry API
pkg/serverless/registration/telemetry_api.go:38
↓ 2 callersFunctionEncodeConn
EncodeConn netlink encodes a `Con` object
pkg/network/netlink/encoding.go:19
↓ 2 callersMethodEnqueue
Enqueue enqueues a capture buffer so it's written to file.
comp/dogstatsd/replay/component.go:44
↓ 2 callersMethodEnrichInferredSpanWithLambdaFunctionURLEvent
EnrichInferredSpanWithLambdaFunctionURLEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to t
pkg/serverless/trace/inferredspan/span_enrichment.go:133
↓ 2 callersFunctionEntityForServiceWithNames
EntityForServiceWithNames builds entity strings for Service objects based on the name and the namespace
pkg/util/kubernetes/apiserver/services.go:44
↓ 2 callersFunctionEphemeralRange
EphemeralRange returns the ephemeral port range for this machine
pkg/network/ephemeral_linux.go:55
↓ 2 callersFunctionErrorcStackDepth
ErrorcStackDepth logs at the error level with context and the current stack depth plus the additional given one and returns an error containing the fo
pkg/util/log/log.go:714
↓ 2 callersFunctionEt
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 2 callersFunctionEvaluateXCCDFRule
EvaluateXCCDFRule evaluates the given rule using OpenSCAP tool.
pkg/compliance/evaluator_xccdf.go:271
↓ 2 callersMethodEvent
Event enables the event mock call.
pkg/aggregator/mocksender/mocked_methods.go:78
↓ 2 callersMethodEventUnmarshalBinary
EventUnmarshalBinary unmarshals a binary representation of itself
pkg/security/secl/model/unmarshallers_linux.go:892
↓ 2 callersMethodEvtCreateBookmark
(BookmarkXML string)
pkg/util/winutil/eventlog/api/types.go:175
↓ 2 callersFunctionExecWithRuntimeProfilingSettings
ExecWithRuntimeProfilingSettings runs the callback func with the given runtime profiling settings
pkg/config/settings/runtime_profiling.go:25
↓ 2 callersMethodExecuteCommandWithErr
ExecuteCommandWithErr executes a command on containerName and returns the output and an error.
test/new-e2e/pkg/utils/e2e/client/docker.go:86
↓ 2 callersMethodExecuteWithError
ExecuteWithError executes a command and returns an error if any.
test/new-e2e/pkg/utils/e2e/client/vm_client.go:64
↓ 2 callersFunctionExpandEnvironmentStrings
ExpandEnvironmentStrings returns a string with any environment variables substituted. provided here because `x/sys/windows` provides a wrapper to the
pkg/util/winutil/winstrings.go:67
↓ 2 callersFunctionExpectNetflow5Payloads
ExpectNetflow5Payloads expects the payloads that should result from our recorded pcap files.
comp/netflow/testutil/testutil.go:55
↓ 2 callersMethodExpire
Expire enables metric data for given context keys to be removed. Metrics that do not keep state between flushes, will be removed immediately. Metric
pkg/metrics/check_metrics.go:83
↓ 2 callersMethodExport
Export transforms a RawBucket into a ClientStatsBucket, typically used before communicating data to the API, as RawBucket is the internal type while C
pkg/trace/stats/statsraw.go:123
↓ 2 callersFunctionExtractAPIGatewayCustomAuthorizerEventARN
ExtractAPIGatewayCustomAuthorizerEventARN returns an ARN from an APIGatewayCustomAuthorizerRequest
pkg/serverless/trigger/extractor.go:48
↓ 2 callersFunctionExtractAPIGatewayCustomAuthorizerRequestTypeEventARN
ExtractAPIGatewayCustomAuthorizerRequestTypeEventARN returns an ARN from an APIGatewayCustomAuthorizerRequestTypeRequest
pkg/serverless/trigger/extractor.go:53
↓ 2 callersFunctionExtractAPIGatewayEventARN
ExtractAPIGatewayEventARN returns an ARN from an APIGatewayProxyRequest
pkg/serverless/trigger/extractor.go:30
↓ 2 callersFunctionExtractAPIGatewayV2EventARN
ExtractAPIGatewayV2EventARN returns an ARN from an APIGatewayV2HTTPRequest
pkg/serverless/trigger/extractor.go:36
↓ 2 callersFunctionExtractAPIGatewayWebSocketEventARN
ExtractAPIGatewayWebSocketEventARN returns an ARN from an APIGatewayWebsocketProxyRequest
pkg/serverless/trigger/extractor.go:42
↓ 2 callersFunctionExtractAlbEventARN
ExtractAlbEventARN returns an ARN from an ALBTargetGroupRequest
pkg/serverless/trigger/extractor.go:58
↓ 2 callersFunctionExtractCheckNamesFromContainerLabels
ExtractCheckNamesFromContainerLabels returns check names from a map of container annotations. It prefers annotations v2 where available, otherwise fal
pkg/autodiscovery/common/utils/container_labels.go:19
↓ 2 callersFunctionExtractCheckNamesFromPodAnnotations
ExtractCheckNamesFromPodAnnotations returns check names from a map of pod annotations. In order of priority, it prefers annotations v2, v1, and legacy
pkg/autodiscovery/common/utils/pod_annotations.go:38
↓ 2 callersFunctionExtractContainerFromAnnotationKey
ExtractContainerFromAnnotationKey extracts container name from annotation key and indicates if it is an init container if the annotation key is not a
pkg/languagedetection/util/annotations.go:29
↓ 2 callersFunctionExtractDynamoDBStreamEventARN
ExtractDynamoDBStreamEventARN returns an ARN from a DynamoDBEvent
pkg/serverless/trigger/extractor.go:80
↓ 2 callersMethodExtractFromLayer
ExtractFromLayer is used for extracting context from the request headers sent from a tracing layer. Currently, only datadog style headers are extracte
pkg/serverless/trace/propagation/extractor.go:131
↓ 2 callersFunctionExtractKinesisStreamEventARN
ExtractKinesisStreamEventARN returns an ARN from a KinesisEvent
pkg/serverless/trigger/extractor.go:85
↓ 2 callersFunctionExtractS3EventArn
ExtractS3EventArn returns an ARN from a S3Event
pkg/serverless/trigger/extractor.go:90
↓ 2 callersFunctionExtractSNSEventArn
ExtractSNSEventArn returns an ARN from a SNSEvent
pkg/serverless/trigger/extractor.go:95
↓ 2 callersFunctionExtractSQSEventARN
ExtractSQSEventARN returns an ARN from a SQSEvent
pkg/serverless/trigger/extractor.go:100
↓ 2 callersFunctionExtractTemplatesFromContainerLabels
ExtractTemplatesFromContainerLabels looks for autodiscovery configurations in a map of labels and returns them if found. In order of priority, it pref
pkg/autodiscovery/common/utils/container_labels.go:26
↓ 2 callersFunctionExtractTemplatesFromMap
ExtractTemplatesFromMap looks for autodiscovery configurations in a given map and returns them if found.
pkg/autodiscovery/common/utils/annotations.go:28
↓ 2 callersMethodFSType
()
pkg/security/tests/testdrive.go:32
↓ 2 callersMethodFailure
Failure modify state to keep track of failure
pkg/serverless/flush/strategy.go:95
↓ 2 callersMethodFetch
Fetch retrieves process data from the system and notifies registered extractors
pkg/process/checks/process_data.go:42
↓ 2 callersFunctionFileTimeToUnix
FileTimeToUnix translates Windows FileTime to seconds since Unix epoch
pkg/util/winutil/time.go:21
↓ 2 callersFunctionFillProfileContextFromProfile
FillProfileContextFromProfile fills the given ctx with profile infos
pkg/security/security_profile/profile/manager.go:393
↓ 2 callersMethodFilter
Filter writes the buffered events from the input channel formatted as a string to the output channel
pkg/logs/diagnostic/message_receiver.go:108
↓ 2 callersMethodFilter
Filter all connections that have a docker-proxy at one end
pkg/process/metadata/parser/dockerproxy.go:69
↓ 2 callersMethodFilterEnvs
FilterEnvs returns an array of envs, only the name of each variable is returned unless the variable name is part of the provided filter
pkg/security/secl/model/args_envs.go:54
↓ 2 callersFunctionFilterFunctionTags
FilterFunctionTags filters out DD tags & function specific tags
pkg/serverless/trace/inferredspan/inferred_span.go:68
↓ 2 callersFunctionFindABI
FindABI returns the ABI for a given go version and architecture. We statically assume the ABI based on the Go version and architecture
pkg/network/go/bininspect/utils.go:71
↓ 2 callersFunctionFindDeletedProcesses
FindDeletedProcesses returns the terminated PIDs from the given map.
pkg/process/monitor/process_monitor.go:393
↓ 2 callersMethodFindFrame
FindFrame implements EndLineMatcher#FindFrame.
pkg/logs/internal/framer/twobyte.go:33
↓ 2 callersFunctionFindGoVersion
FindGoVersion attempts to determine the Go version from the embedded string inserted in the binary by the linker. The implementation is available in s
pkg/network/go/bininspect/utils.go:56
↓ 2 callersMethodFindOrCreate
(m metric)
pkg/network/protocols/telemetry/registry.go:21
↓ 2 callersFunctionFindRancherIPInLabels
FindRancherIPInLabels looks for the `io.rancher.container.ip` label and parses it. Rancher 1.x containers don't have docker networks as the orchestrat
pkg/util/docker/rancher.go:18
↓ 2 callersMethodFindStructFieldOffset
FindStructFieldOffset attempts to look for a struct in the DWARF debug entries, with a matching name. If such a struct is found, the struct's fields a
pkg/network/go/dwarfutils/type_finder.go:110
↓ 2 callersMethodFindTypeByOffset
FindTypeByOffset reads the type entry at the given offset in the DWARF data, returning its godwarf.Type wrapper type. This function fixes invalid refl
pkg/network/go/dwarfutils/type_finder.go:69
↓ 2 callersFunctionFixDeprecatedFlags
FixDeprecatedFlags transforms args so that they are conforming to the new CLI structure: - replace non-posix flags posix flags - replace deprecated fl
cmd/process-agent/command/deprecated.go:18
↓ 2 callersFunctionFixDeprecatedFlags
FixDeprecatedFlags transforms args so that they are conforming to the new CLI structure: - replace non-posix flags posix flags - replace deprecated fl
cmd/trace-agent/command/deprecated.go:18
↓ 2 callersMethodFlareProvider
FlareProvider returns a flare providers to add the current inventory payload to each flares.
comp/metadata/internal/util/inventory_payload.go:130
↓ 2 callersFunctionFlush
Flush flushes all the messages in the logger.
pkg/trace/log/logger.go:147
↓ 2 callersMethodFlush
Flush flushes all objects back to the object pool, and stops tracking any pending objects.
comp/dogstatsd/packets/pool_manager.go:116
↓ 2 callersMethodFlush
Flush flushes all pipeline contained in this Provider
pkg/logs/pipeline/provider.go:28
↓ 2 callersMethodFlush
Flush flushes the data contained in the BufferedAggregator into the Forwarder. This method can be called from multiple routines.
pkg/aggregator/aggregator.go:693
↓ 2 callersMethodFlush
Flush deletes and returns complete statistic buckets. The force boolean guarantees flushing all buckets if set to true.
pkg/trace/stats/concentrator.go:261
↓ 2 callersMethodFlush
Flush the stream
pkg/util/json/raw_object_writer.go:88
↓ 2 callersMethodFlushAndClear
FlushAndClear flushes Metrics appended to this instance, and clears the instance. For each context key present in any of the ContextMetrics instances,
pkg/metrics/context_metrics_flusher.go:44
↓ 2 callersMethodFlushSync
FlushSync flushes traces sychronously. This method only works when the agent is configured in synchronous flushing mode via the apm_config.sync_flush
pkg/trace/agent/agent.go:169
↓ 2 callersMethodFlushToDisk
FlushToDisk is called on shutdown and persists all transactions to disk. The normal limits on capacity still apply, and the same rules are followed as
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:214
↓ 2 callersFunctionFmtProcessEvents
FmtProcessEvents formats process lifecyle events to be sent in an agent payload
pkg/process/checks/process_events_common.go:27
↓ 2 callersMethodForceGetLocalPodList
ForceGetLocalPodList reset podList cache and call GetLocalPodList
pkg/util/kubernetes/kubelet/kubelet.go:255
↓ 2 callersMethodForeachConnection
ForeachConnection will call the callback for each connection per hostname/netID and CollectorConnections payloads
test/fakeintake/aggregator/connectionsAggregator.go:73
↓ 2 callersFunctionFormatDCAStatus
FormatDCAStatus takes a json bytestring and prints out the formatted statuspage
pkg/status/render.go:142
↓ 2 callersFunctionFormatMetadataMapCLI
FormatMetadataMapCLI builds the rendering in the metadataMapper template.
pkg/status/render.go:258
↓ 2 callersFunctionFormatSecurityAgentStatus
FormatSecurityAgentStatus takes a json bytestring and prints out the formatted status for security agent
pkg/status/render.go:210
↓ 2 callersFunctionFt
(o)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callersMethodGaugeNoIndex
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:20
↓ 2 callersFunctionGenerateCertificates
GenerateCertificates create a self-signed certificate with a private key according the config in parameter
test/integration/utils/certificates.go:63
↓ 2 callersFunctionGenerateEnhancedMetricsFromReportLog
GenerateEnhancedMetricsFromReportLog generates enhanced metrics from a LogTypePlatformReport log message
pkg/serverless/metrics/enhanced_metrics.go:146
↓ 2 callersFunctionGenerateJSONSchema
GenerateJSONSchema generate jsonschema from profiledefinition.DeviceProfileRcConfig
pkg/networkdevice/profile/profiledefinition/schema/generate.go:15
↓ 2 callersFunctionGenerateLogsOneEmptyLogRecord
GenerateLogsOneEmptyLogRecord generates a log structure with one empty record.
comp/otelcol/otlp/internal/testutil/testutil.go:76
↓ 2 callersFunctionGenerateLogsOneEmptyResourceLogs
GenerateLogsOneEmptyResourceLogs generates one empty logs structure.
comp/otelcol/otlp/internal/testutil/testutil.go:62
↓ 2 callersFunctionGenerateLogsTwoLogRecordsSameResource
GenerateLogsTwoLogRecordsSameResource generates a logs structure with two log records sharding the same resource.
comp/otelcol/otlp/internal/testutil/testutil.go:100
↓ 2 callersFunctionGenerateOutOfMemoryEnhancedMetrics
GenerateOutOfMemoryEnhancedMetrics generates enhanced metrics specific to an out of memory error
pkg/serverless/metrics/enhanced_metrics.go:125
↓ 2 callersFunctionGenerateSpan
GenerateSpan generates a random root span with all fields filled in.
pkg/trace/testutil/generate.go:93
↓ 2 callersFunctionGenerateStores
GenerateStores is used to generate new Metrics Store for Metrics Families
pkg/kubestatemetrics/builder/builder.go:166
↓ 2 callersMethodGenerateWithTags
GenerateWithTags returns the ContextKey and TagsKey hashes for the given parameters. tagsBuf is re-arranged in place and truncated to only contain uni
pkg/aggregator/ckey/key.go:59
↓ 2 callersMethodGet
Get gets the pattern
pkg/logs/internal/decoder/auto_multiline_handler.go:45
↓ 2 callersMethodGet
Get returns a cache entry
pkg/security/resolvers/process/resolver.go:21
← previousnext →6,201–6,300 of 32,574, ranked by callers