MCPcopy Create free account

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

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

↓ 2 callersFunctionBatchPayloads
BatchPayloads batch NDM metadata payloads
pkg/networkdevice/metadata/payload_utils.go:11
↓ 2 callersFunctionBoolArrayEquals
(a *BoolEvaluator, b *BoolArrayEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:1551
↓ 2 callersFunctionBoolEquals
(a *BoolEvaluator, b *BoolEvaluator, state *State)
pkg/security/secl/compiler/eval/eval_operators.go:405
↓ 2 callersFunctionBt
(t,i,o,a)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callersFunctionBuildEndpointsWithConfig
BuildEndpointsWithConfig returns the endpoints to send logs.
comp/logs/agent/config/config.go:110
↓ 2 callersFunctionBuildMetricTagsFromValue
BuildMetricTagsFromValue returns tags based on MetricTagConfig and a value
pkg/collector/corechecks/snmp/internal/checkconfig/config_metric.go:18
↓ 2 callersFunctionBuildStackParameters
BuildStackParameters creates a config map from a profile, a scenario config map and env/cli configuration parameters
test/new-e2e/pkg/runner/configmap.go:92
↓ 2 callersMethodBuildStatus
BuildStatus generates a new status for `DatadogMetric` based on current status and information from `DatadogMetricInternal` The updated condition refe
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:213
↓ 2 callersFunctionBuildTagsFromMap
BuildTagsFromMap builds an array of tag based on map of tags
pkg/serverless/tags/tags.go:155
↓ 2 callersFunctionBuildTracerTags
BuildTracerTags builds a map of tag from an existing map of tag removing useless tags for traces
pkg/serverless/tags/tags.go:161
↓ 2 callersFunctionByFamily
ByFamily matches connections with the same family (IPv4 / IPv6)
pkg/network/conn_filter.go:47
↓ 2 callersFunctionByType
ByType matches connections with the same connection type (TCP/UDP)
pkg/network/conn_filter.go:40
↓ 2 callersMethodByteKeyNAT
ByteKeyNAT returns a unique key for this connection represented as a byte slice. The format is similar to the one emitted by `ByteKey` with the sole d
pkg/network/event_common.go:325
↓ 2 callersFunctionBytesFormat
BytesFormat converts a uint64 into a nice string
pkg/util/winutil/etw/etw-utils.go:222
↓ 2 callersFunctionCIDRArrayContains
CIDRArrayContains evaluates a CIDR against a list of CIDRs
pkg/security/secl/compiler/eval/operators.go:1052
↓ 2 callersFunctionCIDRArrayMatchesAll
CIDRArrayMatchesAll ensures that all values from a and b match.
pkg/security/secl/compiler/eval/operators.go:1044
↓ 2 callersFunctionCacheWithCallback
CacheWithCallback the result of a function call, with the ability to flush the cache. The provided callback function will be called when the cache is
pkg/util/funcs/cache.go:65
↓ 2 callersFunctionCanUseLeases
CanUseLeases returns if leases can be used for leader election. If the resource is defined in the config It uses it. Otherwise it uses the discovery c
pkg/util/kubernetes/apiserver/leaderelection/leaderelection.go:301
↓ 2 callersMethodCancelIoEx
(ol *windows.Overlapped)
pkg/network/driver/handle.go:156
↓ 2 callersFunctionCapEffCapEprm
CapEffCapEprm returns the effective and permitted kernel capabilities of a process
pkg/security/utils/proc.go:134
↓ 2 callersMethodCapture
Capture start the traffic capture and writes the packets to file at the specified location and for the specified duration.
comp/dogstatsd/replay/writer.go:171
↓ 2 callersFunctionChangeLogLevel
ChangeLogLevel changes the current log level, valid levels are trace, debug, info, warn, error, critical and off, it requires a new seelog logger beca
pkg/util/log/log.go:878
↓ 2 callersMethodCheck
(taggerKey ckey.TagsKey, taggerTags, metricTags []string)
pkg/aggregator/internal/tags_limiter/tags_limiter.go:35
↓ 2 callersMethodCheckForCrash
CheckForCrash uses the system probe crash module to check for a crash
pkg/util/winutil/crashreport/crashreport.go:100
↓ 2 callersMethodCheckPortBound
CheckPortBound check if the port is currently bound, use netstat or ss
test/new-e2e/tests/agent-platform/common/test_client.go:87
↓ 2 callersFunctionCheckRuleID
CheckRuleID validates a ruleID
pkg/security/secl/validators/ruleid.go:17
↓ 2 callersFunctionChunkManifest
ChunkManifest is to chunk Manifest payloads
pkg/collector/corechecks/cluster/orchestrator/processors/processor.go:189
↓ 2 callersFunctionCleanHostnameDir
CleanHostnameDir returns a hostname normalized to be uses as a directory name.
pkg/util/hostname/validate/normalize.go:53
↓ 2 callersMethodClear
Clear reinitializes the buffer.
pkg/logs/sender/message_buffer.go:40
↓ 2 callersMethodClose
Close cleans up any resources used by the TrafficCaptureReader, should not normally be called directly.
comp/dogstatsd/replay/reader.go:141
↓ 2 callersFunctionCodeMirror
(place, options)
cmd/agent/gui/views/private/js/codemirror.js:7718
↓ 2 callersMethodCollect
Collect is responsible of populating a list of Config instances by retrieving configuration patterns from external resources.
pkg/autodiscovery/providers/providers.go:51
↓ 2 callersFunctionCollectorContainerPayload
CollectorContainerPayload serializes an agentmodel.CollectorContainer into a []byte payload. It should use the same serialization steps as the process
test/fakeintake/fixtures/process.go:293
↓ 2 callersFunctionCollectorProcDiscoveryPayload
CollectorProcDiscoveryPayload serializes an agentmodel.CollectorProcDiscovery into a []byte payload. It should use the same serialization steps as the
test/fakeintake/fixtures/process.go:558
↓ 2 callersFunctionCollectorProcPayload
CollectorProcPayload serializes an agentmodel.CollectorProc into a []byte payload. It should use the same serialization steps as the process-agent's E
test/fakeintake/fixtures/process.go:32
↓ 2 callersFunctionCommands
Commands returns a slice of subcommands for the `events` command in the Process Agent
cmd/process-agent/subcommands/events/events.go:56
↓ 2 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/snmp/command.go:85
↓ 2 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/status/command.go:50
↓ 2 callersFunctionCommands
Commands returns a slice of subcommands for the 'agent' command.
cmd/agent/subcommands/run/command.go:142
↓ 2 callersFunctionCompileStringsToRegex
CompileStringsToRegex compile each word in the slice into a regex pattern to match against the cmdline arguments The word must contain only word chara
pkg/process/procutil/data_scrubber.go:65
↓ 2 callersFunctionComposeConstantFetchers
ComposeConstantFetchers creates a new ComposeConstantFetcher based on the passed fetchers
pkg/security/probe/constantfetch/fetcher.go:44
↓ 2 callersFunctionConcatenateStringTags
ConcatenateStringTags adds string tags to existing tag array
pkg/tagger/utils/concat.go:27
↓ 2 callersMethodConfigGetState
ConfigGetState returns the state of the configuration and the director repos in the local store
pkg/config/remote/service/service.go:607
↓ 2 callersMethodConfigSnapshotVersion
ConfigSnapshotVersion returns the version of the config snapshot.json file
pkg/config/remote/uptane/client_state.go:31
↓ 2 callersFunctionConfigsForPod
ConfigsForPod returns the openmetrics configurations for a given pod if it matches the AD configuration
pkg/autodiscovery/common/utils/prometheus_kubelet.go:22
↓ 2 callersFunctionConfigsForService
ConfigsForService returns the openmetrics configurations for a given service if it matches the AD configuration
pkg/autodiscovery/common/utils/prometheus_apiserver.go:29
↓ 2 callersFunctionConfigure
Configure creates a statsd client from a dogweb.ini style config file and set it to the global Statsd.
pkg/process/statsd/statsd.go:21
↓ 2 callersMethodConfigure
Configure configures the Oracle check.
pkg/collector/corechecks/oracle-dbm/oracle.go:276
↓ 2 callersFunctionConfigureGlobalBBSCache
ConfigureGlobalBBSCache configures the global instance of BBSCache from provided config
pkg/util/cloudproviders/cloudfoundry/bbscache.go:77
↓ 2 callersFunctionConfigureGlobalCCCache
ConfigureGlobalCCCache configures the global instance of CCCache from provided config
pkg/util/cloudproviders/cloudfoundry/cccache.go:115
↓ 2 callersMethodConfigureOptions
ConfigureOptions configures the provided Manager and Options structs with additional options necessary for the program to work, such as options depend
pkg/network/protocols/protocols.go:33
↓ 2 callersFunctionConnectToDocker
ConnectToDocker connects to docker and negotiates the API version
pkg/util/docker/docker_util.go:86
↓ 2 callersFunctionConnectionSummary
ConnectionSummary returns a string summarizing a connection
pkg/network/event_common.go:373
↓ 2 callersMethodConsumeMetrics
(ctx context.Context, ld pmetric.Metrics)
comp/otelcol/otlp/internal/serializerexporter/exporter.go:176
↓ 2 callersFunctionContainerFilter
ContainerFilter returns a filter that will match cgroup folders containing a container id
pkg/util/cgroups/reader.go:61
↓ 2 callersMethodContainerLogs
(ctx context.Context, container string, options types.ContainerLogsOptions)
pkg/logs/tailers/docker/tailer.go:37
↓ 2 callersFunctionContainsOutOfMemoryLog
ContainsOutOfMemoryLog determines whether a runtime specific out of memory string is found in the log line
pkg/serverless/metrics/enhanced_metrics.go:115
↓ 2 callersFunctionConvertFlowWithAdditionalFields
ConvertFlowWithAdditionalFields convert goflow flow structure and additional fields to internal flow structure
comp/netflow/goflowlib/convert.go:49
↓ 2 callersFunctionConvertFromFilledProcess
ConvertFromFilledProcess takes a FilledProcess object and convert it into Process
pkg/process/procutil/process_model.go:246
↓ 2 callersFunctionConvertFromIOStats
ConvertFromIOStats converts gopsutil IOCountersStat object to IOCounterStat in procutil
pkg/process/procutil/process_model.go:303
↓ 2 callersFunctionConvertMetric
ConvertMetric converts prometheus metric to datadog compatible metrics
comp/netflow/goflowlib/metric.go:146
↓ 2 callersFunctionConvertWindowsString16
ConvertWindowsString16 converts a windows c-string into a go string. Even though the input is array of uint8, the underlying data is expected to be u
pkg/util/winutil/winstrings.go:57
↓ 2 callersMethodCopy
Copy makes a copy of CheckConfig
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:599
↓ 2 callersMethodCopyFile
CopyFile copies the content of 'srcFile' to the root of the flare. The data is automatically scrubbed of any sensitive informations before being copi
comp/core/flare/types/types.go:74
↓ 2 callersMethodCopyWithNewIP
CopyWithNewIP makes a copy of CheckConfig with new IP
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:655
↓ 2 callersMethodCount
(name string, value int64, tags []string, rate float64)
pkg/trace/metrics/client.go:17
↓ 2 callersFunctionCountProcessesFileDescriptors
CountProcessesFileDescriptors returns the sum of open file descriptors for all given PIDs. Failed PIDs are silently skipped. A boolean is returned to
pkg/util/system/file_linux.go:21
↓ 2 callersMethodCountSamplingPriority
CountSamplingPriority increments the counter of observed traces with the given sampling priority by 1
pkg/trace/info/stats.go:325
↓ 2 callersFunctionCreateConfig
CreateConfig builds and returns a log config
cmd/serverless-init/log/log.go:38
↓ 2 callersFunctionCreateDCAArchive
CreateDCAArchive packages up the files
pkg/flare/archive_dca.go:32
↓ 2 callersFunctionCreateInventoryPayload
CreateInventoryPayload returns an initialized InventoryPayload. 'getPayload' will be called each time a new payload needs to be generated.
comp/metadata/internal/util/inventory_payload.go:105
↓ 2 callersFunctionCreateOrGetClusterAgentAuthToken
CreateOrGetClusterAgentAuthToken load the authentication token from: 1st. the configuration value of "cluster_agent.auth_token" in datadog.yaml 2nd. f
pkg/api/security/security.go:183
↓ 2 callersFunctionCreateSecurityAgentArchive
CreateSecurityAgentArchive packages up the files
pkg/flare/archive_security.go:22
↓ 2 callersFunctionCreateTestV1Packet
CreateTestV1Packet generates a sample SNMP version 1 packet for a trap.
pkg/snmp/traps/packet/test_helpers.go:102
↓ 2 callersFunctionCriticalcStackDepth
CriticalcStackDepth logs at the critical level with context and the current stack depth plus the additional given one and returns an error containing
pkg/util/log/log.go:750
↓ 2 callersFunctionCurDir
()
pkg/network/protocols/http/testutil/testutil.go:166
↓ 2 callersMethodCustomQueries
()
pkg/collector/corechecks/oracle-dbm/custom_queries.go:40
↓ 2 callersFunctionDebugServerless
DebugServerless logs at the debug level only in a serverless context
pkg/util/log/log_serverless.go:11
↓ 2 callersFunctionDebugcStackDepth
DebugcStackDepth logs at the debug level with context and the current stack depth plus the additional given one
pkg/util/log/log.go:602
↓ 2 callersFunctionDebugfServerless
DebugfServerless logs with format at the debug level only in a serverless context
pkg/util/log/log_serverless.go:16
↓ 2 callersMethodDecError
DecError is a no-op here
pkg/util/backoff/backoff.go:125
↓ 2 callersMethodDecodeActivityDump
(path string)
pkg/security/tests/module_tester.go:1935
↓ 2 callersMethodDecodeFromReader
DecodeFromReader decodes an activity dump from a reader with the provided format
pkg/security/security_profile/dump/activity_dump.go:807
↓ 2 callersMethodDecodeProtobuf
DecodeProtobuf decodes an activity dump as Protobuf
pkg/security/security_profile/dump/activity_dump.go:821
↓ 2 callersMethodDecrypt
(context.Context, *kms.DecryptInput, ...func(*kms.Options))
pkg/serverless/apikey/api_key.go:46
↓ 2 callersFunctionDefaultRuleFilter
DefaultRuleFilter implements the default filtering of benchmarks' rules. It will exclude rules based on the evaluation context / environment running t
pkg/compliance/agent.go:133
↓ 2 callersMethodDelCacheEntries
DelCacheEntries removes all the entries belonging to a mountID
pkg/security/resolvers/dentry/resolver.go:178
↓ 2 callersMethodDelete
Delete deletes strings for a given namespace.
pkg/clusteragent/api/v1/types.go:94
↓ 2 callersFunctionDeleteRunningStats
DeleteRunningStats clears the start time of a check when it's complete
pkg/collector/runner/expvars/expvars.go:207
↓ 2 callersMethodDeleteTranslation
(network.ConnectionStats)
pkg/network/netlink/conntracker.go:47
↓ 2 callersMethodDeleteWithTags
DeleteWithTags deletes the value for the counter with the given tags. Even if less convenient, this signature could be used in hot path instead of Del
comp/core/telemetry/counter.go:31
↓ 2 callersMethodDelta
Delta returns the delta between the base and the currrent report in percentage
pkg/security/tests/module_stresser.go:133
↓ 2 callersMethodDeregisterEventSource
(EventLog EventSourceHandle)
pkg/util/winutil/eventlog/api/types.go:201
↓ 2 callersMethodDestroy
Destroy delete the NDM stack. Deprecated, should port to NDM
test/new-e2e/tests/ndm/snmp/snmpTestEnv.go:124
↓ 2 callersMethodDetectOpenShiftAPILevel
DetectOpenShiftAPILevel looks at known endpoints to detect if OpenShift APIs are available on this apiserver. OpenShift transitioned from a non-standa
pkg/util/kubernetes/apiserver/openshift.go:20
↓ 2 callersMethodDidFlush
()
comp/logs/agent/serverless_mock.go:18
↓ 2 callersMethodDidRotate
DidRotate returns true if the file has been log-rotated. On *nix, when a log rotation occurs, the file can be either: - renamed and recreated - remov
pkg/logs/tailers/file/rotate_nix.go:23
↓ 2 callersFunctionDiffExternalMetrics
DiffExternalMetrics returns the list of external metrics that reference hpas that are not in the given list of hpas.
pkg/util/kubernetes/autoscalers/autoscalers.go:172
↓ 2 callersMethodDifferentiateArgs
DifferentiateArgs enables the args differentiation feature
pkg/security/security_profile/activity_tree/activity_tree.go:240
↓ 2 callersMethodDirectorTargetsVersion
DirectorTargetsVersion returns the version of the director targets.json file
pkg/config/remote/uptane/client_state.go:49
← previousnext →6,101–6,200 of 32,574, ranked by callers