MCPcopy Create free account

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

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

↓ 5 callersMethodDeleteCheck
DeleteCheck removes a check from the list of running checks
pkg/collector/runner/tracker/tracker.go:61
↓ 5 callersMethodDeleteStack
DeleteStack safely deletes a stack
test/new-e2e/pkg/utils/infra/stack_manager.go:124
↓ 5 callersMethodDeregister
Deregister a scheduler in the meta scheduler to dispatch to
pkg/autodiscovery/scheduler/meta.go:62
↓ 5 callersMethodDestAddress
DestAddress returns the destination address
pkg/network/ebpf/kprobe.go:49
↓ 5 callersMethodDispatchCustomEvent
DispatchCustomEvent sends a custom event to the probe event handler
pkg/security/probe/probe_linux.go:424
↓ 5 callersMethodDogstatsdCaptureTrigger
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 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/network/tracer/mock_gateway_lookup_test.go:32
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
pkg/network/netlink/mock_conntrack.go:39
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_remote_client.go:32
↓ 5 callersMethodEncodeProtobuf
EncodeProtobuf encodes an activity dump in the Protobuf format
pkg/security/security_profile/dump/activity_dump.go:697
↓ 5 callersMethodEnrichInferredSpanWithEventBridgeEvent
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 callersFunctionEtherType
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 callersMethodEvaluateDiscarders
EvaluateDiscarders evaluates the discarders for the given event if any
pkg/security/secl/rules/ruleset.go:713
↓ 5 callersMethodEvtCreateRenderContext
(ValuePaths []string, Flags uint)
pkg/util/winutil/eventlog/api/types.go:170
↓ 5 callersMethodEvtRenderEventValues
Note: Must call .Close() on the return value when done using it
pkg/util/winutil/eventlog/api/types.go:173
↓ 5 callersMethodExport
Export implements ptraceotlp.Server
pkg/trace/api/otlp.go:95
↓ 5 callersMethodExtract
(processes map[int32]*procutil.Process)
pkg/process/metadata/parser/service.go:77
↓ 5 callersMethodExtractLast
()
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:22
↓ 5 callersMethodExtractTransactions
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 callersMethodFamily
Family returns whether a tuple is IPv4 or IPv6
pkg/network/ebpf/kprobe.go:20
↓ 5 callersMethodFetch
(context.Context, *pbgo.LatestConfigsRequest)
pkg/config/remote/api/http.go:46
↓ 5 callersFunctionFileTimeToUnixNano
FileTimeToUnixNano translates Windows FileTime to nanoseconds since Unix epoch
pkg/util/winutil/time.go:16
↓ 5 callersMethodFilterLogs
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 callersMethodFilterMetrics
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 callersMethodForceGetLocalPodList
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:23
↓ 5 callersMethodFormatConnectionDNS
(nc network.ConnectionStats, builder *model.ConnectionBuilder)
pkg/network/encoding/dns.go:38
↓ 5 callersMethodFormatPacket
(packet *packet.SnmpPacket)
pkg/snmp/traps/formatter/formatter.go:30
↓ 5 callersFunctionFormatUnixTime
FormatUnixTime takes a unix timestamp and returns a human readable string
pkg/util/winutil/etw/etw-utils.go:249
↓ 5 callersMethodGenEvaluator
GenEvaluator - Compile and generates the RuleEvaluator
pkg/security/secl/compiler/eval/rule.go:213
↓ 5 callersMethodGet
Get implements PersistentDB
pkg/util/trivy/db.go:114
↓ 5 callersMethodGet
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 callersMethodGet
Get returns the current value of the runtime setting
cmd/agent/subcommands/run/internal/settings/runtime_setting_dogstatsd_stats.go:45
↓ 5 callersMethodGetAndFlush
GetAndFlush gets the stats
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe.go:201
↓ 5 callersMethodGetAndResetAllStats
()
pkg/network/dns/stats.go:175
↓ 5 callersMethodGetApp
GetApp looks for an app with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:36
↓ 5 callersFunctionGetAuthToken
GetAuthToken gets the session token
pkg/api/util/util.go:52
↓ 5 callersMethodGetBackoffDuration
GetBackoffDuration returns the backoff duration for the given number of errors
pkg/util/backoff/policy.go:13
↓ 5 callersFunctionGetBaseTagsArrayWithMetadataTags
GetBaseTagsArrayWithMetadataTags see GetBaseTagsMapWithMetadata (as array)
cmd/serverless-init/tag/tag.go:62
↓ 5 callersFunctionGetBaseTagsMapWithMetadata
GetBaseTagsMapWithMetadata returns a map of Datadog's base tags
cmd/serverless-init/tag/tag.go:30
↓ 5 callersMethodGetCFApplication
GetCFApplication looks for a CF application with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:54
↓ 5 callersFunctionGetChecksByNameForConfigs
GetChecksByNameForConfigs returns checks matching name for passed in configs
pkg/collector/scheduler.go:220
↓ 5 callersMethodGetChunks
()
pkg/process/util/chunking.go:100
↓ 5 callersMethodGetClient
()
pkg/proto/pbgo/core/remoteconfig.pb.go:1273
↓ 5 callersFunctionGetClusterNameTagValue
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 callersMethodGetCollector
(runtime string)
pkg/util/containers/metrics/provider/provider.go:70
↓ 5 callersMethodGetColumnAsByteArray
GetColumnAsByteArray get column value as []byte
pkg/collector/corechecks/snmp/internal/metadata/store.go:67
↓ 5 callersMethodGetContainerID
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 callersMethodGetContainerIDForPID
GetContainerIDForPID returns the container ID for given PID
pkg/util/containers/metrics/docker/collector.go:132
↓ 5 callersMethodGetContainerOpenFilesCount
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:26
↓ 5 callersMethodGetContainerStats
(containerID string)
pkg/util/containers/cri/util.go:39
↓ 5 callersFunctionGetDefaultConfig
GetDefaultConfig returns the medatadata's default config
cmd/serverless-init/cloudservice/helper/gcp.go:62
↓ 5 callersFunctionGetDefaultTimeWindow
GetDefaultTimeWindow returns the configured default time window
pkg/util/kubernetes/autoscalers/processor.go:121
↓ 5 callersMethodGetDiagnoses
GetDiagnoses returns the diagnoses cached in last run or diagnose explicitly
pkg/collector/check/check.go:52
↓ 5 callersFunctionGetEventsAPIEndpoints
GetEventsAPIEndpoints returns the list of api event endpoints from the config
pkg/process/runner/endpoint/endpoints.go:23
↓ 5 callersMethodGetField
()
pkg/security/secl/compiler/eval/evaluators.go:19
↓ 5 callersMethodGetFlushStrategy
GetFlushStrategy returns the flush strategy
pkg/serverless/daemon/daemon.go:181
↓ 5 callersFunctionGetGlobalCCCache
GetGlobalCCCache returns the global instance of CCCache (or error if the instance is not configured yet)
pkg/util/cloudproviders/cloudfoundry/cccache.go:158
↓ 5 callersFunctionGetHostAliases
GetHostAliases returns the host aliases from Cloud Foundry
pkg/util/cloudproviders/cloudfoundry/cloudfoundry.go:27
↓ 5 callersFunctionGetHostname
GetHostname returns the hostname querying GCE Metadata api
pkg/util/cloudproviders/gce/gce.go:50
↓ 5 callersFunctionGetHostnameWithContext
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 callersMethodGetIDTags
GetIDTags get idTags for a specific resource and index
pkg/collector/corechecks/snmp/internal/metadata/store.go:135
↓ 5 callersMethodGetImage
GetImage returns metadata about a container image. It fetches the entity with kind KindContainerImageMetadata and the given ID.
pkg/workloadmeta/types.go:101
↓ 5 callersMethodGetInnerTime
GetInnerTime returns the inner time
pkg/security/utils/json.go:48
↓ 5 callersFunctionGetJSONSerializableMap
GetJSONSerializableMap returns a JSON serializable map from a raw map
pkg/util/common.go:166
↓ 5 callersMethodGetKernelLostCount
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 callersMethodGetLeaderIP
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 callersFunctionGetMarshaler
GetMarshaler returns the appropriate Marshaler based on the given accept header
pkg/process/encoding/request/encoding.go:37
↓ 5 callersFunctionGetMeta
GetMeta gets the metadata value in the span Meta map.
pkg/trace/traceutil/span.go:84
↓ 5 callersMethodGetMeta
()
pkg/proto/pbgo/trace/span.pb.go:164
↓ 5 callersMethodGetMetrics
()
pkg/clusteragent/custommetrics/store.go:36
↓ 5 callersFunctionGetNTPHosts
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 callersMethodGetOrg
GetOrg looks for an org with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:42
↓ 5 callersFunctionGetPauseContainerFilter
GetPauseContainerFilter returns a filter only excluding pause containers
pkg/util/containers/filter.go:170
↓ 5 callersFunctionGetPayload
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 callersFunctionGetPayload
GetPayload returns a new inventory metadata payload and updates lastGetPayload
pkg/metadata/inventories/inventories.go:255
↓ 5 callersFunctionGetPayload
GetPayload fills and return the external host tags metadata payload
pkg/metadata/externalhost/externalhost.go:34
↓ 5 callersMethodGetPendingConns
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 callersMethodGetPodForContainerID
(ctx context.Context, containerID string)
pkg/util/kubernetes/kubelet/kubelet_interface.go:24
↓ 5 callersMethodGetProcessArgv
GetProcessArgv returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:5939
↓ 5 callersMethodGetProcessArgvScrubbed
GetProcessArgvScrubbed returns the scrubbed args of the event as an array
pkg/security/resolvers/process/resolver_linux.go:946
↓ 5 callersFunctionGetProcessNamespaceInode
GetProcessNamespaceInode performs a stat() call on /proc/<pid>/ns/<namespace>
pkg/util/system/namespace_linux.go:32
↓ 5 callersMethodGetProcessNetworkNamespace
GetProcessNetworkNamespace returns the network namespace of a pid after parsing /proc/[pid]/ns/net
pkg/security/utils/proc.go:74
↓ 5 callersFunctionGetPublicIPv4
GetPublicIPv4 gets the public IPv4 for the currently running host using the EC2 metadata API.
pkg/util/ec2/network.go:26
↓ 5 callersMethodGetRawConnectionInfo
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 callersMethodGetRawConnectionInfo
()
pkg/util/kubernetes/kubelet/kubelet_interface.go:26
↓ 5 callersFunctionGetReadyNonBlocking
GetReadyNonBlocking returns the health of all components registered for both readiness and liveness with a 500ms timeout
pkg/status/health/global.go:72
↓ 5 callersFunctionGetRemoteSystemProbeUtil
GetRemoteSystemProbeUtil returns a ready to use RemoteSysProbeUtil. It is backed by a shared singleton.
pkg/process/net/common.go:64
↓ 5 callersMethodGetRoot
GetRoot returns a version of the root metadata
pkg/config/remote/uptane/local_store.go:123
↓ 5 callersFunctionGetRunsCount
GetRunsCount is used to get the value of 'Runs' expvar
pkg/collector/runner/expvars/expvars.go:232
↓ 5 callersMethodGetSiteNameFromID
GetSiteNameFromID looks up a site name by its site ID
pkg/util/winutil/iisconfig.go:158
↓ 5 callersMethodGetSpace
GetSpace looks for a space with the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:39
↓ 5 callersMethodGetState
()
pkg/proto/pbgo/core/model.pb.go:936
↓ 5 callersFunctionGetStaticTagsSlice
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 callersFunctionGetStatus
GetStatus grabs the status from expvar and puts it into a map
pkg/status/status.go:46
↓ 5 callersFunctionGetStatusCodeFromHTTPResponse
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 callersMethodGetStorage
()
pkg/security/proto/api/api.pb.go:1518
↓ 5 callersMethodGetString
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 callersFunctionGetTags
GetTags gets the tags from the GCE api
pkg/util/cloudproviders/gce/gce_tags.go:53
↓ 5 callersMethodGetTags
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 callersMethodGetTransactionCount
GetTransactionCount gets the number of transactions in the container
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:186
← previousnext →3,001–3,100 of 32,574, ranked by callers