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
Method
GetRuleSetTag
GetRuleSetTag gets the value of the "ruleset" tag, which is the tag of the rules that belong in this rule set
pkg/security/secl/rules/ruleset.go:230
↓ 2 callers
Method
GetRunnerWorkers
(IP string)
pkg/util/clusteragent/clcrunner.go:40
↓ 2 callers
Function
GetRunningCheckCount
GetRunningCheckCount is used to get the value of 'RunningChecks' expvar
pkg/collector/runner/expvars/expvars.go:217
↓ 2 callers
Method
GetSafe
GetSafe is Get(), but it returns 'unknown host' if anything goes wrong.
comp/core/hostname/component.go:24
↓ 2 callers
Method
GetScalarValue
GetScalarValue look for oid in ResultValueStore and returns the value and boolean weather valid value has been found
pkg/collector/corechecks/snmp/internal/valuestore/values.go:36
↓ 2 callers
Function
GetSelfPodName
GetSelfPodName returns hostname from DD_POD_NAME in helm chart, if not found, use os.hostname
pkg/util/kubernetes/apiserver/common/common_linux.go:19
↓ 2 callers
Function
GetServerGroupsAndResources
GetServerGroupsAndResources accesses the api server to retrieve the registered groups and resources
pkg/collector/corechecks/cluster/orchestrator/discovery/collector_discovery.go:68
↓ 2 callers
Method
GetServiceID
GetServiceID returns the AD entity ID of the service.
pkg/autodiscovery/listeners/service.go:42
↓ 2 callers
Function
GetServiceMonitor
GetServiceMonitor returns a service monitor object
pkg/util/winutil/scmmonitor.go:43
↓ 2 callers
Method
GetServiceName
GetServiceName returns the value stored in the environment variable DD_SERVICE. Also assigned into `lp.serviceName` if not previously set
pkg/serverless/invocationlifecycle/lifecycle.go:334
↓ 2 callers
Method
GetStack
GetStack creates or return a stack based on stack name and config, if error occurs during stack creation it destroy all the resources created
test/new-e2e/pkg/utils/infra/stack_manager.go:103
↓ 2 callers
Method
GetStart
()
pkg/security/proto/api/api.pb.go:1655
↓ 2 callers
Method
GetStart
()
pkg/proto/pbgo/trace/span.pb.go:143
↓ 2 callers
Function
GetStats
GetStats not implemented
pkg/clusteragent/clusterchecks/handler_api_nocompile.go:43
↓ 2 callers
Function
GetStats
GetStats returns the stats from all modules, namespaced by their names
cmd/system-probe/api/module/loader.go:139
↓ 2 callers
Function
GetStatus
GetStatus returns status info for the Custom Metrics Server.
pkg/clusteragent/custommetrics/status.go:20
↓ 2 callers
Function
GetStatus
GetStatus returns a Status object with runtime information about process-agent
pkg/process/util/status/status.go:150
↓ 2 callers
Function
GetStatus
GetStatus returns the status of the DatadogClient
pkg/util/kubernetes/autoscalers/datadogclient.go:217
↓ 2 callers
Method
GetStorage
()
pkg/security/proto/api/api.pb.go:2171
↓ 2 callers
Method
GetStorageType
GetStorageType returns the storage type of the ActivityDumpLocalStorage
pkg/security/security_profile/dump/remote_storage.go:79
↓ 2 callers
Method
GetString
GetString wraps Viper for concurrent access
pkg/config/model/viper.go:215
↓ 2 callers
Function
GetSubprocessContextCancel
GetSubprocessContextCancel gets the subprocess context and cancel function for the current subprocess context.
pkg/collector/python/subprocesses.go:28
↓ 2 callers
Function
GetSystemProbeStats
GetSystemProbeStats returns the expvar stats of the system probe
pkg/status/status_system_probe.go:17
↓ 2 callers
Method
GetTableName
()
pkg/security/probe/kfilters/kfilters_bpf.go:20
↓ 2 callers
Function
GetTagName
GetTagName returns the key of a tag in the tag_name:tag_value format
pkg/security/utils/tags.go:29
↓ 2 callers
Method
GetTags
GetTags returns a map of gcp-related tags.
cmd/serverless-init/cloudservice/cloudrun.go:25
↓ 2 callers
Method
GetTags
GetTags returns a map of Azure-related tags
cmd/serverless-init/cloudservice/containerapp.go:31
↓ 2 callers
Method
GetTags
GetTags returns a map of Azure-related tags
cmd/serverless-init/cloudservice/appservice.go:25
↓ 2 callers
Function
GetTagsFromALBTargetGroupRequest
GetTagsFromALBTargetGroupRequest returns a tagset containing http tags from an ALBTargetGroupRequest
pkg/serverless/trigger/extractor.go:178
↓ 2 callers
Function
GetTagsFromAPIGatewayCustomAuthorizerEvent
GetTagsFromAPIGatewayCustomAuthorizerEvent returns a tagset containing http tags from an APIGatewayCustomAuthorizerRequest
pkg/serverless/trigger/extractor.go:144
↓ 2 callers
Function
GetTagsFromAPIGatewayCustomAuthorizerRequestTypeEvent
GetTagsFromAPIGatewayCustomAuthorizerRequestTypeEvent returns a tagset containing http tags from an APIGatewayCustomAuthorizerRequestTypeRequest
pkg/serverless/trigger/extractor.go:163
↓ 2 callers
Function
GetTagsFromAPIGatewayV2HTTPRequest
GetTagsFromAPIGatewayV2HTTPRequest returns a tagset containing http tags from an APIGatewayProxyRequest
pkg/serverless/trigger/extractor.go:126
↓ 2 callers
Method
GetTagsFromDLRP
GetTagsFromDLRP returns a set of tags extracted from DLRP - names and guids for app, space and org
pkg/util/cloudproviders/cloudfoundry/types.go:360
↓ 2 callers
Function
GetTagsFromLambdaFunctionURLRequest
GetTagsFromLambdaFunctionURLRequest returns a tagset containing http tags from a LambdaFunctionURLRequest
pkg/serverless/trigger/extractor.go:195
↓ 2 callers
Method
GetTargetTPS
()
pkg/trace/writer/trace.go:33
↓ 2 callers
Method
GetTimeWindow
GetTimeWindow gets the time window for the metric, if unset defaults to max age.
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:178
↓ 2 callers
Method
GetTimestamp
()
pkg/proto/pbgo/core/model.pb.go:853
↓ 2 callers
Method
GetTracedPrograms
()
pkg/network/usm/utils/debugger.go:47
↓ 2 callers
Method
GetTrapMetadata
(trapOID string)
pkg/snmp/traps/oid_resolver/oid_resolver.go:41
↓ 2 callers
Method
GetUnresolvedTemplates
GetUnresolvedTemplates returns all templates in the cache, in their unresolved state.
pkg/autodiscovery/autoconfig.go:402
↓ 2 callers
Method
GetUsage
(path string)
comp/forwarder/defaultforwarder/internal/retry/disk_usage_limit.go:24
↓ 2 callers
Function
GetUsernameForProcess
GetUsernameForProcess returns username for a process
pkg/process/procutil/process_windows.go:556
↓ 2 callers
Function
GetValueFromPDU
GetValueFromPDU converts the value from an SnmpPDU to a standard type
pkg/snmp/gosnmplib/gosnmp_utils.go:43
↓ 2 callers
Method
GetVersion
()
pkg/collector/corechecks/snmp/internal/session/session.go:36
↓ 2 callers
Function
GetWarningsCount
GetWarningsCount is used to get the value of 'Warnings' expvar
pkg/collector/runner/expvars/expvars.go:246
↓ 2 callers
Function
GetWindowsBuildString
GetWindowsBuildString retrieves the windows build version by querying the resource string as directed here https://msdn.microsoft.com/en-us/library/wi
pkg/util/winutil/winver.go:34
↓ 2 callers
Method
GetWorkloadSelector
GetWorkloadSelector returns the workload selector of the dump
pkg/security/security_profile/dump/activity_dump.go:235
↓ 2 callers
Method
GetWorkspacePath
GetWorkspacePath returns the directory for local Pulumi workspace. Since one Workspace supports one single program and we have one program per stack,
test/new-e2e/pkg/runner/profile.go:52
↓ 2 callers
Method
Got
()
pkg/trace/api/api_test.go:646
↓ 2 callers
Function
HTTPHeaders
HTTPHeaders returns a http headers including various basic information (User-Agent, Content-Type...).
pkg/util/common.go:156
↓ 2 callers
Method
HandleActivityDump
(dump *api.ActivityDumpStreamMessage)
pkg/security/security_profile/dump/manager.go:44
↓ 2 callers
Method
HandleCGroupTracingEvent
HandleCGroupTracingEvent handles a cgroup tracing event
pkg/security/security_profile/dump/manager.go:447
↓ 2 callers
Function
HandleSignals
HandleSignals tells us whether we should exit.
pkg/process/util/signal_windows.go:19
↓ 2 callers
Method
HasConstantsInStore
HasConstantsInStore returns true if there is constants in store in BTFHub
pkg/security/probe/constantfetch/btfhub.go:69
↓ 2 callers
Method
HaveMmapableMaps
HaveMmapableMaps returns whether the kernel supports mmapable maps.
pkg/security/ebpf/kernel/kernel.go:290
↓ 2 callers
Method
Historate
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:27
↓ 2 callers
Function
HostnameFromBytes
HostnameFromBytes converts a byte slice representing a hostname to a dns.Hostname
pkg/network/dns/types.go:26
↓ 2 callers
Function
I
(e,t,n,r)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Method
ID
ID returns the ID of the event consumer
pkg/eventmonitor/eventmonitor.go:67
↓ 2 callers
Method
ID
ID returns the ID of the check
pkg/collector/python/check.go:350
↓ 2 callers
Method
ID
()
pkg/collector/runner/runner_test.go:45
↓ 2 callers
Method
ID
()
pkg/collector/worker/worker_test.go:43
↓ 2 callers
Function
Identifier
Identifier returns a string that uniquely identifies a source
pkg/logs/tailers/windowsevent/tailer.go:142
↓ 2 callers
Method
Identifier
Identifier returns a string that uniquely identifies a source
pkg/logs/tailers/docker/tailer.go:101
↓ 2 callers
Method
Identifier
Identifier returns the cgroup identifier that was generated by the selected `Filter` (default: folder name)
pkg/util/cgroups/cgroup.go:15
↓ 2 callers
Method
ImageHistory
ImageHistory returns the history for a given image ID
pkg/util/docker/docker_util.go:280
↓ 2 callers
Method
IncError
IncError is a no-op here
pkg/util/backoff/backoff.go:119
↓ 2 callers
Method
IncrementCacheAge
IncrementCacheAge increments one cycle of cache memory age. If it reaches cacheMaxCycles, the cache is restarted
pkg/process/procutil/data_scrubber.go:158
↓ 2 callers
Function
InfocStackDepth
InfocStackDepth logs at the info level with context and the current stack depth plus the additional given one
pkg/util/log/log.go:642
↓ 2 callers
Function
Init
Init instantiates the builder that builds the status on the fly.
pkg/logs/status/status.go:98
↓ 2 callers
Function
Init
Init configures the driver and will disable it if closed source is not allowed
pkg/network/driver/driver_windows.go:29
↓ 2 callers
Method
Init
Init initializes the check
pkg/process/checks/checks.go:52
↓ 2 callers
Method
Init
Init() implements application initialization and is run when the service status is SERVICE_START_PENDING. The service status is set to SERVICE_RUNNING
pkg/util/winutil/servicemain/servicemain.go:64
↓ 2 callers
Function
InitAndStartServerlessDemultiplexer
InitAndStartServerlessDemultiplexer creates and starts new Demultiplexer for the serverless agent.
pkg/aggregator/demultiplexer_serverless.go:40
↓ 2 callers
Function
InitConfigFilesReader
InitConfigFilesReader initializes the config files reader. It reads all configs and caches them in memory for 5 minutes. InitConfigFilesReader should
pkg/autodiscovery/providers/config_reader.go:68
↓ 2 callers
Function
InitTestAgentDemultiplexerWithOpts
InitTestAgentDemultiplexerWithFlushInterval inits a TestAgentDemultiplexer with the given options.
pkg/aggregator/demultiplexer_mock.go:162
↓ 2 callers
Function
InitUserSessionTypes
InitUserSessionTypes initializes internal structures for parsing Type values
pkg/security/secl/model/usersession/user_session.go:28
↓ 2 callers
Function
Initialize
(paths ...string)
pkg/collector/python/init.go:355
↓ 2 callers
Function
InitializeDecoder
InitializeDecoder returns a properly initialized Decoder
pkg/logs/internal/decoder/decoder.go:77
↓ 2 callers
Function
InjectAgent
(pid int, agent string, args string)
pkg/network/protocols/tls/java/jattach.go:36
↓ 2 callers
Function
InjectUserSessionCmd
InjectUserSessionCmd handles inject commands
cmd/cws-instrumentation/subcommands/injectcmd/inject.go:59
↓ 2 callers
Method
Insert
Insert inserts the provided event in the active ActivityDump. This function returns true if a new entry was added, false if the event was dropped.
pkg/security/security_profile/dump/activity_dump.go:506
↓ 2 callers
Method
Insert
Insert inserts a new key in the map
pkg/security/utils/stringkeys.go:33
↓ 2 callers
Method
InsertBindEvent
InsertBindEvent inserts a bind even inside a socket node
pkg/security/security_profile/activity_tree/socket_node.go:32
↓ 2 callers
Method
InsertFileEvent
InsertFileEvent inserts an event in a FileNode. This function returns true if a new entry was added, false if the event was dropped.
pkg/security/security_profile/activity_tree/file_node.go:129
↓ 2 callers
Method
InsertFileEvent
InsertFileEvent inserts the provided file event in the current node. This function returns true if a new entry was added, false if the event was dropp
pkg/security/security_profile/activity_tree/process_node.go:206
↓ 2 callers
Function
InsertionSort
InsertionSort sorts in-place the given elements, not doing any allocation. It is very efficient for on slices but if memory allocation is not an issue
pkg/util/sort/sort.go:17
↓ 2 callers
Method
InspectNoCache
InspectNoCache returns a docker inspect object for a given container ID. It ignores the inspect cache, always collecting fresh data from the docker da
pkg/util/docker/docker_util.go:338
↓ 2 callers
Function
IntArrayGreaterOrEqualThan
(a *IntEvaluator, b *IntArrayEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:1713
↓ 2 callers
Function
IntArrayGreaterThan
(a *IntEvaluator, b *IntArrayEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:1632
↓ 2 callers
Function
IntArrayLesserOrEqualThan
(a *IntEvaluator, b *IntArrayEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:1875
↓ 2 callers
Function
IntArrayLesserThan
(a *IntEvaluator, b *IntArrayEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:1794
↓ 2 callers
Method
IntDigest
IntDigest returns a hash value representing the data stored in the configuration.
pkg/autodiscovery/integration/config.go:367
↓ 2 callers
Function
IntEquals
(a *IntEvaluator, b *IntEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:9
↓ 2 callers
Method
Ioctl
Ioctl passes an ioctl() through to the underlying handle
pkg/windowsdriver/olreader/olreader.go:147
↓ 2 callers
Function
IsAlphaNumeric
IsAlphaNumeric returns whether a character is either a digit or a letter
pkg/security/secl/model/strings.go:16
↓ 2 callers
Function
IsAnalyzedSpan
IsAnalyzedSpan checks if a span is analyzed
pkg/trace/sampler/sampler.go:163
↓ 2 callers
Function
IsAutoconfigEnabled
IsAutoconfigEnabled returns if autoconfig from environment is activated or not
pkg/config/env/environment_detection.go:78
↓ 2 callers
Function
IsAvailable
IsAvailable returns if a socket at path is available first boolean returns if socket path exists second boolean returns if socket is reachable
pkg/util/system/socket/socket.go:21
↓ 2 callers
Method
IsCheckScheduled
IsCheckScheduled returns whether a check is in the schedule or not
pkg/collector/scheduler/scheduler.go:213
← previous
next →
6,501–6,600 of 32,574, ranked by callers