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
↓ 2 callers
Function
GetHostname
GetHostname attempts to acquire a hostname by connecting to the core agent's gRPC endpoints.
pkg/security/utils/hostname.go:28
↓ 2 callers
Function
GetHostname
GetHostname returns the hostname for docker
pkg/util/docker/global.go:70
↓ 2 callers
Method
GetHostname
GetHostname returns the hostname to applied the given log message
pkg/logs/message/message.go:309
↓ 2 callers
Function
GetHypervisorUUID
GetHypervisorUUID returns the hypervisor UUID
pkg/util/dmi/dmi_nix.go:47
↓ 2 callers
Function
GetHypervisorUUID
GetHypervisorUUID returns an empty string on Windows
pkg/util/dmi/no_dmi.go:35
↓ 2 callers
Method
GetIDOfCheckWithEncryptedSecrets
GetIDOfCheckWithEncryptedSecrets returns the ID that a checkID had before decrypting its secrets. Returns empty if the check with the given ID does no
pkg/autodiscovery/autoconfig.go:409
↓ 2 callers
Method
GetInUpperLayer
GetInUpperLayer returns whether a file is in the upper layer
pkg/security/secl/model/model_unix.go:403
↓ 2 callers
Method
GetIncludeAnnotations
GetIncludeAnnotations returns the AD include annotations
pkg/autodiscovery/common/types/prometheus.go:228
↓ 2 callers
Method
GetInstallFolder
()
test/new-e2e/tests/agent-platform/common/test_client.go:43
↓ 2 callers
Method
GetInstance
(context.Context)
pkg/util/ecs/metadata/v1/client.go:35
↓ 2 callers
Method
GetInstances
()
pkg/security/proto/api/api.pb.go:2616
↓ 2 callers
Method
GetIsReliable
GetIsReliable returns true if the endpoint is reliable. Endpoints are reliable by default.
comp/logs/agent/config/endpoints.go:97
↓ 2 callers
Method
GetIterator
GetIterator return an iterator
pkg/security/secl/compiler/eval/model.go:15
↓ 2 callers
Method
GetKV
GetKV gets value provided the key.
pkg/util/bimap.go:35
↓ 2 callers
Method
GetKVReverse
GetKVReverse gets key provided the value.
pkg/util/bimap.go:50
↓ 2 callers
Function
GetKernelSpec
GetKernelSpec returns a possibly cached version of the running kernel BTF spec it's very important that the caller of this function does not modify th
pkg/ebpf/btf.go:328
↓ 2 callers
Method
GetKernelVersion
GetKernelVersion computes and returns the running kernel version
pkg/security/probe/probe_linux.go:132
↓ 2 callers
Function
GetKubeAPIServerHostname
GetKubeAPIServerHostname returns the hostname from kubeapiserver
pkg/util/kubernetes/hostname.go:19
↓ 2 callers
Function
GetKubeSystemUID
GetKubeSystemUID returns the UID of the kube-system namespace from the cluster We use it as the cluster ID so that even if the configmap is removed th
pkg/util/kubernetes/apiserver/common/common.go:54
↓ 2 callers
Method
GetKubernetesClusterID
()
pkg/util/clusteragent/clusteragent.go:66
↓ 2 callers
Method
GetKubernetesMetadataNames
(nodeName, ns, podName string)
pkg/util/clusteragent/clusteragent.go:60
↓ 2 callers
Function
GetLanguageAnnotationKey
GetLanguageAnnotationKey returns the language annotation key for the specified container
pkg/languagedetection/util/annotations.go:23
↓ 2 callers
Method
GetLastAnomalies
()
pkg/security/proto/api/api.pb.go:2609
↓ 2 callers
Method
GetLatency
GetLatency returns the latency delta from ingestion time until now
pkg/logs/message/message.go:304
↓ 2 callers
Method
GetListener
GetListener returns the underlying net.Listener
pkg/process/net/common.go:37
↓ 2 callers
Method
GetLoaded
()
pkg/proto/pbgo/core/model.pb.go:990
↓ 2 callers
Method
GetLoadedInKernel
()
pkg/security/proto/api/api.pb.go:2574
↓ 2 callers
Method
GetLocalPodList
GetLocalPodList returns the list of pods running on the node. If kubernetes_pod_expiration_duration is set, old exited pods will be filtered out to ke
pkg/util/kubernetes/kubelet/kubelet.go:238
↓ 2 callers
Method
GetLocalPodListWithMetadata
GetLocalPodListWithMetadata returns the list of pods running on the node, along with metadata surrounding that list, such as the number of pods which
pkg/util/kubernetes/kubelet/kubelet.go:250
↓ 2 callers
Method
GetLocalStatsSummary
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:28
↓ 2 callers
Method
GetLocalStorageFormats
()
pkg/security/proto/api/api.pb.go:1425
↓ 2 callers
Method
GetLostCount
GetLostCount 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 lost e
pkg/security/probe/eventstream/monitor.go:214
↓ 2 callers
Method
GetMap
(name string)
pkg/network/tracer/connection/tracer.go:329
↓ 2 callers
Method
GetMaxMemSizeInBytes
GetMaxMemSizeInBytes gets the maximum memory usage for storing transactions
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:194
↓ 2 callers
Method
GetMetaCustom
GetMetaCustom returns the custom of a particular meta
pkg/config/remote/uptane/local_store.go:154
↓ 2 callers
Function
GetMetaData
GetMetaData returns the container's metadata
cmd/serverless-init/cloudservice/helper/gcp.go:72
↓ 2 callers
Function
GetMetaStruct
GetMetaStruct gets the structured metadata value in the span MetaStruct map.
pkg/trace/traceutil/span.go:121
↓ 2 callers
Method
GetMetaTag
(tag string)
pkg/serverless/appsec/httpsec/tags.go:74
↓ 2 callers
Function
GetMetric
GetMetric gets the metadata value in the span Metrics map.
pkg/trace/traceutil/span.go:136
↓ 2 callers
Method
GetMetricNames
GetMetricNames fetches fakeintake on `/api/v2/series` endpoint and returns all received metric names
test/fakeintake/client/client.go:210
↓ 2 callers
Function
GetMutexProfileFraction
GetMutexProfileFraction returns the current fraction of mutexes that generate profile data.
pkg/util/profiling/runtime.go:42
↓ 2 callers
Function
GetNamedSecurityInfo
GetNamedSecurityInfo calls Windows 'GetNamedSecurityInfo' function to retrieve a copy of the security descriptor for an object specified by name. htt
pkg/util/winutil/winsec.go:106
↓ 2 callers
Function
GetNetFlow5Packet
GetNetFlow5Packet parses our saved netflow5 packet.
comp/netflow/testutil/testutil.go:255
↓ 2 callers
Function
GetNetNamespaces
GetNetNamespaces returns a list of network namespaces on the machine. The caller is responsible for calling Close() on each of the returned NsHandle's
pkg/util/kernel/netns.go:71
↓ 2 callers
Function
GetNetNsInoFromPid
GetNetNsInoFromPid gets the network namespace inode number for the given `pid`
pkg/util/kernel/netns.go:129
↓ 2 callers
Method
GetNetworkTags
GetNetworkTags returns network tags network tags are not part of the static tags since we don't want the deviceID to change if the network/subnet chan
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:284
↓ 2 callers
Function
GetNextColumnOidNaive
GetNextColumnOidNaive will return the next column OID for a given OID This is a naive algorithm based on detecting `.1.` (the table Entry oid that con
pkg/collector/corechecks/snmp/internal/session/utils.go:17
↓ 2 callers
Function
GetNodeAnnotations
GetNodeAnnotations returns node labels for this host
pkg/util/kubernetes/hostinfo/node_annotations.go:19
↓ 2 callers
Method
GetNodeAnnotations
(nodeName string)
pkg/util/clusteragent/clusteragent.go:57
↓ 2 callers
Method
GetNodeClusterNameLabel
GetNodeClusterNameLabel returns clustername by fetching a node label
pkg/util/kubernetes/hostinfo/cluster_name_from_node_label.go:36
↓ 2 callers
Method
GetNodeLabels
GetNodeLabels returns node labels for this host
pkg/util/kubernetes/hostinfo/node_labels.go:46
↓ 2 callers
Method
GetNodeLabels
(nodeName string)
pkg/util/clusteragent/clusteragent.go:56
↓ 2 callers
Method
GetObfuscatedStatement
(o *obfuscate.Obfuscator, statement string)
pkg/collector/corechecks/oracle-dbm/oracle.go:331
↓ 2 callers
Method
GetOffsetConstants
GetOffsetConstants returns the offsets and struct sizes constants
pkg/security/probe/probe_linux.go:1828
↓ 2 callers
Method
GetOpenConnectionStats
GetConnectionStats will read all open flows from the driver and convert them into ConnectionStats. It returns the count of connections added to the ac
pkg/network/driver_interface.go:334
↓ 2 callers
Method
GetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/cloudrun.go:47
↓ 2 callers
Method
GetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/containerapp.go:65
↓ 2 callers
Method
GetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/appservice.go:45
↓ 2 callers
Method
GetOutputPath
GetOutputPath returns the output path to the file in the storage
pkg/security/config/dump.go:83
↓ 2 callers
Method
GetPIDs
(cacheValidity time.Duration)
pkg/util/cgroups/cgroupv1_pids.go:33
↓ 2 callers
Method
GetPacketChannelSize
GetPacketChannelSize returns the default size for the packets channel
pkg/snmp/traps/config/config.go:164
↓ 2 callers
Method
GetParent
()
pkg/security/security_profile/activity_tree/process_node.go:25
↓ 2 callers
Function
GetParentPid
GetParentPid looks up the parent process given a pid
pkg/process/procutil/process_windows_toolhelp.go:268
↓ 2 callers
Function
GetPayload
GetPayload builds a payload of all the agentchecks metadata
pkg/collector/metadata/agentchecks/agentchecks.go:24
↓ 2 callers
Method
GetPayload
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:221
↓ 2 callers
Method
GetPeerTags
()
pkg/proto/pbgo/trace/stats.pb.go:492
↓ 2 callers
Method
GetPersistentVolumeClaimNames
GetPersistentVolumeClaimNames gets the persistent volume names from a statefulset pod returns empty slice if no persistent volume claim was found
pkg/util/kubernetes/kubelet/pod.go:55
↓ 2 callers
Function
GetPodSource
GetPodSource returns the source of the pod based on the annotation.
internal/third_party/kubernetes/pkg/kubelet/types/pod_update.go:46
↓ 2 callers
Method
GetPodsMetadataForNode
(nodeName string)
pkg/util/clusteragent/clusteragent.go:59
↓ 2 callers
Function
GetPreSampleRate
GetPreSampleRate returns the rate at which the trace this span belongs to was sampled by the agent's presampler. NOTE: This defaults to 1 if no rate i
pkg/trace/sampler/sampler.go:112
↓ 2 callers
Method
GetPreferredImageName
(imageID string, repoTags []string, repoDigests []string)
pkg/util/docker/client.go:27
↓ 2 callers
Method
GetPrefix
GetPrefix returns the prefix that we're prefixing all metrics with. For example, for cloudrun, we're using gcp.run.{metric_name}. In this example, `gc
cmd/serverless-init/cloudservice/service.go:24
↓ 2 callers
Function
GetProcContainerID
GetProcContainerID returns the container ID which the process belongs to. Returns "" if the process does not belong to a container.
pkg/security/utils/cgroup.go:83
↓ 2 callers
Function
GetProcControlGroups
GetProcControlGroups returns the cgroup membership of the specified task.
pkg/security/utils/cgroup.go:56
↓ 2 callers
Method
GetProcStats
(pids []int32)
pkg/process/net/shared.go:14
↓ 2 callers
Function
GetProcessArgv
GetProcessArgv returns the unscrubbed args of the event as an array. Use with caution.
pkg/security/resolvers/process/resolver_linux.go:917
↓ 2 callers
Method
GetProcessEnvp
GetProcessEnvp returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6023
↓ 2 callers
Method
GetProcessEvents
(ctx context.Context, in *GetProcessEventParams, opts ...grpc.CallOption)
pkg/eventmonitor/proto/api/api_grpc.pb.go:25
↓ 2 callers
Method
GetProcessExecTime
GetProcessExecTime returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6076
↓ 2 callers
Function
GetProcessFileStats
GetProcessFileStats returns the number of file handles the Agent process has open
pkg/util/process_file_stats_others.go:18
↓ 2 callers
Method
GetProcessForkTime
GetProcessForkTime returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6331
↓ 2 callers
Method
GetProcessPid
GetProcessPid returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:7896
↓ 2 callers
Function
GetProcessRootPath
GetProcessRootPath returns the process root path of the given PID.
pkg/compliance/utils/cgroups_linux.go:30
↓ 2 callers
Function
GetProductUUID
GetProductUUID returns the product UUID
pkg/util/dmi/dmi_nix.go:42
↓ 2 callers
Function
GetProductUUID
GetProductUUID returns an empty string on Windows
pkg/util/dmi/no_dmi.go:30
↓ 2 callers
Method
GetProfileCookie
()
pkg/security/proto/api/api.pb.go:2595
↓ 2 callers
Function
GetProfileForSysObjectID
GetProfileForSysObjectID return a profile for a sys object id
pkg/collector/corechecks/snmp/internal/profile/profile.go:53
↓ 2 callers
Function
GetProfiles
GetProfiles returns profiles depending on various sources: - init config profiles - yaml profiles - downloaded json gzip profiles - remote config prof
pkg/collector/corechecks/snmp/internal/profile/profile.go:23
↓ 2 callers
Function
GetProgramDataDirForProduct
GetProgramDataDirForProduct returns the current programdatadir, usually c:\programdata\Datadog given a product key name
pkg/util/winutil/shutil.go:34
↓ 2 callers
Method
GetProvidedChecks
()
comp/process/runner/component.go:21
↓ 2 callers
Method
GetPulumiStackName
GetPulumiStackName returns the Pulumi stack name The internal Pulumi stack name should normally remain hidden as all the Pulumi interactions should be
test/new-e2e/pkg/utils/infra/stack_manager.go:295
↓ 2 callers
Function
GetQuerySignature
(statement string)
pkg/collector/corechecks/oracle-dbm/common/utils.go:17
↓ 2 callers
Method
GetRawSender
GetRawSender is similar to GetSender, but does not provide the safety wrapper.
pkg/collector/corechecks/checkbase.go:265
↓ 2 callers
Method
GetRemoteStorageFormats
()
pkg/security/proto/api/api.pb.go:1439
↓ 2 callers
Method
GetRemovedServicesForType
GetRemovedServicesForType returns a stream of removed services for a given type.
pkg/logs/service/services.go:89
↓ 2 callers
Method
GetResult
GetResult returns the result of kernel header fetching
pkg/util/kernel/find_headers.go:151
↓ 2 callers
Method
GetRuleDefinition
(filename string)
pkg/security/probe/selftests/tester_linux.go:32
↓ 2 callers
Function
GetRuleEventType
GetRuleEventType return the rule EventType. Currently rules support only one eventType
pkg/security/secl/rules/ruleset.go:414
↓ 2 callers
Method
GetRuleSetReport
(ctx context.Context, in *GetRuleSetReportParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:49
↓ 2 callers
Method
GetRuleSetReport
()
pkg/security/agent/client.go:43
← previous
next →
6,401–6,500 of 32,574, ranked by callers