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
Detab
Detab removes whitespace from the front of a string on every line
pkg/util/testutil/tempfolder.go:56
↓ 6 callers
Function
DetectLanguage
DetectLanguage uses a combination of commandline parsing and binary analysis to detect a process' language
pkg/languagedetection/detector.go:95
↓ 6 callers
Method
DogstatsdSetTaggerState
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 callers
Method
DumpActivity
Activity dumps
pkg/security/proto/api/api_grpc.pb.go:54
↓ 6 callers
Method
EnrichInferredSpanWithAPIGatewayWebsocketEvent
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 callers
Method
EnrichInferredSpanWithDynamoDBEvent
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 callers
Method
EnrichInferredSpanWithKinesisEvent
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 callers
Method
EnrichInferredSpanWithS3Event
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 callers
Method
EnrichInferredSpanWithSQSEvent
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 callers
Method
EnsureLeaderElectionRuns
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 callers
Method
FetchStringSlice
FetchStringSlice is a convenience wrapper around Fetch that returns a string
pkg/util/cachedfetch/fetcher.go:89
↓ 6 callers
Method
File
File descriptor of the socket
pkg/network/netlink/socket.go:276
↓ 6 callers
Function
FileHandlerOption
FileHandlerOption allows returning the content of a file to requests matching a pattern.
pkg/util/ecs/metadata/testutil/dummy_ecs.go:30
↓ 6 callers
Method
FillCustomEventCommonFields
FillCustomEventCommonFields fills the common fields with default values
pkg/security/events/custom.go:72
↓ 6 callers
Method
FlushServerAndResetAggregators
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 callers
Method
ForceFlushToSerializer
ForceFlushToSerializer flushes all the aggregated data from the different samplers to the serialization/forwarding parts.
pkg/aggregator/demultiplexer.go:54
↓ 6 callers
Function
FormatUInt
FormatUInt converts a uint64 to a string with commas in every 3 orders of magnitude.
pkg/util/winutil/etw/etw-utils.go:236
↓ 6 callers
Function
FromAgentConfig
FromAgentConfig builds a pipeline configuration from an Agent configuration.
comp/otelcol/otlp/config.go:71
↓ 6 callers
Method
Get
Get returns EC2 instance name
test/new-e2e/pkg/utils/e2e/client/ec2_metadata.go:28
↓ 6 callers
Method
GetActiveConnections
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 callers
Method
GetAddedForType
GetAddedForType returns channels containing the new added sources matching the provided type.
pkg/logs/launchers/types.go:46
↓ 6 callers
Method
GetAllProcessEntities
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 callers
Function
GetAuthTokenFilepath
GetAuthTokenFilepath returns the path to the auth_token file.
pkg/api/security/security.go:110
↓ 6 callers
Method
GetBackoffDuration
GetBackoffDuration returns amount of time to sleep after numErrors error
pkg/util/backoff/backoff.go:76
↓ 6 callers
Method
GetBytesAndReset
GetBytesAndReset returns as bytes the serialized transactions and reset the transaction collection.
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:100
↓ 6 callers
Method
GetColumnValueAsFloat
GetColumnValueAsFloat look for oid/index in ResultValueStore and returns a float64
pkg/collector/corechecks/snmp/internal/valuestore/values.go:75
↓ 6 callers
Function
GetConfigErrors
GetConfigErrors gets the config errors
pkg/autodiscovery/stats.go:102
↓ 6 callers
Method
GetConfigFolder
()
test/new-e2e/tests/agent-platform/common/test_client.go:44
↓ 6 callers
Method
GetConfigState
(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption)
pkg/proto/pbgo/core/api.pb.go:330
↓ 6 callers
Method
GetContainerStats
GetContainerStats returns stats by container ID.
pkg/util/containers/metrics/kubelet/collector.go:88
↓ 6 callers
Method
GetCurrentCachedObjectTotalSize
GetCurrentCachedObjectTotalSize returns the current cached object total size.
pkg/util/trivy/cache.go:495
↓ 6 callers
Method
GetDestToSourcePortCount
GetDestToSourcePortCount returns the number of different source port for a specific destination port
comp/netflow/portrollup/portrollup.go:170
↓ 6 callers
Method
GetEntity
(entityID string)
pkg/tagger/interface.go:33
↓ 6 callers
Method
GetEventDiscarder
(tb testing.TB, action func() error, cb onDiscarderPushedHandler)
pkg/security/tests/module_tester.go:1117
↓ 6 callers
Method
GetEvents
()
pkg/util/containerd/containerd_util.go:55
↓ 6 callers
Method
GetFSType
GetFSType returns the filesystem type of the mountpoint
pkg/security/secl/model/model_unix.go:520
↓ 6 callers
Method
GetFile
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 callers
Method
GetIPAddress
GetIPAddress returns device IP
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:87
↓ 6 callers
Function
GetInfraEndpoint
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 callers
Method
GetInt32
(key string)
pkg/config/model/types.go:31
↓ 6 callers
Function
GetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/network/encoding/encoding.go:45
↓ 6 callers
Function
GetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/process/encoding/encoding.go:40
↓ 6 callers
Method
GetMetricSamplePool
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 callers
Method
GetNext
(oids []string)
pkg/collector/corechecks/snmp/internal/session/session.go:35
↓ 6 callers
Method
GetPIDs
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:31
↓ 6 callers
Method
GetPayloadSize
()
comp/forwarder/defaultforwarder/transaction/transaction.go:219
↓ 6 callers
Method
GetPid
()
pkg/languagedetection/languagemodels/detector.go:15
↓ 6 callers
Function
GetRFC1123CompliantClusterName
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 callers
Function
GetRunningStats
GetRunningStats gets the start time of a running check
pkg/collector/runner/expvars/expvars.go:197
↓ 6 callers
Function
GetSamplingPriority
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 callers
Method
GetSender
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 callers
Method
GetSenderStats
GetSenderStats returns the stats from the last run of the check.
pkg/collector/check/check.go:40
↓ 6 callers
Method
GetSourceToDestPortCount
GetSourceToDestPortCount returns the number of different destination port for a specific source port
comp/netflow/portrollup/portrollup.go:162
↓ 6 callers
Method
GetStats
GetStats returns a map of statistics about the current network state
pkg/network/state.go:112
↓ 6 callers
Function
GetTags
GetTags grabs the host tags from the EC2 api
pkg/util/ec2/ec2_tags.go:178
↓ 6 callers
Function
GetTracedPrograms
GetTracedPrograms returns a list of traced programs by the specific program type
pkg/network/usm/utils/debugger_testutils.go:11
↓ 6 callers
Method
GetVersion
(c *dbus.Conn)
pkg/collector/corechecks/systemd/systemd.go:169
↓ 6 callers
Function
GoBytes
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 callers
Function
IPProtocol
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 callers
Function
IdentiferFromCgroupReferences
IdentiferFromCgroupReferences returns cgroup identifier extracted from <proc>/<pid>/cgroup
pkg/util/cgroups/pid_mapper.go:22
↓ 6 callers
Method
IncError
IncError increments the error counter up to MaxErrors
pkg/util/backoff/backoff.go:96
↓ 6 callers
Method
InfoKey
()
pkg/logs/internal/status/info.go:30
↓ 6 callers
Function
InitCheckScheduler
InitCheckScheduler creates and returns a check scheduler
pkg/collector/scheduler.go:62
↓ 6 callers
Function
InitConfig
InitConfig initializes the config defaults on a config
pkg/config/config.go:219
↓ 6 callers
Method
InsertIntoTable
(name string, population int)
pkg/network/protocols/mysql/client.go:97
↓ 6 callers
Method
IsAWS
()
pkg/network/tracer/gateway_lookup.go:58
↓ 6 callers
Method
IsAmazonLinux2023Kernel
IsAmazonLinux2023Kernel returns whether the kernel is an amazon linux 2023 kernel
pkg/security/ebpf/kernel/kernel.go:279
↓ 6 callers
Function
IsFakeInode
IsFakeInode returns whether the given inode is a fake inode
pkg/security/resolvers/dentry/resolver.go:123
↓ 6 callers
Function
IsJMXInstance
IsJMXInstance checks if a certain YAML instance is a JMX config
pkg/collector/check/jmx.go:27
↓ 6 callers
Method
IsKnown
IsKnown returns whether this key is known
pkg/config/model/types.go:64
↓ 6 callers
Function
IsMeasured
IsMeasured returns true if a span should be measured (i.e., it should get trace metrics calculated).
pkg/trace/traceutil/span.go:40
↓ 6 callers
Method
IsMountIDValid
IsMountIDValid returns whether the mountID is valid
pkg/security/resolvers/mount/resolver.go:86
↓ 6 callers
Function
IsPortInEphemeralRange
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 callers
Function
IsPrintableASCII
IsPrintableASCII returns whether the string does contain only ASCII char
pkg/security/secl/model/strings.go:31
↓ 6 callers
Function
IsRemoteConfigEnabled
IsRemoteConfigEnabled returns true if Remote Configuration should be enabled
pkg/config/config.go:2035
↓ 6 callers
Method
IsXCCDF
IsXCCDF returns true if the rule is a XCCDF / OpenSCAP rule.
pkg/compliance/data.go:380
↓ 6 callers
Function
KubeContainerIDToTaggerEntityID
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 callers
Function
L
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 6 callers
Method
Less
(i, j int)
pkg/collector/corechecks/system/winkmem/winkmem.go:197
↓ 6 callers
Method
Less
(i, j int)
pkg/trace/sampler/signature.go:25
↓ 6 callers
Method
List
(prefix string, q *consul.QueryOptions)
pkg/autodiscovery/providers/consul.go:31
↓ 6 callers
Method
ListImages
ListImages returns metadata about all known images, equivalent to all entities with kind KindContainerImageMetadata.
pkg/workloadmeta/types.go:97
↓ 6 callers
Function
Load
Load reads configs files and initializes the config module
pkg/config/config.go:1390
↓ 6 callers
Method
LoadAddrs
LoadAddrs generates a map of network addresses to container IDs
pkg/process/net/resolver/resolver.go:31
↓ 6 callers
Function
LoadProxyFromEnv
LoadProxyFromEnv overrides the proxy settings with environment variables
pkg/config/config.go:1297
↓ 6 callers
Function
LogEventViewer
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 callers
Function
MakeCached
MakeCached modifies `collectors` to go through a caching layer
pkg/util/containers/metrics/provider/collector_cache.go:42
↓ 6 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/msgpgo/key_gen.go:93
↓ 6 callers
Method
MarshalMsg
MarshalMsg implements msgp.Marshaler
pkg/proto/pbgo/trace/tracer_payload_gen.go:10
↓ 6 callers
Method
MarshalSplitCompress
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 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:412
↓ 6 callers
Method
MarshalVT
()
pkg/security/proto/api/vt_grpc.go:33
↓ 6 callers
Method
MatchContainer
MatchContainer returns whether a container name matches the 'kubernetes_container_names' configuration
pkg/autodiscovery/common/types/prometheus.go:287
↓ 6 callers
Method
MetricTags
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 callers
Method
MoveNext
()
pkg/metrics/iterable_series.go:36
↓ 6 callers
Method
Msgsize
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 callers
Method
Name
Name() returns the string to be used as the source for event log records.
pkg/util/winutil/servicemain/servicemain.go:57
↓ 6 callers
Method
NameWithSeparator
NameWithSeparator returns name prefixed according to NoDoubleUnderscoreOption.
comp/core/telemetry/options.go:27
↓ 6 callers
Function
NetIPFromAddress
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 callers
Function
New
New creates a default parser that simply returns lines unchanged as messages
pkg/logs/internal/parsers/noop/noop.go:15
← previous
next →
2,501–2,600 of 32,574, ranked by callers