MCPcopy Create free account

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

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

↓ 4 callersMethodDetectLanguage
(proc Process)
pkg/languagedetection/languagemodels/detector.go:10
↓ 4 callersFunctionDirection
Direction remaps direction from 0 or 1 to respectively ingress or egress.
comp/netflow/format/direction.go:9
↓ 4 callersMethodDirectorRootVersion
DirectorRootVersion returns the version of the director root.json file
pkg/config/remote/uptane/client_state.go:40
↓ 4 callersFunctionDoWithTimeout
DoWithTimeout runs f and returns its error. If the deadline d elapses first, it returns a grpc DeadlineExceeded error instead.
pkg/util/grpc/timeout.go:17
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/network/mock_route_cache_test.go:105
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:31
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:66
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:101
↓ 4 callersFunctionEnableOption
(options *manager.Options, name string)
pkg/network/usm/utils/ebpfoptions.go:31
↓ 4 callersMethodEnrichInferredSpanWithAPIGatewayHTTPEvent
EnrichInferredSpanWithAPIGatewayHTTPEvent uses the parsed event payload to enrich the current inferred span. It applies a specific set of data to the
pkg/serverless/trace/inferredspan/span_enrichment.go:99
↓ 4 callersFunctionEnvVarFilterFromConfig
EnvVarFilterFromConfig returns an EnvFilter based on the options present in the config
pkg/util/containers/env_vars_filter.go:40
↓ 4 callersFunctionEquals
Equals returns whether the two context keys are equal or not.
pkg/aggregator/ckey/key.go:90
↓ 4 callersMethodEvents
Events is a mock method
pkg/util/docker/fake/system_api_client.go:25
↓ 4 callersMethodEvtOpenPublisherMetadata
( PublisherID string, LogFilePath string)
pkg/util/winutil/eventlog/api/types.go:179
↓ 4 callersFunctionExtractTemplatesFromPodAnnotations
ExtractTemplatesFromPodAnnotations looks for autodiscovery configurations in a map of annotations and returns them if found. In order of priority, it
pkg/autodiscovery/common/utils/pod_annotations.go:47
↓ 4 callersMethodFinalize
Finalize finalizes an active dump: envs and args are scrubbed, tags, service and container ID are set. If a cgroup spot can be released, the dump will
pkg/security/security_profile/dump/activity_dump.go:462
↓ 4 callersMethodFindFrame
Find a frame in a prefix of buf, and return the slice containing the content of that frame, together with the total number of bytes in that frame. Re
pkg/logs/internal/framer/matcher.go:16
↓ 4 callersFunctionFindUnexpectedUnicode
FindUnexpectedUnicode reports any _unexpected_ unicode codepoints found in the given 'input' string Unexpected here generally means invisible whitespa
pkg/config/unexpectedunicodefinder.go:23
↓ 4 callersMethodFinishAndGetResults
()
pkg/security/probe/constantfetch/fetcher.go:31
↓ 4 callersFunctionFlush
Flush flushes any pending metrics to the agent.
pkg/trace/metrics/client.go:60
↓ 4 callersMethodForEachErr
ForEachErr applies `callback` to each tag while `callback“ returns nil. The first error is returned.
pkg/tagset/composite_tags.go:76
↓ 4 callersFunctionFormatStatus
FormatStatus takes a json bytestring and prints out the formatted statuspage
pkg/status/render.go:28
↓ 4 callersFunctionFromAgentConfig
FromAgentConfig reads the old agentConfig configuration, converts and merges the values into the current configuration object
pkg/config/legacy/converter.go:21
↓ 4 callersMethodFromConfiguration
FromConfiguration returns true if the hostname was found through the configuration file
pkg/util/hostname/providers.go:125
↓ 4 callersMethodFullConfig
()
pkg/config/settings/api.go:15
↓ 4 callersFunctionGenerateLoggerInterface
GenerateLoggerInterface return a logger Interface from a log config
pkg/config/logs/log.go:202
↓ 4 callersFunctionGenerateRootCert
GenerateRootCert generates a root certificate
pkg/api/security/security.go:70
↓ 4 callersFunctionGet
Get is a high level helper to query an URL and return its body as a string
pkg/util/http/helpers.go:34
↓ 4 callersMethodGet
Get gets an object from the pool.
comp/dogstatsd/packets/pool_manager.go:41
↓ 4 callersMethodGetAddedForType
GetAddedForType returns a channel carrying notifications of new sources with the given type. Any sources added before this call are delivered from a
pkg/logs/sources/sources.go:159
↓ 4 callersFunctionGetAgentConfig
GetAgentConfig reads `datadog.conf` and returns a map that contains the same values as the agentConfig dictionary returned by `get_config()` in config
pkg/config/legacy/importer.go:73
↓ 4 callersFunctionGetAgentSemverVersion
GetAgentSemverVersion returns the agent version as a semver version
pkg/security/utils/utils.go:16
↓ 4 callersFunctionGetAppServicesTags
()
pkg/trace/traceutil/azure.go:40
↓ 4 callersMethodGetAst
GetAst - Returns the representation of the SECL `Expression`
pkg/security/secl/compiler/eval/rule.go:161
↓ 4 callersFunctionGetAuthProtocol
GetAuthProtocol converts auth protocol from string to type
pkg/snmp/gosnmplib/gosnmp_auth.go:16
↓ 4 callersFunctionGetBool
GetBool returns the bool value contained in value. If value is a bool, returns its value If value is a string, it converts "true" to true and "false"
pkg/config/settings/runtime_setting.go:84
↓ 4 callersFunctionGetCABundle
GetCABundle returns the CA certificate contained in the provided Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:87
↓ 4 callersFunctionGetCLCRunnerClient
GetCLCRunnerClient returns or init the CLCRunnerClient
pkg/util/clusteragent/clcrunner.go:53
↓ 4 callersFunctionGetCertFromSecret
GetCertFromSecret returns the x509.Certificate from Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:57
↓ 4 callersMethodGetCheck
GetCheck returns the check output of the specified module
pkg/process/net/check.go:27
↓ 4 callersFunctionGetCloudServiceType
()
cmd/serverless-init/cloudservice/service.go:52
↓ 4 callersMethodGetClusterCheckConfigs
(ctx context.Context, nodeName string)
pkg/util/clusteragent/clusteragent.go:64
↓ 4 callersMethodGetCmdline
()
pkg/languagedetection/languagemodels/detector.go:17
↓ 4 callersFunctionGetDDAgentClient
GetDDAgentClient creates a pb.AgentClient for IPC with the main agent via gRPC. This call is blocking by default, so it is up to the caller to supply
pkg/util/grpc/agent_client.go:59
↓ 4 callersMethodGetDNSNames
()
pkg/security/proto/api/api.pb.go:1851
↓ 4 callersFunctionGetDiskDeviceMapping
GetDiskDeviceMapping scrapes /proc/diskstats to build a mapping from "major:minor" device numbers to device name. It is cached for 1 minute Format: 7
pkg/util/containers/metrics/system/collector_disk_linux.go:78
↓ 4 callersFunctionGetDogStatsDWorkerAndPipelineCount
GetDogStatsDWorkerAndPipelineCount returns how many routines should be spawned for the DogStatsD workers and how many DogStatsD pipeline should be run
pkg/aggregator/demultiplexer.go:139
↓ 4 callersFunctionGetDurationBeforeExpiration
GetDurationBeforeExpiration returns the time.Duration before the TLS certificate expires.
pkg/util/kubernetes/certificate/certificate.go:72
↓ 4 callersMethodGetEndpointName
()
comp/forwarder/defaultforwarder/transaction/transaction.go:218
↓ 4 callersMethodGetEventTypes
GetEventTypes returns all the event types handled by the ruleset
pkg/security/secl/rules/ruleset.go:741
↓ 4 callersMethodGetFieldCapabilities
GetFieldCapabilities returns the field capabilities for a set of capabilities
pkg/security/probe/kfilters/capabilities.go:49
↓ 4 callersMethodGetFieldEventType
GetFieldEventType returns the Event Type for the given Field
pkg/security/secl/compiler/eval/event.go:23
↓ 4 callersMethodGetFieldType
GetFieldType returns the Type of the Field
pkg/security/secl/compiler/eval/event.go:29
↓ 4 callersMethodGetFieldValues
GetFieldValues returns all the values of the given field
pkg/security/secl/rules/ruleset.go:588
↓ 4 callersMethodGetFileInfo
GetFileInfo returns a fs.FileInfo associated to the file whose name is 'path' or 'path/'. Returns an error if the file does not exist
test/fakeintake/client/flare/flare.go:69
↓ 4 callersFunctionGetFilterErrors
GetFilterErrors retrieves a list of errors and warnings resulting from parseFilters
pkg/util/containers/filter.go:204
↓ 4 callersMethodGetFiltered
GetFiltered returns a copy of all store values matched by the `filter` function
pkg/clusteragent/externalmetrics/store.go:88
↓ 4 callersMethodGetFloat64SliceE
(key string)
pkg/config/model/types.go:37
↓ 4 callersMethodGetHost
()
pkg/metrics/metric_sample.go:70
↓ 4 callersFunctionGetHostAliases
GetHostAliases returns the VM name from the IBM Metadata api
pkg/util/cloudproviders/ibm/ibm.go:126
↓ 4 callersFunctionGetHostname
GetHostname builds a hostname from the kubernetes nodename and an optional cluster-name
pkg/util/kubelet/hostname.go:25
↓ 4 callersMethodGetInfo
()
pkg/logs/tailers/tailer.go:16
↓ 4 callersFunctionGetInstanceID
GetInstanceID fetches the instance id for current host from the Tencent metadata API
pkg/util/cloudproviders/tencent/tencent.go:56
↓ 4 callersMethodGetIsolationSegmentForOrg
GetIsolationSegmentForOrg returns an isolation segment for the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:66
↓ 4 callersMethodGetIsolationSegmentForSpace
GetIsolationSegmentForSpace returns an isolation segment for the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:63
↓ 4 callersMethodGetKafkaAggregations
(c network.ConnectionStats)
pkg/network/encoding/kafka.go:53
↓ 4 callersFunctionGetKernelHeaders
GetKernelHeaders fetches and returns kernel headers for the currently running kernel. The first time GetKernelHeaders is called, it will search the h
pkg/util/kernel/find_headers.go:116
↓ 4 callersFunctionGetKubeUtilWithRetrier
GetKubeUtilWithRetrier returns an instance of KubeUtil or a retrier
pkg/util/kubernetes/kubelet/kubelet.go:118
↓ 4 callersMethodGetKubernetesDeployment
GetKubernetesDeployment returns metadata about a Kubernetes deployment. It fetches the entity with kind KindKubernetesDeployment and the given ID.
pkg/workloadmeta/types.go:89
↓ 4 callersMethodGetKubernetesPod
GetKubernetesPod returns metadata about a Kubernetes pod. It fetches the entity with kind KindKubernetesPod and the given ID.
pkg/workloadmeta/types.go:70
↓ 4 callersFunctionGetLoaderErrors
GetLoaderErrors returns the check loader errors
pkg/collector/scheduler.go:272
↓ 4 callersMethodGetMetaCollector
()
pkg/util/containers/metrics/provider/provider.go:71
↓ 4 callersFunctionGetNATLocalAddress
GetNATLocalAddress returns the translated (local ip, local port) pair
pkg/network/nat.go:13
↓ 4 callersFunctionGetNATRemoteAddress
GetNATRemoteAddress returns the translated (remote ip, remote port) pair
pkg/network/nat.go:26
↓ 4 callersFunctionGetNetworkID
GetNetworkID retrieves the network_id which can be used to improve network connection resolution. This can be configured or detected. The following s
pkg/util/cloudproviders/network.go:29
↓ 4 callersFunctionGetNetworkID
GetNetworkID retrieves the network ID using the metadata endpoint. For GCE instances, the the network ID is the VPC ID, if the instance is found to be
pkg/util/cloudproviders/gce/gce.go:193
↓ 4 callersFunctionGetNetworkID
GetNetworkID retrieves the network ID using the EC2 metadata endpoint. For EC2 instances, the the network ID is the VPC ID, if the instance is found t
pkg/util/ec2/network.go:67
↓ 4 callersFunctionGetNextAncestorBinaryOrArgv0
GetNextAncestorBinaryOrArgv0 returns the first ancestor with a different binary, or a different argv0 in the case of busybox processes
pkg/security/security_profile/activity_tree/activity_tree.go:368
↓ 4 callersFunctionGetNumberOfWarnings
GetNumberOfWarnings returns the total number of warnings
pkg/util/http/warnings.go:29
↓ 4 callersMethodGetOS
GetOS is a temporary method while NewVMClient and AgentNewClient require an instance of OS.
test/new-e2e/pkg/utils/e2e/client/pulumi_stack_vm.go:51
↓ 4 callersMethodGetOrigin
GetOrigin returns the value that will be used for the `origin` attribute for all logs, traces, and metrics.
cmd/serverless-init/cloudservice/service.go:18
↓ 4 callersMethodGetPath
GetPath returns the path for the given network namespace
pkg/security/utils/proc.go:63
↓ 4 callersMethodGetPayloadSize
GetPayloadSize returns the size of the payload.
comp/forwarder/defaultforwarder/transaction/transaction.go:270
↓ 4 callersFunctionGetPlaceholderProcessCacheEntry
GetPlaceholderProcessCacheEntry returns an empty process cache entry for failed process resolutions
pkg/security/secl/model/process_cache_entry_unix.go:163
↓ 4 callersFunctionGetPollInterval
GetPollInterval computes the poll interval from the config
pkg/autodiscovery/providers/utils.go:41
↓ 4 callersMethodGetPriority
()
comp/forwarder/defaultforwarder/transaction/transaction.go:217
↓ 4 callersFunctionGetPrivProtocol
GetPrivProtocol converts priv protocol from string to type Related resource: https://github.com/gosnmp/gosnmp/blob/f6fb3f74afc3fb0e5b44b3f60751b988bc9
pkg/snmp/gosnmplib/gosnmp_auth.go:43
↓ 4 callersFunctionGetProcessAPIAddressPort
GetProcessAPIAddressPort returns the API endpoint of the process agent
pkg/config/process.go:234
↓ 4 callersMethodGetProcessEnvs
GetProcessEnvs returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6036
↓ 4 callersMethodGetProcesses
GetProcesses returns all processes for the given app guid in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:51
↓ 4 callersMethodGetProfile
GetProfile returns a profile by its selector
pkg/security/security_profile/profile/manager.go:363
↓ 4 callersFunctionGetPythonInfo
GetPythonInfo returns the info string as provided by the embedded Python interpreter. Example: '3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]'
pkg/collector/python/version.go:21
↓ 4 callersFunctionGetReady
GetReady returns health of all components registered for both readiness and liveness
pkg/status/health/global.go:40
↓ 4 callersFunctionGetRemoteConfigurationAllowedIntegrations
GetRemoteConfigurationAllowedIntegrations returns the list of integrations that can be scheduled with remote-config
pkg/config/config.go:2045
↓ 4 callersFunctionGetResultValueFromPDU
GetResultValueFromPDU converts gosnmp.SnmpPDU to ResultValue See possible types here: https://github.com/gosnmp/gosnmp/blob/master/helper.go#L59-L271
pkg/collector/corechecks/snmp/internal/valuestore/gosnmp_value.go:26
↓ 4 callersMethodGetSelector
()
pkg/security/proto/api/api.pb.go:2588
↓ 4 callersMethodGetServerHealth
GetServerHealth fetches fakeintake health status and returns an error if fakeintake is unhealthy
test/fakeintake/client/client.go:185
↓ 4 callersMethodGetSidecars
GetSidecars returns all sidecars for the given application GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:60
↓ 4 callersMethodGetStackNoDeleteOnFailure
GetStackNoDeleteOnFailure creates or return a stack based on stack name and config, if error occurs during stack creation, it will not destroy the cre
test/new-e2e/pkg/utils/infra/stack_manager.go:118
↓ 4 callersFunctionGetStaticTags
GetStaticTags is similar to GetStaticTagsSlice, but returning a map[string]string containing <key>:<value> pairs for tags. Tags not matching this pat
pkg/util/static_tags.go:74
← previousnext →3,701–3,800 of 32,574, ranked by callers