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
↓ 5 callers
Method
DeleteCheck
DeleteCheck removes a check from the list of running checks
pkg/collector/runner/tracker/tracker.go:61
↓ 5 callers
Method
DeleteStack
DeleteStack safely deletes a stack
test/new-e2e/pkg/utils/infra/stack_manager.go:124
↓ 5 callers
Method
Deregister
Deregister a scheduler in the meta scheduler to dispatch to
pkg/autodiscovery/scheduler/meta.go:62
↓ 5 callers
Method
DestAddress
DestAddress returns the destination address
pkg/network/ebpf/kprobe.go:49
↓ 5 callers
Method
DispatchCustomEvent
DispatchCustomEvent sends a custom event to the probe event handler
pkg/security/probe/probe_linux.go:424
↓ 5 callers
Method
DogstatsdCaptureTrigger
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:323
↓ 5 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/network/tracer/mock_gateway_lookup_test.go:32
↓ 5 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
pkg/network/netlink/mock_conntrack.go:39
↓ 5 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_remote_client.go:32
↓ 5 callers
Method
EncodeProtobuf
EncodeProtobuf encodes an activity dump in the Protobuf format
pkg/security/security_profile/dump/activity_dump.go:697
↓ 5 callers
Method
EnrichInferredSpanWithEventBridgeEvent
EnrichInferredSpanWithEventBridgeEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the spa
pkg/serverless/trace/inferredspan/span_enrichment.go:283
↓ 5 callers
Function
EtherType
EtherType formats an Ether Type number as a human-readable name. https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml
comp/netflow/format/ether_type.go:22
↓ 5 callers
Method
EvaluateDiscarders
EvaluateDiscarders evaluates the discarders for the given event if any
pkg/security/secl/rules/ruleset.go:713
↓ 5 callers
Method
EvtCreateRenderContext
(ValuePaths []string, Flags uint)
pkg/util/winutil/eventlog/api/types.go:170
↓ 5 callers
Method
EvtRenderEventValues
Note: Must call .Close() on the return value when done using it
pkg/util/winutil/eventlog/api/types.go:173
↓ 5 callers
Method
Export
Export implements ptraceotlp.Server
pkg/trace/api/otlp.go:95
↓ 5 callers
Method
Extract
(processes map[int32]*procutil.Process)
pkg/process/metadata/parser/service.go:77
↓ 5 callers
Method
ExtractLast
()
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:22
↓ 5 callers
Method
ExtractTransactions
ExtractTransactions extracts transactions from the container. If some transactions exist in memory extract them otherwise extract transactions from th
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:163
↓ 5 callers
Method
Family
Family returns whether a tuple is IPv4 or IPv6
pkg/network/ebpf/kprobe.go:20
↓ 5 callers
Method
Fetch
(context.Context, *pbgo.LatestConfigsRequest)
pkg/config/remote/api/http.go:46
↓ 5 callers
Function
FileTimeToUnixNano
FileTimeToUnixNano translates Windows FileTime to nanoseconds since Unix epoch
pkg/util/winutil/time.go:16
↓ 5 callers
Method
FilterLogs
FilterLogs fetches fakeintake on `/api/v2/logs` endpoint, unpackage payloads and returns logs matching `service` and any [MatchOpt](#MatchOpt) options
test/fakeintake/client/client.go:314
↓ 5 callers
Method
FilterMetrics
FilterMetrics fetches fakeintake on `/api/v2/series` endpoint and returns metrics matching `name` and any [MatchOpt](#MatchOpt) options
test/fakeintake/client/client.go:220
↓ 5 callers
Method
ForceGetLocalPodList
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:23
↓ 5 callers
Method
FormatConnectionDNS
(nc network.ConnectionStats, builder *model.ConnectionBuilder)
pkg/network/encoding/dns.go:38
↓ 5 callers
Method
FormatPacket
(packet *packet.SnmpPacket)
pkg/snmp/traps/formatter/formatter.go:30
↓ 5 callers
Function
FormatUnixTime
FormatUnixTime takes a unix timestamp and returns a human readable string
pkg/util/winutil/etw/etw-utils.go:249
↓ 5 callers
Method
GenEvaluator
GenEvaluator - Compile and generates the RuleEvaluator
pkg/security/secl/compiler/eval/rule.go:213
↓ 5 callers
Method
Get
Get implements PersistentDB
pkg/util/trivy/db.go:114
↓ 5 callers
Method
Get
Get gets the value and returns false when the channel is closed and all values were read. Cannot be called concurrently.
pkg/util/buf/buffered_chan.go:76
↓ 5 callers
Method
Get
Get returns the current value of the runtime setting
cmd/agent/subcommands/run/internal/settings/runtime_setting_dogstatsd_stats.go:45
↓ 5 callers
Method
GetAndFlush
GetAndFlush gets the stats
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe.go:201
↓ 5 callers
Method
GetAndResetAllStats
()
pkg/network/dns/stats.go:175
↓ 5 callers
Method
GetApp
GetApp looks for an app with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:36
↓ 5 callers
Function
GetAuthToken
GetAuthToken gets the session token
pkg/api/util/util.go:52
↓ 5 callers
Method
GetBackoffDuration
GetBackoffDuration returns the backoff duration for the given number of errors
pkg/util/backoff/policy.go:13
↓ 5 callers
Function
GetBaseTagsArrayWithMetadataTags
GetBaseTagsArrayWithMetadataTags see GetBaseTagsMapWithMetadata (as array)
cmd/serverless-init/tag/tag.go:62
↓ 5 callers
Function
GetBaseTagsMapWithMetadata
GetBaseTagsMapWithMetadata returns a map of Datadog's base tags
cmd/serverless-init/tag/tag.go:30
↓ 5 callers
Method
GetCFApplication
GetCFApplication looks for a CF application with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:54
↓ 5 callers
Function
GetChecksByNameForConfigs
GetChecksByNameForConfigs returns checks matching name for passed in configs
pkg/collector/scheduler.go:220
↓ 5 callers
Method
GetChunks
()
pkg/process/util/chunking.go:100
↓ 5 callers
Method
GetClient
()
pkg/proto/pbgo/core/remoteconfig.pb.go:1273
↓ 5 callers
Function
GetClusterNameTagValue
GetClusterNameTagValue a k8s cluster name if it exists, either directly specified or autodiscovered This function also "normalize" the k8s cluster n
pkg/util/kubernetes/clustername/clustername.go:155
↓ 5 callers
Method
GetCollector
(runtime string)
pkg/util/containers/metrics/provider/provider.go:70
↓ 5 callers
Method
GetColumnAsByteArray
GetColumnAsByteArray get column value as []byte
pkg/collector/corechecks/snmp/internal/metadata/store.go:67
↓ 5 callers
Method
GetContainerID
GetContainerID returns the container ID in the http.Header, otherwise looks for a PID in the ctx which is used to search cgroups for a container ID.
pkg/trace/api/container_linux.go:99
↓ 5 callers
Method
GetContainerIDForPID
GetContainerIDForPID returns the container ID for given PID
pkg/util/containers/metrics/docker/collector.go:132
↓ 5 callers
Method
GetContainerOpenFilesCount
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:26
↓ 5 callers
Method
GetContainerStats
(containerID string)
pkg/util/containers/cri/util.go:39
↓ 5 callers
Function
GetDefaultConfig
GetDefaultConfig returns the medatadata's default config
cmd/serverless-init/cloudservice/helper/gcp.go:62
↓ 5 callers
Function
GetDefaultTimeWindow
GetDefaultTimeWindow returns the configured default time window
pkg/util/kubernetes/autoscalers/processor.go:121
↓ 5 callers
Method
GetDiagnoses
GetDiagnoses returns the diagnoses cached in last run or diagnose explicitly
pkg/collector/check/check.go:52
↓ 5 callers
Function
GetEventsAPIEndpoints
GetEventsAPIEndpoints returns the list of api event endpoints from the config
pkg/process/runner/endpoint/endpoints.go:23
↓ 5 callers
Method
GetField
()
pkg/security/secl/compiler/eval/evaluators.go:19
↓ 5 callers
Method
GetFlushStrategy
GetFlushStrategy returns the flush strategy
pkg/serverless/daemon/daemon.go:181
↓ 5 callers
Function
GetGlobalCCCache
GetGlobalCCCache returns the global instance of CCCache (or error if the instance is not configured yet)
pkg/util/cloudproviders/cloudfoundry/cccache.go:158
↓ 5 callers
Function
GetHostAliases
GetHostAliases returns the host aliases from Cloud Foundry
pkg/util/cloudproviders/cloudfoundry/cloudfoundry.go:27
↓ 5 callers
Function
GetHostname
GetHostname returns the hostname querying GCE Metadata api
pkg/util/cloudproviders/gce/gce.go:50
↓ 5 callers
Function
GetHostnameWithContext
GetHostnameWithContext attempts to acquire a hostname by connecting to the core agent's gRPC endpoints extending the given context.
pkg/security/utils/hostname.go:34
↓ 5 callers
Method
GetIDTags
GetIDTags get idTags for a specific resource and index
pkg/collector/corechecks/snmp/internal/metadata/store.go:135
↓ 5 callers
Method
GetImage
GetImage returns metadata about a container image. It fetches the entity with kind KindContainerImageMetadata and the given ID.
pkg/workloadmeta/types.go:101
↓ 5 callers
Method
GetInnerTime
GetInnerTime returns the inner time
pkg/security/utils/json.go:48
↓ 5 callers
Function
GetJSONSerializableMap
GetJSONSerializableMap returns a JSON serializable map from a raw map
pkg/util/common.go:166
↓ 5 callers
Method
GetKernelLostCount
GetKernelLostCount returns the number of lost events for a given map and cpu. If a cpu of -1 is provided, the function will return the sum of all the
pkg/security/probe/eventstream/monitor.go:236
↓ 5 callers
Method
GetLeaderIP
GetLeaderIP returns the IP the leader can be reached at, assuming its identity is its pod name. Returns empty if we are the leader. The result is not
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:247
↓ 5 callers
Function
GetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/process/encoding/request/encoding.go:37
↓ 5 callers
Function
GetMeta
GetMeta gets the metadata value in the span Meta map.
pkg/trace/traceutil/span.go:84
↓ 5 callers
Method
GetMeta
()
pkg/proto/pbgo/trace/span.pb.go:164
↓ 5 callers
Method
GetMetrics
()
pkg/clusteragent/custommetrics/store.go:36
↓ 5 callers
Function
GetNTPHosts
GetNTPHosts returns the NTP hosts for EC2 if it is detected as the cloud provider, otherwise an empty array. Docs: https://docs.aws.amazon.com/AWSEC2/
pkg/util/ec2/ec2.go:147
↓ 5 callers
Method
GetOrg
GetOrg looks for an org with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:42
↓ 5 callers
Function
GetPauseContainerFilter
GetPauseContainerFilter returns a filter only excluding pause containers
pkg/util/containers/filter.go:170
↓ 5 callers
Function
GetPayload
GetPayload builds a metadata payload every time is called. Some data is collected only once, some is cached, some is collected at every call.
comp/metadata/host/utils/host.go:164
↓ 5 callers
Function
GetPayload
GetPayload returns a new inventory metadata payload and updates lastGetPayload
pkg/metadata/inventories/inventories.go:255
↓ 5 callers
Function
GetPayload
GetPayload fills and return the external host tags metadata payload
pkg/metadata/externalhost/externalhost.go:34
↓ 5 callers
Method
GetPendingConns
GetPendingConns return all connections that are in batches that are not yet full. It tracks which connections have been processed by this call, by bat
pkg/network/tracer/connection/perf_batching.go:91
↓ 5 callers
Method
GetPodForContainerID
(ctx context.Context, containerID string)
pkg/util/kubernetes/kubelet/kubelet_interface.go:24
↓ 5 callers
Method
GetProcessArgv
GetProcessArgv returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:5939
↓ 5 callers
Method
GetProcessArgvScrubbed
GetProcessArgvScrubbed returns the scrubbed args of the event as an array
pkg/security/resolvers/process/resolver_linux.go:946
↓ 5 callers
Function
GetProcessNamespaceInode
GetProcessNamespaceInode performs a stat() call on /proc/<pid>/ns/<namespace>
pkg/util/system/namespace_linux.go:32
↓ 5 callers
Method
GetProcessNetworkNamespace
GetProcessNetworkNamespace returns the network namespace of a pid after parsing /proc/[pid]/ns/net
pkg/security/utils/proc.go:74
↓ 5 callers
Function
GetPublicIPv4
GetPublicIPv4 gets the public IPv4 for the currently running host using the EC2 metadata API.
pkg/util/ec2/network.go:26
↓ 5 callers
Method
GetRawConnectionInfo
GetRawConnectionInfo returns a map containging the url and credentials to connect to the kubelet It refreshes the auth token on each call. Possible ma
pkg/util/kubernetes/kubelet/kubelet.go:372
↓ 5 callers
Method
GetRawConnectionInfo
()
pkg/util/kubernetes/kubelet/kubelet_interface.go:26
↓ 5 callers
Function
GetReadyNonBlocking
GetReadyNonBlocking returns the health of all components registered for both readiness and liveness with a 500ms timeout
pkg/status/health/global.go:72
↓ 5 callers
Function
GetRemoteSystemProbeUtil
GetRemoteSystemProbeUtil returns a ready to use RemoteSysProbeUtil. It is backed by a shared singleton.
pkg/process/net/common.go:64
↓ 5 callers
Method
GetRoot
GetRoot returns a version of the root metadata
pkg/config/remote/uptane/local_store.go:123
↓ 5 callers
Function
GetRunsCount
GetRunsCount is used to get the value of 'Runs' expvar
pkg/collector/runner/expvars/expvars.go:232
↓ 5 callers
Method
GetSiteNameFromID
GetSiteNameFromID looks up a site name by its site ID
pkg/util/winutil/iisconfig.go:158
↓ 5 callers
Method
GetSpace
GetSpace looks for a space with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:39
↓ 5 callers
Method
GetState
()
pkg/proto/pbgo/core/model.pb.go:936
↓ 5 callers
Function
GetStaticTagsSlice
GetStaticTagsSlice gets the "static tags" for this agent. These are tags that are attached directly to everything the agent produces, but _not_ inclu
pkg/util/static_tags.go:24
↓ 5 callers
Function
GetStatus
GetStatus grabs the status from expvar and puts it into a map
pkg/status/status.go:46
↓ 5 callers
Function
GetStatusCodeFromHTTPResponse
GetStatusCodeFromHTTPResponse parses a generic payload and returns a status code, if it contains one. Returns an empty string if it does not, or an er
pkg/serverless/trigger/extractor.go:216
↓ 5 callers
Method
GetStorage
()
pkg/security/proto/api/api.pb.go:1518
↓ 5 callers
Method
GetString
GetString returns a pointer representing the string k The returned pointer will be the same for GetString(v) and GetString(v2) if and only if v == v2
pkg/util/intern/string.go:82
↓ 5 callers
Function
GetTags
GetTags gets the tags from the GCE api
pkg/util/cloudproviders/gce/gce_tags.go:53
↓ 5 callers
Method
GetTags
GetTags returns a map of tags for a given cloud service. These tags are then attached to the logs, traces, and metrics.
cmd/serverless-init/cloudservice/service.go:14
↓ 5 callers
Method
GetTransactionCount
GetTransactionCount gets the number of transactions in the container
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:186
← previous
next →
3,001–3,100 of 32,574, ranked by callers