MCPcopy Create free account

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

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

↓ 6 callersFunctionDetab
Detab removes whitespace from the front of a string on every line
pkg/util/testutil/tempfolder.go:56
↓ 6 callersFunctionDetectLanguage
DetectLanguage uses a combination of commandline parsing and binary analysis to detect a process' language
pkg/languagedetection/detector.go:95
↓ 6 callersMethodDogstatsdSetTaggerState
Trigger a dogstatsd capture. Only one capture can be triggered at a time. Can be called through the HTTP gateway, and entity will be returned as JSON:
pkg/proto/pbgo/core/api.pb.go:328
↓ 6 callersMethodDumpActivity
Activity dumps
pkg/security/proto/api/api_grpc.pb.go:54
↓ 6 callersMethodEnrichInferredSpanWithAPIGatewayWebsocketEvent
EnrichInferredSpanWithAPIGatewayWebsocketEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to
pkg/serverless/trace/inferredspan/span_enrichment.go:167
↓ 6 callersMethodEnrichInferredSpanWithDynamoDBEvent
EnrichInferredSpanWithDynamoDBEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the span e
pkg/serverless/trace/inferredspan/span_enrichment.go:331
↓ 6 callersMethodEnrichInferredSpanWithKinesisEvent
EnrichInferredSpanWithKinesisEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the span ex
pkg/serverless/trace/inferredspan/span_enrichment.go:302
↓ 6 callersMethodEnrichInferredSpanWithS3Event
EnrichInferredSpanWithS3Event uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the span expecte
pkg/serverless/trace/inferredspan/span_enrichment.go:232
↓ 6 callersMethodEnrichInferredSpanWithSQSEvent
EnrichInferredSpanWithSQSEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the span expect
pkg/serverless/trace/inferredspan/span_enrichment.go:257
↓ 6 callersMethodEnsureLeaderElectionRuns
EnsureLeaderElectionRuns start the Leader election process if not already running, return nil if the process is effectively running
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:197
↓ 6 callersMethodFetchStringSlice
FetchStringSlice is a convenience wrapper around Fetch that returns a string
pkg/util/cachedfetch/fetcher.go:89
↓ 6 callersMethodFile
File descriptor of the socket
pkg/network/netlink/socket.go:276
↓ 6 callersFunctionFileHandlerOption
FileHandlerOption allows returning the content of a file to requests matching a pattern.
pkg/util/ecs/metadata/testutil/dummy_ecs.go:30
↓ 6 callersMethodFillCustomEventCommonFields
FillCustomEventCommonFields fills the common fields with default values
pkg/security/events/custom.go:72
↓ 6 callersMethodFlushServerAndResetAggregators
FlushServerAndResetAggregators sends a request to delete any stored payload and resets client's aggregators Call this in between tests to reset the f
test/fakeintake/client/client.go:389
↓ 6 callersMethodForceFlushToSerializer
ForceFlushToSerializer flushes all the aggregated data from the different samplers to the serialization/forwarding parts.
pkg/aggregator/demultiplexer.go:54
↓ 6 callersFunctionFormatUInt
FormatUInt converts a uint64 to a string with commas in every 3 orders of magnitude.
pkg/util/winutil/etw/etw-utils.go:236
↓ 6 callersFunctionFromAgentConfig
FromAgentConfig builds a pipeline configuration from an Agent configuration.
comp/otelcol/otlp/config.go:71
↓ 6 callersMethodGet
Get returns EC2 instance name
test/new-e2e/pkg/utils/e2e/client/ec2_metadata.go:28
↓ 6 callersMethodGetActiveConnections
GetActiveConnections returns the delta for connection info from the last time it was called with the same clientID
pkg/network/tracer/tracer.go:378
↓ 6 callersMethodGetAddedForType
GetAddedForType returns channels containing the new added sources matching the provided type.
pkg/logs/launchers/types.go:46
↓ 6 callersMethodGetAllProcessEntities
GetAllProcessEntities returns all processes Entities stored in the WorkloadMetaExtractor cache and the version of the cache at the moment of the read
pkg/process/metadata/workloadmeta/extractor.go:200
↓ 6 callersFunctionGetAuthTokenFilepath
GetAuthTokenFilepath returns the path to the auth_token file.
pkg/api/security/security.go:110
↓ 6 callersMethodGetBackoffDuration
GetBackoffDuration returns amount of time to sleep after numErrors error
pkg/util/backoff/backoff.go:76
↓ 6 callersMethodGetBytesAndReset
GetBytesAndReset returns as bytes the serialized transactions and reset the transaction collection.
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:100
↓ 6 callersMethodGetColumnValueAsFloat
GetColumnValueAsFloat look for oid/index in ResultValueStore and returns a float64
pkg/collector/corechecks/snmp/internal/valuestore/values.go:75
↓ 6 callersFunctionGetConfigErrors
GetConfigErrors gets the config errors
pkg/autodiscovery/stats.go:102
↓ 6 callersMethodGetConfigFolder
()
test/new-e2e/tests/agent-platform/common/test_client.go:44
↓ 6 callersMethodGetConfigState
(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption)
pkg/proto/pbgo/core/api.pb.go:330
↓ 6 callersMethodGetContainerStats
GetContainerStats returns stats by container ID.
pkg/util/containers/metrics/kubelet/collector.go:88
↓ 6 callersMethodGetCurrentCachedObjectTotalSize
GetCurrentCachedObjectTotalSize returns the current cached object total size.
pkg/util/trivy/cache.go:495
↓ 6 callersMethodGetDestToSourcePortCount
GetDestToSourcePortCount returns the number of different source port for a specific destination port
comp/netflow/portrollup/portrollup.go:170
↓ 6 callersMethodGetEntity
(entityID string)
pkg/tagger/interface.go:33
↓ 6 callersMethodGetEventDiscarder
(tb testing.TB, action func() error, cb onDiscarderPushedHandler)
pkg/security/tests/module_tester.go:1117
↓ 6 callersMethodGetEvents
()
pkg/util/containerd/containerd_util.go:55
↓ 6 callersMethodGetFSType
GetFSType returns the filesystem type of the mountpoint
pkg/security/secl/model/model_unix.go:520
↓ 6 callersMethodGetFile
GetFile returns a *zip.File whose name is 'path' or 'path/'. Returns an error if the file does not exist
test/fakeintake/client/flare/flare.go:57
↓ 6 callersMethodGetIPAddress
GetIPAddress returns device IP
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:87
↓ 6 callersFunctionGetInfraEndpoint
GetInfraEndpoint returns the main DD Infra URL defined in config, based on the value of `site` and `dd_url`
pkg/config/utils/endpoints.go:114
↓ 6 callersMethodGetInt32
(key string)
pkg/config/model/types.go:31
↓ 6 callersFunctionGetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/network/encoding/encoding.go:45
↓ 6 callersFunctionGetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/process/encoding/encoding.go:40
↓ 6 callersMethodGetMetricSamplePool
GetMetricSamplePool returns a shared resource used in the whole DogStatsD pipeline to re-use metric samples slices: the server is getting a slice and
pkg/aggregator/demultiplexer.go:60
↓ 6 callersMethodGetNext
(oids []string)
pkg/collector/corechecks/snmp/internal/session/session.go:35
↓ 6 callersMethodGetPIDs
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:31
↓ 6 callersMethodGetPayloadSize
()
comp/forwarder/defaultforwarder/transaction/transaction.go:219
↓ 6 callersMethodGetPid
()
pkg/languagedetection/languagemodels/detector.go:15
↓ 6 callersFunctionGetRFC1123CompliantClusterName
GetRFC1123CompliantClusterName returns an RFC-1123 compliant k8s cluster name if it exists, either directly specified or autodiscovered
pkg/util/kubernetes/clustername/clustername.go:170
↓ 6 callersFunctionGetRunningStats
GetRunningStats gets the start time of a running check
pkg/collector/runner/expvars/expvars.go:197
↓ 6 callersFunctionGetSamplingPriority
GetSamplingPriority returns the value of the sampling priority metric set on this span and a boolean indicating if such a metric was actually found or
pkg/trace/sampler/sampler.go:82
↓ 6 callersMethodGetSender
GetSender gets the object to which metrics for this check should be sent. This is a "safe" sender, specialized to avoid some common errors, at a very
pkg/collector/corechecks/checkbase.go:256
↓ 6 callersMethodGetSenderStats
GetSenderStats returns the stats from the last run of the check.
pkg/collector/check/check.go:40
↓ 6 callersMethodGetSourceToDestPortCount
GetSourceToDestPortCount returns the number of different destination port for a specific source port
comp/netflow/portrollup/portrollup.go:162
↓ 6 callersMethodGetStats
GetStats returns a map of statistics about the current network state
pkg/network/state.go:112
↓ 6 callersFunctionGetTags
GetTags grabs the host tags from the EC2 api
pkg/util/ec2/ec2_tags.go:178
↓ 6 callersFunctionGetTracedPrograms
GetTracedPrograms returns a list of traced programs by the specific program type
pkg/network/usm/utils/debugger_testutils.go:11
↓ 6 callersMethodGetVersion
(c *dbus.Conn)
pkg/collector/corechecks/systemd/systemd.go:169
↓ 6 callersFunctionGoBytes
From datadog-agent\pkg\network\tracer\common_linux.go datadog-agent\pkg\network\tracer\offsetguess.go func htons(a uint16) uint16 { var arr [2]byte
pkg/util/winutil/etw/etw-utils.go:168
↓ 6 callersFunctionIPProtocol
IPProtocol maps an IP protocol number to a standard name. https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
comp/netflow/format/ip_protocol.go:153
↓ 6 callersFunctionIdentiferFromCgroupReferences
IdentiferFromCgroupReferences returns cgroup identifier extracted from <proc>/<pid>/cgroup
pkg/util/cgroups/pid_mapper.go:22
↓ 6 callersMethodIncError
IncError increments the error counter up to MaxErrors
pkg/util/backoff/backoff.go:96
↓ 6 callersMethodInfoKey
()
pkg/logs/internal/status/info.go:30
↓ 6 callersFunctionInitCheckScheduler
InitCheckScheduler creates and returns a check scheduler
pkg/collector/scheduler.go:62
↓ 6 callersFunctionInitConfig
InitConfig initializes the config defaults on a config
pkg/config/config.go:219
↓ 6 callersMethodInsertIntoTable
(name string, population int)
pkg/network/protocols/mysql/client.go:97
↓ 6 callersMethodIsAWS
()
pkg/network/tracer/gateway_lookup.go:58
↓ 6 callersMethodIsAmazonLinux2023Kernel
IsAmazonLinux2023Kernel returns whether the kernel is an amazon linux 2023 kernel
pkg/security/ebpf/kernel/kernel.go:279
↓ 6 callersFunctionIsFakeInode
IsFakeInode returns whether the given inode is a fake inode
pkg/security/resolvers/dentry/resolver.go:123
↓ 6 callersFunctionIsJMXInstance
IsJMXInstance checks if a certain YAML instance is a JMX config
pkg/collector/check/jmx.go:27
↓ 6 callersMethodIsKnown
IsKnown returns whether this key is known
pkg/config/model/types.go:64
↓ 6 callersFunctionIsMeasured
IsMeasured returns true if a span should be measured (i.e., it should get trace metrics calculated).
pkg/trace/traceutil/span.go:40
↓ 6 callersMethodIsMountIDValid
IsMountIDValid returns whether the mountID is valid
pkg/security/resolvers/mount/resolver.go:86
↓ 6 callersFunctionIsPortInEphemeralRange
IsPortInEphemeralRange returns whether the port is ephemeral based on the OS-specific configuration. The ConnectionFamily and ConnectionType argument
pkg/network/ephemeral_linux.go:43
↓ 6 callersFunctionIsPrintableASCII
IsPrintableASCII returns whether the string does contain only ASCII char
pkg/security/secl/model/strings.go:31
↓ 6 callersFunctionIsRemoteConfigEnabled
IsRemoteConfigEnabled returns true if Remote Configuration should be enabled
pkg/config/config.go:2035
↓ 6 callersMethodIsXCCDF
IsXCCDF returns true if the rule is a XCCDF / OpenSCAP rule.
pkg/compliance/data.go:380
↓ 6 callersFunctionKubeContainerIDToTaggerEntityID
KubeContainerIDToTaggerEntityID builds an entity ID from a container ID coming from the pod status (i.e. including the <runtime>:// prefix).
pkg/util/kubernetes/kubelet/kubelet_common.go:91
↓ 6 callersFunctionL
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 6 callersMethodLess
(i, j int)
pkg/collector/corechecks/system/winkmem/winkmem.go:197
↓ 6 callersMethodLess
(i, j int)
pkg/trace/sampler/signature.go:25
↓ 6 callersMethodList
(prefix string, q *consul.QueryOptions)
pkg/autodiscovery/providers/consul.go:31
↓ 6 callersMethodListImages
ListImages returns metadata about all known images, equivalent to all entities with kind KindContainerImageMetadata.
pkg/workloadmeta/types.go:97
↓ 6 callersFunctionLoad
Load reads configs files and initializes the config module
pkg/config/config.go:1390
↓ 6 callersMethodLoadAddrs
LoadAddrs generates a map of network addresses to container IDs
pkg/process/net/resolver/resolver.go:31
↓ 6 callersFunctionLoadProxyFromEnv
LoadProxyFromEnv overrides the proxy settings with environment variables
pkg/config/config.go:1297
↓ 6 callersFunctionLogEventViewer
LogEventViewer will open the event viewer API and log a single message to the event viewer. The string identified in the msgnum parameter must exist
pkg/util/winutil/eventlog.go:19
↓ 6 callersFunctionMakeCached
MakeCached modifies `collectors` to go through a caching layer
pkg/util/containers/metrics/provider/collector_cache.go:42
↓ 6 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/msgpgo/key_gen.go:93
↓ 6 callersMethodMarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/trace/tracer_payload_gen.go:10
↓ 6 callersMethodMarshalSplitCompress
MarshalSplitCompress uses the stream compressor to marshal and compress sketch series payloads. If a compressed payload is larger than the max, a new
pkg/serializer/internal/metrics/sketch_series_list.go:53
↓ 6 callersMethodMarshalToSizedBuffer
(dAtA []byte)
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:412
↓ 6 callersMethodMarshalVT
()
pkg/security/proto/api/vt_grpc.go:33
↓ 6 callersMethodMatchContainer
MatchContainer returns whether a container name matches the 'kubernetes_container_names' configuration
pkg/autodiscovery/common/types/prometheus.go:287
↓ 6 callersMethodMetricTags
MetricTags returns the slice of tags to be submitted for a given metric, looking at the existing metric labels and filtering or transforming them base
pkg/collector/corechecks/containers/kubelet/provider/prometheus/provider.go:298
↓ 6 callersMethodMoveNext
()
pkg/metrics/iterable_series.go:36
↓ 6 callersMethodMsgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/span_gen.go:338
↓ 6 callersMethodName
Name() returns the string to be used as the source for event log records.
pkg/util/winutil/servicemain/servicemain.go:57
↓ 6 callersMethodNameWithSeparator
NameWithSeparator returns name prefixed according to NoDoubleUnderscoreOption.
comp/core/telemetry/options.go:27
↓ 6 callersFunctionNetIPFromAddress
NetIPFromAddress returns a net.IP from an Address Warning: the returned `net.IP` will share the same underlying memory as the given `buf` argument.
pkg/process/util/address.go:72
↓ 6 callersFunctionNew
New creates a default parser that simply returns lines unchanged as messages
pkg/logs/internal/parsers/noop/noop.go:15
← previousnext →2,501–2,600 of 32,574, ranked by callers