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
↓ 4 callers
Method
DetectLanguage
(proc Process)
pkg/languagedetection/languagemodels/detector.go:10
↓ 4 callers
Function
Direction
Direction remaps direction from 0 or 1 to respectively ingress or egress.
comp/netflow/format/direction.go:9
↓ 4 callers
Method
DirectorRootVersion
DirectorRootVersion returns the version of the director root.json file
pkg/config/remote/uptane/client_state.go:40
↓ 4 callers
Function
DoWithTimeout
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 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/network/mock_route_cache_test.go:105
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:31
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:66
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/trace/remoteconfighandler/mock_samplers.go:101
↓ 4 callers
Function
EnableOption
(options *manager.Options, name string)
pkg/network/usm/utils/ebpfoptions.go:31
↓ 4 callers
Method
EnrichInferredSpanWithAPIGatewayHTTPEvent
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 callers
Function
EnvVarFilterFromConfig
EnvVarFilterFromConfig returns an EnvFilter based on the options present in the config
pkg/util/containers/env_vars_filter.go:40
↓ 4 callers
Function
Equals
Equals returns whether the two context keys are equal or not.
pkg/aggregator/ckey/key.go:90
↓ 4 callers
Method
Events
Events is a mock method
pkg/util/docker/fake/system_api_client.go:25
↓ 4 callers
Method
EvtOpenPublisherMetadata
( PublisherID string, LogFilePath string)
pkg/util/winutil/eventlog/api/types.go:179
↓ 4 callers
Function
ExtractTemplatesFromPodAnnotations
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 callers
Method
Finalize
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 callers
Method
FindFrame
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 callers
Function
FindUnexpectedUnicode
FindUnexpectedUnicode reports any _unexpected_ unicode codepoints found in the given 'input' string Unexpected here generally means invisible whitespa
pkg/config/unexpectedunicodefinder.go:23
↓ 4 callers
Method
FinishAndGetResults
()
pkg/security/probe/constantfetch/fetcher.go:31
↓ 4 callers
Function
Flush
Flush flushes any pending metrics to the agent.
pkg/trace/metrics/client.go:60
↓ 4 callers
Method
ForEachErr
ForEachErr applies `callback` to each tag while `callback“ returns nil. The first error is returned.
pkg/tagset/composite_tags.go:76
↓ 4 callers
Function
FormatStatus
FormatStatus takes a json bytestring and prints out the formatted statuspage
pkg/status/render.go:28
↓ 4 callers
Function
FromAgentConfig
FromAgentConfig reads the old agentConfig configuration, converts and merges the values into the current configuration object
pkg/config/legacy/converter.go:21
↓ 4 callers
Method
FromConfiguration
FromConfiguration returns true if the hostname was found through the configuration file
pkg/util/hostname/providers.go:125
↓ 4 callers
Method
FullConfig
()
pkg/config/settings/api.go:15
↓ 4 callers
Function
GenerateLoggerInterface
GenerateLoggerInterface return a logger Interface from a log config
pkg/config/logs/log.go:202
↓ 4 callers
Function
GenerateRootCert
GenerateRootCert generates a root certificate
pkg/api/security/security.go:70
↓ 4 callers
Function
Get
Get is a high level helper to query an URL and return its body as a string
pkg/util/http/helpers.go:34
↓ 4 callers
Method
Get
Get gets an object from the pool.
comp/dogstatsd/packets/pool_manager.go:41
↓ 4 callers
Method
GetAddedForType
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 callers
Function
GetAgentConfig
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 callers
Function
GetAgentSemverVersion
GetAgentSemverVersion returns the agent version as a semver version
pkg/security/utils/utils.go:16
↓ 4 callers
Function
GetAppServicesTags
()
pkg/trace/traceutil/azure.go:40
↓ 4 callers
Method
GetAst
GetAst - Returns the representation of the SECL `Expression`
pkg/security/secl/compiler/eval/rule.go:161
↓ 4 callers
Function
GetAuthProtocol
GetAuthProtocol converts auth protocol from string to type
pkg/snmp/gosnmplib/gosnmp_auth.go:16
↓ 4 callers
Function
GetBool
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 callers
Function
GetCABundle
GetCABundle returns the CA certificate contained in the provided Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:87
↓ 4 callers
Function
GetCLCRunnerClient
GetCLCRunnerClient returns or init the CLCRunnerClient
pkg/util/clusteragent/clcrunner.go:53
↓ 4 callers
Function
GetCertFromSecret
GetCertFromSecret returns the x509.Certificate from Secret.Data.
pkg/util/kubernetes/certificate/certificate.go:57
↓ 4 callers
Method
GetCheck
GetCheck returns the check output of the specified module
pkg/process/net/check.go:27
↓ 4 callers
Function
GetCloudServiceType
()
cmd/serverless-init/cloudservice/service.go:52
↓ 4 callers
Method
GetClusterCheckConfigs
(ctx context.Context, nodeName string)
pkg/util/clusteragent/clusteragent.go:64
↓ 4 callers
Method
GetCmdline
()
pkg/languagedetection/languagemodels/detector.go:17
↓ 4 callers
Function
GetDDAgentClient
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 callers
Method
GetDNSNames
()
pkg/security/proto/api/api.pb.go:1851
↓ 4 callers
Function
GetDiskDeviceMapping
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 callers
Function
GetDogStatsDWorkerAndPipelineCount
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 callers
Function
GetDurationBeforeExpiration
GetDurationBeforeExpiration returns the time.Duration before the TLS certificate expires.
pkg/util/kubernetes/certificate/certificate.go:72
↓ 4 callers
Method
GetEndpointName
()
comp/forwarder/defaultforwarder/transaction/transaction.go:218
↓ 4 callers
Method
GetEventTypes
GetEventTypes returns all the event types handled by the ruleset
pkg/security/secl/rules/ruleset.go:741
↓ 4 callers
Method
GetFieldCapabilities
GetFieldCapabilities returns the field capabilities for a set of capabilities
pkg/security/probe/kfilters/capabilities.go:49
↓ 4 callers
Method
GetFieldEventType
GetFieldEventType returns the Event Type for the given Field
pkg/security/secl/compiler/eval/event.go:23
↓ 4 callers
Method
GetFieldType
GetFieldType returns the Type of the Field
pkg/security/secl/compiler/eval/event.go:29
↓ 4 callers
Method
GetFieldValues
GetFieldValues returns all the values of the given field
pkg/security/secl/rules/ruleset.go:588
↓ 4 callers
Method
GetFileInfo
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 callers
Function
GetFilterErrors
GetFilterErrors retrieves a list of errors and warnings resulting from parseFilters
pkg/util/containers/filter.go:204
↓ 4 callers
Method
GetFiltered
GetFiltered returns a copy of all store values matched by the `filter` function
pkg/clusteragent/externalmetrics/store.go:88
↓ 4 callers
Method
GetFloat64SliceE
(key string)
pkg/config/model/types.go:37
↓ 4 callers
Method
GetHost
()
pkg/metrics/metric_sample.go:70
↓ 4 callers
Function
GetHostAliases
GetHostAliases returns the VM name from the IBM Metadata api
pkg/util/cloudproviders/ibm/ibm.go:126
↓ 4 callers
Function
GetHostname
GetHostname builds a hostname from the kubernetes nodename and an optional cluster-name
pkg/util/kubelet/hostname.go:25
↓ 4 callers
Method
GetInfo
()
pkg/logs/tailers/tailer.go:16
↓ 4 callers
Function
GetInstanceID
GetInstanceID fetches the instance id for current host from the Tencent metadata API
pkg/util/cloudproviders/tencent/tencent.go:56
↓ 4 callers
Method
GetIsolationSegmentForOrg
GetIsolationSegmentForOrg returns an isolation segment for the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:66
↓ 4 callers
Method
GetIsolationSegmentForSpace
GetIsolationSegmentForSpace returns an isolation segment for the given GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:63
↓ 4 callers
Method
GetKafkaAggregations
(c network.ConnectionStats)
pkg/network/encoding/kafka.go:53
↓ 4 callers
Function
GetKernelHeaders
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 callers
Function
GetKubeUtilWithRetrier
GetKubeUtilWithRetrier returns an instance of KubeUtil or a retrier
pkg/util/kubernetes/kubelet/kubelet.go:118
↓ 4 callers
Method
GetKubernetesDeployment
GetKubernetesDeployment returns metadata about a Kubernetes deployment. It fetches the entity with kind KindKubernetesDeployment and the given ID.
pkg/workloadmeta/types.go:89
↓ 4 callers
Method
GetKubernetesPod
GetKubernetesPod returns metadata about a Kubernetes pod. It fetches the entity with kind KindKubernetesPod and the given ID.
pkg/workloadmeta/types.go:70
↓ 4 callers
Function
GetLoaderErrors
GetLoaderErrors returns the check loader errors
pkg/collector/scheduler.go:272
↓ 4 callers
Method
GetMetaCollector
()
pkg/util/containers/metrics/provider/provider.go:71
↓ 4 callers
Function
GetNATLocalAddress
GetNATLocalAddress returns the translated (local ip, local port) pair
pkg/network/nat.go:13
↓ 4 callers
Function
GetNATRemoteAddress
GetNATRemoteAddress returns the translated (remote ip, remote port) pair
pkg/network/nat.go:26
↓ 4 callers
Function
GetNetworkID
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 callers
Function
GetNetworkID
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 callers
Function
GetNetworkID
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 callers
Function
GetNextAncestorBinaryOrArgv0
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 callers
Function
GetNumberOfWarnings
GetNumberOfWarnings returns the total number of warnings
pkg/util/http/warnings.go:29
↓ 4 callers
Method
GetOS
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 callers
Method
GetOrigin
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 callers
Method
GetPath
GetPath returns the path for the given network namespace
pkg/security/utils/proc.go:63
↓ 4 callers
Method
GetPayloadSize
GetPayloadSize returns the size of the payload.
comp/forwarder/defaultforwarder/transaction/transaction.go:270
↓ 4 callers
Function
GetPlaceholderProcessCacheEntry
GetPlaceholderProcessCacheEntry returns an empty process cache entry for failed process resolutions
pkg/security/secl/model/process_cache_entry_unix.go:163
↓ 4 callers
Function
GetPollInterval
GetPollInterval computes the poll interval from the config
pkg/autodiscovery/providers/utils.go:41
↓ 4 callers
Method
GetPriority
()
comp/forwarder/defaultforwarder/transaction/transaction.go:217
↓ 4 callers
Function
GetPrivProtocol
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 callers
Function
GetProcessAPIAddressPort
GetProcessAPIAddressPort returns the API endpoint of the process agent
pkg/config/process.go:234
↓ 4 callers
Method
GetProcessEnvs
GetProcessEnvs returns the value of the field, resolving if necessary
pkg/security/secl/model/field_accessors_unix.go:6036
↓ 4 callers
Method
GetProcesses
GetProcesses returns all processes for the given app guid in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:51
↓ 4 callers
Method
GetProfile
GetProfile returns a profile by its selector
pkg/security/security_profile/profile/manager.go:363
↓ 4 callers
Function
GetPythonInfo
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 callers
Function
GetReady
GetReady returns health of all components registered for both readiness and liveness
pkg/status/health/global.go:40
↓ 4 callers
Function
GetRemoteConfigurationAllowedIntegrations
GetRemoteConfigurationAllowedIntegrations returns the list of integrations that can be scheduled with remote-config
pkg/config/config.go:2045
↓ 4 callers
Function
GetResultValueFromPDU
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 callers
Method
GetSelector
()
pkg/security/proto/api/api.pb.go:2588
↓ 4 callers
Method
GetServerHealth
GetServerHealth fetches fakeintake health status and returns an error if fakeintake is unhealthy
test/fakeintake/client/client.go:185
↓ 4 callers
Method
GetSidecars
GetSidecars returns all sidecars for the given application GUID in the cache
pkg/util/cloudproviders/cloudfoundry/cccache.go:60
↓ 4 callers
Method
GetStackNoDeleteOnFailure
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 callers
Function
GetStaticTags
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
← previous
next →
3,701–3,800 of 32,574, ranked by callers