MCPcopy Create free account

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

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

↓ 2 callersMethodrun
()
comp/netflow/flowaggregator/aggregator.go:123
↓ 2 callersMethodrun
run performs runs for CheckWithRealTime checks
pkg/process/checks/runner.go:51
↓ 2 callersMethodrun
(t *testing.T)
pkg/process/util/chunking_test.go:54
↓ 2 callersMethodrunCheckDevice
(deviceCk *devicecheck.DeviceCheck)
pkg/collector/corechecks/snmp/snmp.go:105
↓ 2 callersFunctionrunCollectorTestWithAPIKeys
(t *testing.T, check checks.Check, epConfig *endpointConfig, apiKeys, orchAPIKeys []string, mockConfig ddconfi
pkg/process/runner/collector_api_test.go:546
↓ 2 callersFunctionrunCommand
()
cmd/agentless-scanner/main.go:256
↓ 2 callersFunctionrunConntrackerTest
(t *testing.T, name string, createFn func(*testing.T, *config.Config) (netlink.Conntracker, error))
pkg/network/tracer/conntracker_test.go:47
↓ 2 callersFunctionrunEncoding
(b *testing.B, encode func(ad *dump.ActivityDump) (*bytes.Buffer, error))
pkg/security/tests/activity_dumps_encoding_test.go:33
↓ 2 callersFunctionrunHardlinkTests
(t *testing.T, opts testOpts)
pkg/security/tests/hardlink_test.go:20
↓ 2 callersFunctionrunMapOnRefTest
(t *testing.T, nodeName string, pods []*kubelet.Pod, endpointsList v1.EndpointsList, expectedMapping apiv1.Nam
pkg/util/kubernetes/apiserver/services_kubelet_test.go:244
↓ 2 callersFunctionrunMapServicesTest
(t *testing.T, nodeName string, pods []*kubelet.Pod, endpointsList v1.EndpointsList, expectedMapping apiv1.Nam
pkg/util/kubernetes/apiserver/services_kubelet_test.go:252
↓ 2 callersFunctionrunMode
(cm, text, mode, context, f, lineClasses, forceToEnd)
cmd/agent/gui/views/private/js/codemirror.js:1655
↓ 2 callersFunctionrunParseMetricBenchmark
(b *testing.B, multipleValues bool)
comp/dogstatsd/server/convert_bench_test.go:34
↓ 2 callersMethodrunProcessor
(sender sender.Sender)
pkg/collector/corechecks/containers/cri/check.go:103
↓ 2 callersMethodrunProcessor
(sender sender.Sender)
pkg/collector/corechecks/containers/containerd/check.go:139
↓ 2 callersMethodrunRequest
(r constantRequest)
pkg/security/probe/constantfetch/core.go:64
↓ 2 callersFunctionrunRequestOnBTFType
(r constantRequest, ty btf.Type)
pkg/security/probe/constantfetch/core.go:126
↓ 2 callersFunctionrunRequestOnBTFTypeStructOrUnion
(r constantRequest, size uint32, members []btf.Member)
pkg/security/probe/constantfetch/core.go:140
↓ 2 callersMethodrunSamplers
runSamplers runs all the agent's samplers on pt and returns the sampling decision along with the sampling rate.
pkg/trace/agent/agent.go:577
↓ 2 callersFunctionrunTestHTTPSerializeDeserializeWithResolver
(t *testing.T, d string, r resolver.DomainResolver)
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer_test.go:38
↓ 2 callersFunctionrunTimeout
(fun)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 2 callersFunctionrunTraceFilteringBenchmark
(b *testing.B, root *pb.Span, require []*config.Tag, reject []*config.Tag, requireRegex []*config.TagRegex, re
pkg/trace/agent/agent_test.go:965
↓ 2 callersFunctionrun_functional_tests
(ctx, testsuite, verbose=False, testflags='', fentry=False)
tasks/security_agent.py:177
↓ 2 callersFunctionrun_golangci_lint
( ctx, module_path, targets, rtloader_root=None, build_tags=None, build="test", ar
tasks/go.py:31
↓ 2 callersFunctionrun_tidy
(ctx, files, build_flags, fix=False, fail_on_issue=False, checks=None)
tasks/system_probe.py:1007
↓ 2 callersFunctionruneBytes
runeBytes converts the given rune to a slice of bytes.
pkg/obfuscate/sql_tokenizer.go:919
↓ 2 callersFunctions
(o,u)
cmd/agent/gui/views/private/js/ejs.min.js:1
↓ 2 callersFunctionsampler
(samples []map[string]disk.IOCountersStat, names ...string)
pkg/collector/corechecks/system/disk/iostats_test.go:101
↓ 2 callersMethodsamplingRate
samplingRate returns the rate as defined by the probabilistic sampler.
pkg/trace/api/otlp.go:148
↓ 2 callersMethodsanitizedConfig
sanitizedConfig sets default values for the config
pkg/logs/launchers/windowsevent/launcher.go:95
↓ 2 callersFunctionsave
()
cmd/agent/gui/views/private/js/codemirror.js:9484
↓ 2 callersFunctionsaveAuthToken
writes auth token(s) to a file with the same permissions as datadog.yaml
pkg/api/security/security.go:236
↓ 2 callersMethodsaveBookmark
(bookmarkXML string)
pkg/collector/corechecks/windows_event_log/bookmark.go:73
↓ 2 callersFunctionsaveHostname
(cacheHostnameKey string, hostname string, providerName string)
pkg/util/hostname/providers.go:134
↓ 2 callersMethodsaveLastBookmark
saveLastBookmark saves/persists the last unsaved bookmark. Used to always save the bookmark before the check ends, regardless of bookmarkFrequency.
pkg/collector/corechecks/windows_event_log/bookmark.go:63
↓ 2 callersMethodscan
scan returns the next token, it's type and a bool. The boolean specifies if the returned token was the last one.
pkg/obfuscate/redis_tokenizer.go:69
↓ 2 callersMethodscan
(ctx context.Context, artifact artifact.Artifact, applier applier.Applier, imgMeta *workloadmeta.ContainerImag
pkg/util/trivy/trivy.go:311
↓ 2 callersFunctionscanEBSSbomEntity
(trivyReport *types.Report, scan *scanTask, duration time.Duration)
cmd/agentless-scanner/scanner_vulns.go:147
↓ 2 callersMethodscanFilesystem
(ctx context.Context, path string, imgMeta *workloadmeta.ContainerImageMetadata, scanOptions sbom.ScanOptions)
pkg/util/trivy/trivy.go:286
↓ 2 callersMethodscanImage
(ctx context.Context, fanalImage ftypes.Image, imgMeta *workloadmeta.ContainerImageMetadata, scanOptions sbom.
pkg/util/trivy/trivy.go:334
↓ 2 callersMethodscrapeOpenmetricsEndpoint
(sender sender.Sender)
pkg/collector/corechecks/containers/containerd/check.go:163
↓ 2 callersFunctionscrollToCoordsRange
(cm, from, to, margin)
cmd/agent/gui/views/private/js/codemirror.js:3456
↓ 2 callersFunctionscrubMessage
(message string)
cmd/agent/subcommands/status/command.go:109
↓ 2 callersMethodscrubReader
scrubReader applies the cleaning algorithm to a Reader
pkg/util/scrubber/scrubber.go:132
↓ 2 callersFunctionsearchInVisualLine
(partPos, dir, wrappedLineExtent)
cmd/agent/gui/views/private/js/codemirror.js:6808
↓ 2 callersFunctionsearchNetFlowDataSets
(dataFlowSet []netflow.DataFlowSet, fieldsConfig map[uint16]config.Mapping)
comp/netflow/goflowlib/additionalfields/netflow.go:75
↓ 2 callersMethodselect_pod_name
(self, label_selector)
test/e2e/cws-tests/tests/lib/kubernetes.py:23
↓ 2 callersMethodsendBandwidthUsageMetric
* sendBandwidthUsageMetric evaluate and report input/output bandwidth usage. If any of `ifHCInOctets`, `ifHCOutOctets` or `ifHighSpeed` is missing th
pkg/collector/corechecks/snmp/internal/report/report_bandwidth_usage.go:59
↓ 2 callersMethodsendEventToSpecificEventTypeHandlers
(event *model.Event)
pkg/security/probe/probe_linux.go:417
↓ 2 callersMethodsendEvents
(start time.Time, events event.Events)
pkg/aggregator/aggregator.go:653
↓ 2 callersMethodsendEvents
(sender sender.Sender)
pkg/collector/corechecks/cluster/helm/events.go:49
↓ 2 callersFunctionsendFile
(t *testing.T, c SyscallConn, f *os.File, offset *int64, count int)
pkg/network/tracer/tracer_linux_test.go:1587
↓ 2 callersMethodsendIfSpeedMetric
(symbolName string, customSpeed uint64, ifHighSpeed uint64, tags []string)
pkg/collector/corechecks/snmp/internal/report/report_bandwidth_usage.go:135
↓ 2 callersMethodsendIfSpeedMetrics
(symbol profiledefinition.SymbolConfig, fullIndex string, values *valuestore.ResultValueStore, tags []string)
pkg/collector/corechecks/snmp/internal/report/report_bandwidth_usage.go:112
↓ 2 callersMethodsendInterfaceVolumeMetrics
sendInterfaceVolumeMetrics is responsible for handling special interface related metrics like: - bandwidth usage metric - if speed metrics based on cu
pkg/collector/corechecks/snmp/internal/report/report_bandwidth_usage.go:32
↓ 2 callersMethodsendLine
sendBuffer forwards the content stored in the buffer
pkg/logs/internal/decoder/line_parser.go:146
↓ 2 callersMethodsendMetric
(s sender.Sender, r SysmetricsRowDB, seen map[string]bool)
pkg/collector/corechecks/oracle-dbm/sysmetrics.go:118
↓ 2 callersFunctionsendMsg
(stream pbgo.ProcessEntityStream_StreamEntitiesServer, msg *pbgo.ProcessStreamResponse)
pkg/process/metadata/workloadmeta/grpc.go:120
↓ 2 callersMethodsendOrchestratorManifests
(start time.Time, senderManifests []*senderOrchestratorManifest)
pkg/aggregator/aggregator.go:323
↓ 2 callersFunctionsendPayloads
sendPayloads sends the payload p to all senders.
pkg/trace/writer/sender.go:450
↓ 2 callersMethodsendPayloads
()
pkg/trace/writer/stats.go:153
↓ 2 callersMethodsendRemoteConfigEvent
getRemoteConfigPatchEvent fills out and sends a telemetry event to the Datadog backend to indicate that a remote config has been successfully patched
pkg/clusteragent/telemetry/collector.go:125
↓ 2 callersMethodsendResult
sendResult sends a ScanResult to the channel associated with the scan request. This function should not be blocking
pkg/sbom/scanner/scanner.go:42
↓ 2 callersMethodsendServiceChecks
(start time.Time, serviceChecks servicecheck.ServiceChecks)
pkg/aggregator/aggregator.go:598
↓ 2 callersMethodsendStats
()
pkg/security/module/cws.go:249
↓ 2 callersMethodsendStats
()
pkg/eventmonitor/eventmonitor.go:216
↓ 2 callersMethodsendTelemetry
sendTelemetry converts the cached telemetry values and forwards them as telemetry metrics
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:821
↓ 2 callersFunctionsendTestV1GenericTrap
(t *testing.T, trapConfig *config.TrapsConfig, community string)
pkg/snmp/traps/listener/test_helpers.go:21
↓ 2 callersFunctionsendTestV2Trap
(t *testing.T, trapConfig *config.TrapsConfig, community string)
pkg/snmp/traps/listener/test_helpers.go:57
↓ 2 callersFunctionsendTestV3Trap
(t *testing.T, trapConfig *config.TrapsConfig, securityParams *gosnmp.UsmSecurityParameters)
pkg/snmp/traps/listener/test_helpers.go:75
↓ 2 callersMethodsendUsageMetrics
()
pkg/collector/corechecks/sbom/check.go:212
↓ 2 callersFunctionsend_metrics
(series)
tasks/libs/datadog_api.py:19
↓ 2 callersFunctionsend_slack_message
(recipient, message)
tasks/libs/pipeline_notifications.py:184
↓ 2 callersMethodsenderStopped
senderStopped must be called when sender stop calling Append. This method must only be called by the sender. It is automatically called by StartItera
pkg/metrics/iterable_metrics.go:71
↓ 2 callersFunctionserializeMarshaller
serializeMarshaller serializes the marshaller and returns both the compressed and uncompressed payloads
pkg/serializer/split/split.go:161
↓ 2 callersMethodserializePayload
( jsonMarshaler marshaler.JSONMarshaler, protoMarshaler marshaler.ProtoMarshaler, compress bool, useV1API
pkg/serializer/serializer.go:173
↓ 2 callersMethodserializePayloadInternal
(payload marshaler.AbstractMarshaler, compress bool, extraHeaders http.Header, marshalFct split.MarshalFct)
pkg/serializer/serializer.go:206
↓ 2 callersMethodserializePayloadProto
(payload marshaler.ProtoMarshaler, compress bool)
pkg/serializer/serializer.go:196
↓ 2 callersFunctionservicesDiffer
servicesDiffer compares two services to only go forward when relevant fields are changed. This logic must be updated if more fields are used.
pkg/autodiscovery/listeners/kube_services.go:193
↓ 2 callersFunctionsetBoundedConfigIntValue
(configKey string, upperBound int, setter func(v int))
pkg/orchestrator/config/config.go:179
↓ 2 callersFunctionsetConfigMapFromParameter
(store parameters.Store, cm ConfigMap, paramName parameters.StoreKey, configMapKey string, secret bool)
test/new-e2e/pkg/runner/configmap.go:74
↓ 2 callersMethodsetCurrentMemSizeInBytes
(count int)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:240
↓ 2 callersMethodsetCurrentSizeInBytes
(count int64)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:282
↓ 2 callersFunctionsetDefaultCommandIfNonePresent
(rootCmd *cobra.Command)
cmd/system-probe/main_common.go:17
↓ 2 callersFunctionsetDirectionClass
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4689
↓ 2 callersFunctionsetEnforceStatus
(status string)
pkg/security/tests/selinux_test.go:262
↓ 2 callersMethodsetFilesCount
(count int)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:286
↓ 2 callersFunctionsetFlavor
(t *testing.T, newFlavor string)
pkg/process/metadata/workloadmeta/collector/process_test.go:57
↓ 2 callersFunctionsetHostEntry
setHostEntry adds an entry in /etc/hosts for the given hostname and hostIP if there is already an entry for that hostname, it is replaced
test/new-e2e/tests/agent-shared-components/forwarder/nss_failover_test.go:236
↓ 2 callersMethodsetIDsOfChecksWithSecrets
(checkIDs map[checkid.ID]checkid.ID)
pkg/autodiscovery/store.go:210
↓ 2 callersFunctionsetJSONError
(w http.ResponseWriter, err error, errorCode int)
cmd/process-agent/api/util.go:18
↓ 2 callersMethodsetLastSince
(since string)
pkg/logs/tailers/docker/tailer.go:151
↓ 2 callersFunctionsetLastUpdatedAnnotation
(cm *v1.ConfigMap)
pkg/clusteragent/custommetrics/store_configmap.go:202
↓ 2 callersFunctionsetNetIPV4TCPTimestamp
(t *testing.T, enable bool)
pkg/network/protocols/http/testutil/testutil.go:48
↓ 2 callersFunctionsetOTLPSpan
setOTLPSpan configures span based on s.
pkg/trace/testutil/otlp.go:67
↓ 2 callersFunctionsetParentRelationship
(parent ProcessNodeParent, node *ProcessNode)
pkg/security/security_profile/activity_tree/activity_tree_test.go:74
↓ 2 callersFunctionsetPathname
(fileEvent *model.FileEvent, pathnameStr string)
pkg/security/resolvers/process/resolver_linux.go:609
↓ 2 callersFunctionsetPredictedUtilization
(distribution checksDistribution)
pkg/clusteragent/clusterchecks/dispatcher_rebalance.go:432
↓ 2 callersFunctionsetQueryTelemtry
(handler, namespace string, startTime time.Time, err error)
pkg/clusteragent/externalmetrics/telemetry.go:82
↓ 2 callersMethodsetResolveWarning
setResolveWarning will safely set the error for a check configuration file
pkg/autodiscovery/stats.go:73
← previousnext →8,901–9,000 of 32,574, ranked by callers