MCPcopy Create free account

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

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

↓ 2 callersFunctionGetHostname
GetHostname attempts to acquire a hostname by connecting to the core agent's gRPC endpoints.
pkg/security/utils/hostname.go:28
↓ 2 callersFunctionGetHostname
GetHostname returns the hostname for docker
pkg/util/docker/global.go:70
↓ 2 callersMethodGetHostname
GetHostname returns the hostname to applied the given log message
pkg/logs/message/message.go:309
↓ 2 callersFunctionGetHypervisorUUID
GetHypervisorUUID returns the hypervisor UUID
pkg/util/dmi/dmi_nix.go:47
↓ 2 callersFunctionGetHypervisorUUID
GetHypervisorUUID returns an empty string on Windows
pkg/util/dmi/no_dmi.go:35
↓ 2 callersMethodGetIDOfCheckWithEncryptedSecrets
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 callersMethodGetInUpperLayer
GetInUpperLayer returns whether a file is in the upper layer
pkg/security/secl/model/model_unix.go:403
↓ 2 callersMethodGetIncludeAnnotations
GetIncludeAnnotations returns the AD include annotations
pkg/autodiscovery/common/types/prometheus.go:228
↓ 2 callersMethodGetInstallFolder
()
test/new-e2e/tests/agent-platform/common/test_client.go:43
↓ 2 callersMethodGetInstance
(context.Context)
pkg/util/ecs/metadata/v1/client.go:35
↓ 2 callersMethodGetInstances
()
pkg/security/proto/api/api.pb.go:2616
↓ 2 callersMethodGetIsReliable
GetIsReliable returns true if the endpoint is reliable. Endpoints are reliable by default.
comp/logs/agent/config/endpoints.go:97
↓ 2 callersMethodGetIterator
GetIterator return an iterator
pkg/security/secl/compiler/eval/model.go:15
↓ 2 callersMethodGetKV
GetKV gets value provided the key.
pkg/util/bimap.go:35
↓ 2 callersMethodGetKVReverse
GetKVReverse gets key provided the value.
pkg/util/bimap.go:50
↓ 2 callersFunctionGetKernelSpec
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 callersMethodGetKernelVersion
GetKernelVersion computes and returns the running kernel version
pkg/security/probe/probe_linux.go:132
↓ 2 callersFunctionGetKubeAPIServerHostname
GetKubeAPIServerHostname returns the hostname from kubeapiserver
pkg/util/kubernetes/hostname.go:19
↓ 2 callersFunctionGetKubeSystemUID
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 callersMethodGetKubernetesClusterID
()
pkg/util/clusteragent/clusteragent.go:66
↓ 2 callersMethodGetKubernetesMetadataNames
(nodeName, ns, podName string)
pkg/util/clusteragent/clusteragent.go:60
↓ 2 callersFunctionGetLanguageAnnotationKey
GetLanguageAnnotationKey returns the language annotation key for the specified container
pkg/languagedetection/util/annotations.go:23
↓ 2 callersMethodGetLastAnomalies
()
pkg/security/proto/api/api.pb.go:2609
↓ 2 callersMethodGetLatency
GetLatency returns the latency delta from ingestion time until now
pkg/logs/message/message.go:304
↓ 2 callersMethodGetListener
GetListener returns the underlying net.Listener
pkg/process/net/common.go:37
↓ 2 callersMethodGetLoaded
()
pkg/proto/pbgo/core/model.pb.go:990
↓ 2 callersMethodGetLoadedInKernel
()
pkg/security/proto/api/api.pb.go:2574
↓ 2 callersMethodGetLocalPodList
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 callersMethodGetLocalPodListWithMetadata
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 callersMethodGetLocalStatsSummary
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:28
↓ 2 callersMethodGetLocalStorageFormats
()
pkg/security/proto/api/api.pb.go:1425
↓ 2 callersMethodGetLostCount
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 callersMethodGetMap
(name string)
pkg/network/tracer/connection/tracer.go:329
↓ 2 callersMethodGetMaxMemSizeInBytes
GetMaxMemSizeInBytes gets the maximum memory usage for storing transactions
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:194
↓ 2 callersMethodGetMetaCustom
GetMetaCustom returns the custom of a particular meta
pkg/config/remote/uptane/local_store.go:154
↓ 2 callersFunctionGetMetaData
GetMetaData returns the container's metadata
cmd/serverless-init/cloudservice/helper/gcp.go:72
↓ 2 callersFunctionGetMetaStruct
GetMetaStruct gets the structured metadata value in the span MetaStruct map.
pkg/trace/traceutil/span.go:121
↓ 2 callersMethodGetMetaTag
(tag string)
pkg/serverless/appsec/httpsec/tags.go:74
↓ 2 callersFunctionGetMetric
GetMetric gets the metadata value in the span Metrics map.
pkg/trace/traceutil/span.go:136
↓ 2 callersMethodGetMetricNames
GetMetricNames fetches fakeintake on `/api/v2/series` endpoint and returns all received metric names
test/fakeintake/client/client.go:210
↓ 2 callersFunctionGetMutexProfileFraction
GetMutexProfileFraction returns the current fraction of mutexes that generate profile data.
pkg/util/profiling/runtime.go:42
↓ 2 callersFunctionGetNamedSecurityInfo
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 callersFunctionGetNetFlow5Packet
GetNetFlow5Packet parses our saved netflow5 packet.
comp/netflow/testutil/testutil.go:255
↓ 2 callersFunctionGetNetNamespaces
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 callersFunctionGetNetNsInoFromPid
GetNetNsInoFromPid gets the network namespace inode number for the given `pid`
pkg/util/kernel/netns.go:129
↓ 2 callersMethodGetNetworkTags
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 callersFunctionGetNextColumnOidNaive
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 callersFunctionGetNodeAnnotations
GetNodeAnnotations returns node labels for this host
pkg/util/kubernetes/hostinfo/node_annotations.go:19
↓ 2 callersMethodGetNodeAnnotations
(nodeName string)
pkg/util/clusteragent/clusteragent.go:57
↓ 2 callersMethodGetNodeClusterNameLabel
GetNodeClusterNameLabel returns clustername by fetching a node label
pkg/util/kubernetes/hostinfo/cluster_name_from_node_label.go:36
↓ 2 callersMethodGetNodeLabels
GetNodeLabels returns node labels for this host
pkg/util/kubernetes/hostinfo/node_labels.go:46
↓ 2 callersMethodGetNodeLabels
(nodeName string)
pkg/util/clusteragent/clusteragent.go:56
↓ 2 callersMethodGetObfuscatedStatement
(o *obfuscate.Obfuscator, statement string)
pkg/collector/corechecks/oracle-dbm/oracle.go:331
↓ 2 callersMethodGetOffsetConstants
GetOffsetConstants returns the offsets and struct sizes constants
pkg/security/probe/probe_linux.go:1828
↓ 2 callersMethodGetOpenConnectionStats
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 callersMethodGetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/cloudrun.go:47
↓ 2 callersMethodGetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/containerapp.go:65
↓ 2 callersMethodGetOrigin
GetOrigin returns the `origin` attribute type for the given cloud service.
cmd/serverless-init/cloudservice/appservice.go:45
↓ 2 callersMethodGetOutputPath
GetOutputPath returns the output path to the file in the storage
pkg/security/config/dump.go:83
↓ 2 callersMethodGetPIDs
(cacheValidity time.Duration)
pkg/util/cgroups/cgroupv1_pids.go:33
↓ 2 callersMethodGetPacketChannelSize
GetPacketChannelSize returns the default size for the packets channel
pkg/snmp/traps/config/config.go:164
↓ 2 callersMethodGetParent
()
pkg/security/security_profile/activity_tree/process_node.go:25
↓ 2 callersFunctionGetParentPid
GetParentPid looks up the parent process given a pid
pkg/process/procutil/process_windows_toolhelp.go:268
↓ 2 callersFunctionGetPayload
GetPayload builds a payload of all the agentchecks metadata
pkg/collector/metadata/agentchecks/agentchecks.go:24
↓ 2 callersMethodGetPayload
()
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:221
↓ 2 callersMethodGetPeerTags
()
pkg/proto/pbgo/trace/stats.pb.go:492
↓ 2 callersMethodGetPersistentVolumeClaimNames
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 callersFunctionGetPodSource
GetPodSource returns the source of the pod based on the annotation.
internal/third_party/kubernetes/pkg/kubelet/types/pod_update.go:46
↓ 2 callersMethodGetPodsMetadataForNode
(nodeName string)
pkg/util/clusteragent/clusteragent.go:59
↓ 2 callersFunctionGetPreSampleRate
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 callersMethodGetPreferredImageName
(imageID string, repoTags []string, repoDigests []string)
pkg/util/docker/client.go:27
↓ 2 callersMethodGetPrefix
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 callersFunctionGetProcContainerID
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 callersFunctionGetProcControlGroups
GetProcControlGroups returns the cgroup membership of the specified task.
pkg/security/utils/cgroup.go:56
↓ 2 callersMethodGetProcStats
(pids []int32)
pkg/process/net/shared.go:14
↓ 2 callersFunctionGetProcessArgv
GetProcessArgv returns the unscrubbed args of the event as an array. Use with caution.
pkg/security/resolvers/process/resolver_linux.go:917
↓ 2 callersMethodGetProcessEnvp
GetProcessEnvp returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6023
↓ 2 callersMethodGetProcessEvents
(ctx context.Context, in *GetProcessEventParams, opts ...grpc.CallOption)
pkg/eventmonitor/proto/api/api_grpc.pb.go:25
↓ 2 callersMethodGetProcessExecTime
GetProcessExecTime returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6076
↓ 2 callersFunctionGetProcessFileStats
GetProcessFileStats returns the number of file handles the Agent process has open
pkg/util/process_file_stats_others.go:18
↓ 2 callersMethodGetProcessForkTime
GetProcessForkTime returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6331
↓ 2 callersMethodGetProcessPid
GetProcessPid returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:7896
↓ 2 callersFunctionGetProcessRootPath
GetProcessRootPath returns the process root path of the given PID.
pkg/compliance/utils/cgroups_linux.go:30
↓ 2 callersFunctionGetProductUUID
GetProductUUID returns the product UUID
pkg/util/dmi/dmi_nix.go:42
↓ 2 callersFunctionGetProductUUID
GetProductUUID returns an empty string on Windows
pkg/util/dmi/no_dmi.go:30
↓ 2 callersMethodGetProfileCookie
()
pkg/security/proto/api/api.pb.go:2595
↓ 2 callersFunctionGetProfileForSysObjectID
GetProfileForSysObjectID return a profile for a sys object id
pkg/collector/corechecks/snmp/internal/profile/profile.go:53
↓ 2 callersFunctionGetProfiles
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 callersFunctionGetProgramDataDirForProduct
GetProgramDataDirForProduct returns the current programdatadir, usually c:\programdata\Datadog given a product key name
pkg/util/winutil/shutil.go:34
↓ 2 callersMethodGetProvidedChecks
()
comp/process/runner/component.go:21
↓ 2 callersMethodGetPulumiStackName
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 callersFunctionGetQuerySignature
(statement string)
pkg/collector/corechecks/oracle-dbm/common/utils.go:17
↓ 2 callersMethodGetRawSender
GetRawSender is similar to GetSender, but does not provide the safety wrapper.
pkg/collector/corechecks/checkbase.go:265
↓ 2 callersMethodGetRemoteStorageFormats
()
pkg/security/proto/api/api.pb.go:1439
↓ 2 callersMethodGetRemovedServicesForType
GetRemovedServicesForType returns a stream of removed services for a given type.
pkg/logs/service/services.go:89
↓ 2 callersMethodGetResult
GetResult returns the result of kernel header fetching
pkg/util/kernel/find_headers.go:151
↓ 2 callersMethodGetRuleDefinition
(filename string)
pkg/security/probe/selftests/tester_linux.go:32
↓ 2 callersFunctionGetRuleEventType
GetRuleEventType return the rule EventType. Currently rules support only one eventType
pkg/security/secl/rules/ruleset.go:414
↓ 2 callersMethodGetRuleSetReport
(ctx context.Context, in *GetRuleSetReportParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:49
↓ 2 callersMethodGetRuleSetReport
()
pkg/security/agent/client.go:43
← previousnext →6,401–6,500 of 32,574, ranked by callers