MCPcopy Create free account

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

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

↓ 1 callersFunctionextractPodsMetric
extractPodsMetric converts Kubernetes PodsMetricSource to our custom one https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go#L262
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/horizontalpodautoscaler.go:144
↓ 1 callersFunctionextractPodsMetricStatus
extractPodsMetricStatus converts Kubernetes PodsMetricStatus to our custom one https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.go
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/horizontalpodautoscaler.go:317
↓ 1 callersFunctionextractPorts
(container types.ContainerJSON)
pkg/workloadmeta/collectors/internal/docker/docker.go:399
↓ 1 callersFunctionextractProxyTarget
(p *procutil.Process)
pkg/process/metadata/parser/dockerproxy.go:131
↓ 1 callersFunctionextractReplicaSetConditions
extractReplicaSetConditions iterates over replicaset conditions and returns: - the payload representation of those conditions - the list of tags that
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/replicaset.go:53
↓ 1 callersFunctionextractResourceMetric
extractResourceMetric converts Kubernetes ResourceMetricSource to our custom one https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/types.
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/horizontalpodautoscaler.go:157
↓ 1 callersFunctionextractResourceMetricStatus
extractResourceMetricStatus converts Kubernetes ResourceMetricStatus to our custom one https://github.com/kubernetes/api/blob/v0.23.15/autoscaling/v2/
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/horizontalpodautoscaler.go:334
↓ 1 callersFunctionextractResources
(spec *kubelet.ContainerSpec)
pkg/workloadmeta/collectors/internal/kubelet/kubelet.go:363
↓ 1 callersFunctionextractRootVersion
(raw []byte)
pkg/remoteconfig/state/tuf.go:226
↓ 1 callersMethodextractSBOMWithTrivy
(ctx context.Context, storedImage *workloadmeta.ContainerImageMetadata, resultChan chan<- sbom.ScanResult)
pkg/workloadmeta/collectors/internal/containerd/image_sbom_trivy.go:123
↓ 1 callersMethodextractSBOMWithTrivy
(ctx context.Context, storedImage *workloadmeta.ContainerImageMetadata, resultChan chan<- sbom.ScanResult)
pkg/workloadmeta/collectors/internal/docker/image_sbom_trivy.go:134
↓ 1 callersFunctionextractServiceMetadata
(cmd []string)
pkg/process/metadata/parser/service.go:128
↓ 1 callersFunctionextractServiceSelector
(ls map[string]string)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/service.go:87
↓ 1 callersFunctionextractShortPathFromFullPath
(fullPath string)
pkg/util/log/zap/zapcore_test.go:46
↓ 1 callersFunctionextractSpec
(pvc *corev1.PersistentVolumeClaim, message *model.PersistentVolumeClaim)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/persistentvolumeclaim.go:38
↓ 1 callersFunctionextractStatefulSetConditions
extractStatefulSetConditions iterates over stateful conditions and returns: - the payload representation of those conditions - the list of tags that w
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/statefulset.go:65
↓ 1 callersFunctionextractStatus
(pvc *corev1.PersistentVolumeClaim, message *model.PersistentVolumeClaim)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/persistentvolumeclaim.go:78
↓ 1 callersFunctionextractStatus
(status containerd.ProcessStatus)
pkg/workloadmeta/collectors/internal/containerd/container_builder.go:128
↓ 1 callersFunctionextractStatus
(containerState *types.ContainerState)
pkg/workloadmeta/collectors/internal/docker/docker.go:466
↓ 1 callersFunctionextractTag
(tags string, name string)
pkg/trace/api/telemetry.go:171
↓ 1 callersMethodextractTagsFromPodContainer
(pod *workloadmeta.KubernetesPod, podContainer workloadmeta.OrchestratorContainer, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:569
↓ 1 callersMethodextractTagsFromPodLabels
(pod *workloadmeta.KubernetesPod, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:505
↓ 1 callersMethodextractTagsFromPodOwner
(pod *workloadmeta.KubernetesPod, owner workloadmeta.KubernetesPodOwner, tags *utils.TagList)
pkg/tagger/collectors/workloadmeta_extract.go:532
↓ 1 callersFunctionextractTaints
(taints []corev1.Taint)
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/node.go:187
↓ 1 callersMethodextractTelemetryTags
extractTelemetryTags returns a slice of tags that have l.telemetryTagNames prefixes.
pkg/aggregator/internal/limiter/limiter.go:117
↓ 1 callersFunctionextractTraceAgentConfig
(agentConfig Config, converter *config.LegacyConfigConverter)
pkg/config/legacy/converter.go:162
↓ 1 callersFunctionextractTraceContext
(event events.SQSMessage)
pkg/serverless/trace/inferredspan/propagation.go:50
↓ 1 callersMethodextractTraceContextFromLayer
(hdr http.Header)
pkg/serverless/trace/propagation/extractor.go:152
↓ 1 callersMethodextractTransactionsForDisk
(payloadSize int)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue.go:225
↓ 1 callersFunctionextractVersionAndDefinition
(evtType *common.EventTypeMetadata)
pkg/security/secl/compiler/generators/accessors/doc/doc.go:402
↓ 1 callersFunctionextractVerticalPodAutoscalerConditions
extractVerticalPodAutoscalerConditions iterates over vpa conditions and returns: - the payload representation of those conditions - the list of tags t
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/verticalpodautoscaler.go:186
↓ 1 callersFunctionextractVerticalPodAutoscalerSpec
extractVerticalPodAutoscalerSpec converts the Kubernetes spec to our custom one https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-auto
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/verticalpodautoscaler.go:44
↓ 1 callersFunctionextractVerticalPodAutoscalerStatus
extractVerticalPodAutoscalerStatus converts Kubernetes PodAutoscalerStatus to our protobuf model https://github.com/kubernetes/autoscaler/blob/master/
pkg/collector/corechecks/cluster/orchestrator/transformers/k8s/verticalpodautoscaler.go:126
↓ 1 callersFunctionextractZip
(ctx context.Context, zipPath, destinationPath string)
cmd/agentless-scanner/main.go:2229
↓ 1 callersFunctionextract_agent_config
(config)
pkg/config/legacy/tests/config.py:522
↓ 1 callersFunctionextract_exception_name
Function to get the exception name and module :param exc_info: :return:
test/e2e/containers/fake_datadog/app/monitoring.py:9
↓ 1 callersFunctionextract_sd_config
Extract configuration about service discovery for the agent
pkg/config/legacy/tests/config.py:549
↓ 1 callersFunctionfakeExpVarServer
(t *testing.T, expVars ProcessExpvars)
pkg/process/util/status/status_test.go:27
↓ 1 callersFunctionfakeStatusServer
(t *testing.T, stats status.Status)
cmd/process-agent/subcommands/status/status_test.go:30
↓ 1 callersFunctionfastrange
Use fastrange instead of a modulo for better performance. See http://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/. Note that
comp/dogstatsd/server/batch.go:69
↓ 1 callersMethodfetchBlock
(blockIndex int32, blockToken string)
cmd/agentless-scanner/ebsblockdevice.go:334
↓ 1 callersFunctionfetchColumnOids
fetchColumnOids has an `oids` argument representing a `map[string]string`, the key of the map is the column oid, and the value is the oid used to fetc
pkg/collector/corechecks/snmp/internal/fetch/fetch_column.go:61
↓ 1 callersFunctionfetchEc2TagsFromAPI
(ctx context.Context)
pkg/util/ec2/ec2_tags.go:90
↓ 1 callersMethodfetchEventsLoop
(sender sender.Sender)
pkg/collector/corechecks/windows_event_log/check.go:98
↓ 1 callersFunctionfetchOsDescription
()
pkg/gohai/platform/platform_windows.go:97
↓ 1 callersFunctionfetchRealisticEventSerializerInner
(tb testing.TB)
pkg/security/tests/serializers_test.go:35
↓ 1 callersFunctionfetchStatus
(statusURL string)
cmd/process-agent/subcommands/status/status.go:107
↓ 1 callersMethodfetchTags
fetchTags fetches tags for the provided workload
pkg/security/resolvers/cgroup/resolver.go:168
↓ 1 callersFunctionfetchWindowsVersion
()
pkg/gohai/platform/platform_windows.go:132
↓ 1 callersFunctionfileActivityNodeToProto
(fan *FileNode)
pkg/security/security_profile/activity_tree/activity_tree_proto_enc_v1.go:167
↓ 1 callersFunctionfileManagerVMStackDef
(localFolderPath string, remoteFolderPath string)
test/new-e2e/examples/customenv_with_filemanager_test.go:27
↓ 1 callersFunctionfileMetaVersion
(fm data.TargetFileMeta)
pkg/remoteconfig/state/configs.go:101
↓ 1 callersFunctionfile_datadog_api_v1_api_proto_init
()
pkg/proto/pbgo/core/api.pb.go:165
↓ 1 callersFunctionfile_datadog_languagedetection_api_proto_init
()
pkg/proto/pbgo/languagedetection/api.pb.go:298
↓ 1 callersFunctionfile_datadog_process_process_proto_init
()
pkg/proto/pbgo/process/process.pb.go:109
↓ 1 callersFunctionfile_datadog_process_process_proto_rawDescGZIP
()
pkg/proto/pbgo/process/process.pb.go:89
↓ 1 callersFunctionfile_datadog_process_workloadmeta_process_proto_init
()
pkg/proto/pbgo/process/workloadmeta_process.pb.go:681
↓ 1 callersFunctionfile_datadog_trace_agent_payload_proto_init
()
pkg/proto/pbgo/trace/agent_payload.pb.go:203
↓ 1 callersFunctionfile_datadog_trace_agent_payload_proto_rawDescGZIP
()
pkg/proto/pbgo/trace/agent_payload.pb.go:179
↓ 1 callersFunctionfile_datadog_trace_span_proto_rawDescGZIP
()
pkg/proto/pbgo/trace/span.pb.go:245
↓ 1 callersFunctionfile_datadog_trace_stats_proto_init
()
pkg/proto/pbgo/trace/stats.pb.go:619
↓ 1 callersFunctionfile_pkg_eventmonitor_proto_api_api_proto_init
()
pkg/eventmonitor/proto/api/api.pb.go:168
↓ 1 callersFunctionfile_pkg_security_proto_api_api_proto_init
()
pkg/security/proto/api/api.pb.go:3425
↓ 1 callersFunctionfilesEqual
(a []string, b []string)
pkg/security/secl/rules/policy_dir.go:140
↓ 1 callersMethodfillCache
()
pkg/collector/corechecks/cluster/orchestrator/discovery/collector_discovery_crd.go:48
↓ 1 callersFunctionfillClusterResourceVersion
(c *model.Cluster)
pkg/collector/corechecks/cluster/orchestrator/processors/k8s/cluster.go:141
↓ 1 callersMethodfillFirstCPUInfo
(firstCPU map[string]string)
pkg/gohai/cpu/cpu_linux_arm64.go:44
↓ 1 callersMethodfillFromEntry
(entry *model.ProcessCacheEntry)
pkg/security/security_profile/activity_tree/activity_tree.go:103
↓ 1 callersMethodfillFromProcEntry
(pe32 *w32.PROCESSENTRY32)
pkg/process/procutil/process_windows_toolhelp.go:232
↓ 1 callersFunctionfillLogTwo
(log plog.LogRecord)
comp/otelcol/otlp/internal/testutil/testutil.go:123
↓ 1 callersMethodfillMemoryInfo
()
pkg/gohai/memory/memory_linux.go:71
↓ 1 callersMethodfillPlatformInfo
()
pkg/gohai/platform/platform_linux.go:85
↓ 1 callersMethodfillProcCPUInfo
()
pkg/gohai/cpu/cpu_linux_arm64.go:79
↓ 1 callersFunctionfillProcessDetails
(pid int32, proc *Process)
pkg/process/procutil/process_windows.go:487
↓ 1 callersFunctionfillSymbol
fillSymbol reads the symbol entry from the symbol section with the first 4 bytes of the name entry (which we read using readSymbolEntryInStringTable).
pkg/network/go/bininspect/symbols.go:91
↓ 1 callersFunctionfilterAndFormatEnvVars
filterAndFormatEnvVars extracts and formats a subset of allowed environment variables.
pkg/workloadmeta/utils.go:54
↓ 1 callersFunctionfilterConfigs
(configs []integration.Config, keep FilterFunc)
pkg/autodiscovery/providers/config_reader.go:144
↓ 1 callersFunctionfilterEnabledChecks
(providedChecks []types.CheckComponent)
comp/process/runner/runnerimpl/runner.go:78
↓ 1 callersFunctionfilterHeaders
FilterHeaders copies the given map and filters out the cookie entry. The resulting map of filtered headers is returned, along with the removed cookie
pkg/serverless/appsec/httpsec/http.go:224
↓ 1 callersFunctionfilterInformerActions
filterInformerActions filters list and watch actions for testing resources. Since list and watch don't change resource state we can filter it to lower
pkg/clusteragent/externalmetrics/utils_for_test.go:100
↓ 1 callersFunctionfilterInstances
(instances []integration.Data, instanceFilter string)
cmd/agent/common/autodiscovery.go:313
↓ 1 callersFunctionfilterIsEmpty
(f filterDefinition)
pkg/collector/corechecks/windows_event_log/filters.go:28
↓ 1 callersFunctionfilterSelectionChange
(doc, sel, options)
cmd/agent/gui/views/private/js/codemirror.js:4976
↓ 1 callersMethodfilterTemplatesContainerCollectAll
filterTemplatesContainerCollectAll drops the container-collect-all template added by the config provider (AddContainerCollectAllConfigs) if the servic
pkg/autodiscovery/listeners/service.go:173
↓ 1 callersMethodfilterTemplatesEmptyOverrides
filterTemplatesEmptyOverrides drops file-based templates if this service is a container or pod and has an empty check_names label/annotation.
pkg/autodiscovery/listeners/service.go:133
↓ 1 callersMethodfilterTemplatesOverriddenChecks
filterTemplatesOverriddenChecks drops file-based templates if this service's labels/annotations specify a check of the same name.
pkg/autodiscovery/listeners/service.go:152
↓ 1 callersFunctionfilterToRegex
filterToRegex checks a filter's regex
pkg/workloadmeta/collectors/internal/kubeapiserver/utils.go:47
↓ 1 callersFunctionfilterUnknownCollectors
(collectors []string, resources []*v1.APIResourceList)
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:357
↓ 1 callersFunctionfilter_lints
Keeps only the lints from a specific team and specific linters. Parameters: filter_team (str): Keep only the lints from the
tasks/show_linters_issues/golangci_lint_parser.py:72
↓ 1 callersMethodfilteredOut
(entity workloadmeta.Entity)
pkg/workloadmeta/collectors/internal/kubeapiserver/deployments.go:32
↓ 1 callersMethodfinalize
()
pkg/network/state.go:1108
↓ 1 callersMethodfindBranch
findBranch2 looks for the provided branch in the list of children. Returns the node that matches the first node of the branch and true if a new entry
pkg/security/security_profile/activity_tree/activity_tree.go:539
↓ 1 callersMethodfindCgroupDump
nolint:deadcode,unused
pkg/security/tests/module_tester.go:2046
↓ 1 callersFunctionfindContainerSpec
(name string, specs []kubelet.ContainerSpec)
pkg/workloadmeta/collectors/internal/kubelet/kubelet.go:376
↓ 1 callersMethodfindDNSNode
(DNSName string, DNSMatchMaxDepth int, DNSType uint16)
pkg/security/security_profile/activity_tree/process_node.go:248
↓ 1 callersFunctionfindDockerNetworks
(procPath string, entry *containerNetworkEntry, container dockerTypes.Container)
pkg/collector/corechecks/containers/docker/check_network.go:190
↓ 1 callersMethodfindFunctionDebugInfoEntries
(functions []string)
pkg/network/go/bininspect/dwarf.go:108
↓ 1 callersMethodfindFunctions
(functions map[string]FunctionConfiguration)
pkg/network/go/bininspect/newproc.go:97
↓ 1 callersMethodfindFunctionsUsingDWARF
(functions []string)
pkg/network/go/bininspect/dwarf.go:87
↓ 1 callersMethodfindInclude
(srcPath string, headerName string)
pkg/ebpf/include_headers.go:212
← previousnext →12,601–12,700 of 32,574, ranked by callers