MCPcopy Create free account

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

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

↓ 1 callersFunctionbuildMetric
(cinfo connectorInfo, failType, result string)
test/new-e2e/system-probe/connector/main.go:179
↓ 1 callersFunctionbuildMetricsMap
(cfg PipelineConfig)
comp/otelcol/otlp/map_provider.go:41
↓ 1 callersFunctionbuildNetworkDeviceMetadata
(deviceID string, idTags []string, config *checkconfig.CheckConfig, store *metadata.Store, tags []string, devi
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:177
↓ 1 callersFunctionbuildNetworkIPAddressesMetadata
(deviceID string, store *metadata.Store)
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:270
↓ 1 callersFunctionbuildNetworkInterfacesMetadata
(deviceID string, store *metadata.Store)
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:231
↓ 1 callersFunctionbuildNetworkStats
(procPath string, pids []int)
pkg/util/containers/metrics/system/collector_network_linux.go:25
↓ 1 callersFunctionbuildNetworkTopologyMetadata
(deviceID string, store *metadata.Store, interfaces []devicemetadata.InterfaceMetadata)
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:296
↓ 1 callersFunctionbuildNetworkTopologyMetadataWithCDP
(deviceID string, store *metadata.Store, interfaces []devicemetadata.InterfaceMetadata)
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:383
↓ 1 callersFunctionbuildNetworkTopologyMetadataWithLLDP
(deviceID string, store *metadata.Store, interfaces []devicemetadata.InterfaceMetadata)
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:310
↓ 1 callersFunctionbuildPIDHash
Build a hash pid -> ppid
pkg/gohai/processes/gops/process_info_linux.go:9
↓ 1 callersFunctionbuildPIDStats
(cgs *cgroups.PIDStats)
pkg/util/containers/metrics/system/collector_linux.go:359
↓ 1 callersFunctionbuildRawSample
(tagCount int, multipleValues bool)
comp/dogstatsd/server/convert_bench_test.go:17
↓ 1 callersFunctionbuildReceiverMap
(cfg PipelineConfig)
comp/otelcol/otlp/map_provider.go:64
↓ 1 callersFunctionbuildRegex
(matchRe string, matchType string)
comp/dogstatsd/mapper/mapper.go:98
↓ 1 callersFunctionbuildRegoModules
(rootDir string, rule *Rule)
pkg/compliance/evaluator_rego.go:144
↓ 1 callersFunctionbuildSelfSignedKeyPair
()
cmd/agent/api/security.go:49
↓ 1 callersFunctionbuildSuite
(name string, rules ...*assertedRule)
pkg/compliance/tests/helpers.go:302
↓ 1 callersFunctionbuildTags
(tagCount int)
comp/dogstatsd/server/enrich_bench_test.go:15
↓ 1 callersFunctionbuildTestConfiguration
()
test/new-e2e/system-probe/test-runner/main.go:292
↓ 1 callersFunctionbuildTestFactories
(t *testing.T)
comp/otelcol/otlp/internal/configutils/utils_test.go:32
↓ 1 callersFunctionbuildTokenBadBidi
(inner, order)
cmd/agent/gui/views/private/js/codemirror.js:1927
↓ 1 callersFunctionbuildTracerArguments
buildTracerArguments returns the command line arguments we'll pass to the injected tracer.
pkg/network/usm/ebpf_javatls.go:303
↓ 1 callersFunctionbuildTracesMap
(cfg PipelineConfig)
comp/otelcol/otlp/map_provider.go:26
↓ 1 callersMethodbuildURL
TODO: remove when we drop compatibility with older Agents, see end of `init()`
pkg/util/clusteragent/clusteragent.go:288
↓ 1 callersFunctionbuildVolume
(volumeName, path string, readOnly bool)
pkg/clusteragent/admission/mutate/config.go:140
↓ 1 callersFunctionbuild_compatible_version_re
Returns a regex that matches only versions whose major version is in the provided list of allowed_major_versions, and whose minor version mat
tasks/release.py:358
↓ 1 callersFunctionbuild_compiler
(ctx)
tasks/kmt.py:214
↓ 1 callersFunctionbuild_constants
(top_node)
docs/cloud-workload-security/scripts/secl-doc-gen.py:90
↓ 1 callersFunctionbuild_embed_latency_tools
(ctx, static=True)
tasks/security_agent.py:275
↓ 1 callersFunctionbuild_embed_syscall_tester
(ctx, arch=CURRENT_ARCH, static=True)
tasks/security_agent.py:306
↓ 1 callersFunctionbuild_event_types
(top_node)
docs/cloud-workload-security/scripts/secl-doc-gen.py:58
↓ 1 callersFunctionbuild_go_syscall_tester
(ctx, build_dir)
tasks/security_agent.py:212
↓ 1 callersFunctionbuild_new_vmset
(set_id, kernels)
tasks/kernel_matrix_testing/vmconfig.py:299
↓ 1 callersFunctionbuild_properties_doc
(top_node)
docs/cloud-workload-security/scripts/secl-doc-gen.py:71
↓ 1 callersFunctionbuild_rc
(ctx, rc_file, arch='x64', vars=None, out=None)
tasks/windows_resources.py:42
↓ 1 callersFunctionbuild_stdlib
Builds the stdlib with the same build flags as the tests. Since Go 1.20, standard library is not pre-compiled anymore but is built as needed
tasks/test.py:334
↓ 1 callersFunctionbuild_sysprobe_binary
( ctx, race=False, incremental_build=True, major_version='7', python_runtimes='3', go_
tasks/system_probe.py:541
↓ 1 callersFunctionbumpDiscardersRevision
bumpDiscardersRevision sends an eRPC request to bump the discarders revisionr
pkg/security/probe/discarders_linux.go:85
↓ 1 callersFunctionbumpOrchestratorPayload
(log log.Component, nodeType int)
comp/forwarder/defaultforwarder/telemetry.go:85
↓ 1 callersFunctionbyteArrayToNumaNode
(data []byte)
pkg/gohai/cpu/cpu_windows_amd64.go:144
↓ 1 callersFunctionbyteArrayToProcessorInformationExStruct
(data []byte)
pkg/gohai/cpu/cpu_windows_amd64.go:111
↓ 1 callersFunctionbyteArrayToProcessorStruct
(data []byte)
pkg/gohai/cpu/cpu_windows_386.go:36
↓ 1 callersFunctionbyteArrayToRelationCache
(data []byte)
pkg/gohai/cpu/cpu_windows_amd64.go:154
↓ 1 callersFunctionbyteArrayToRelationGroup
(data []byte)
pkg/gohai/cpu/cpu_windows_amd64.go:169
↓ 1 callersFunctionbytesIndexOfDoubleZero
(data []byte)
pkg/util/winutil/etw/etw-utils.go:185
↓ 1 callersFunctionbytesToHexString
(value []byte)
comp/netflow/goflowlib/convert.go:160
↓ 1 callersFunctionbytesWriter
(stats *IOStats)
pkg/util/cgroups/cgroupv1_io.go:72
↓ 1 callersMethodcacheFlush
(ctx context.Context)
pkg/security/resolvers/process/resolver_linux.go:1105
↓ 1 callersFunctioncacheProvider
(cacheLocation string, useCustomCache bool)
pkg/util/trivy/trivy.go:113
↓ 1 callersFunctioncache_version
Generate a json cache file containing all needed variables used by get_version.
tasks/utils.py:365
↓ 1 callersFunctioncachedFileFromMetadata
(path string, m Metadata)
pkg/remoteconfig/state/repository.go:406
↓ 1 callersFunctioncalcDistance
calcDistance calculates the distance between two points using the "haversine" formula. The formula is based on http://mathforum.org/library/drmath/vie
pkg/network/tracer/testutil/grpc/server.go:184
↓ 1 callersFunctioncalcPos
(outer win.RECT, inner win.RECT)
comp/systray/systray/systrayimpl/doflare.go:50
↓ 1 callersFunctioncalculateNumCores
Needed to calculate the correct normalized cpu metric value On linux, the cpu array contains an entry per logical core. On windows, the cpu array cont
pkg/process/checks/process_discovery_check.go:157
↓ 1 callersFunctioncalculateRuntimeDuration
calculateRuntimeDuration returns the runtimeDuration and postRuntimeDuration is milliseconds
pkg/serverless/logs/logs_collector.go:135
↓ 1 callersMethodcanAggregateIPTranslation
(t1, t2 *IPTranslation)
pkg/network/state.go:1043
↓ 1 callersMethodcanAggregateProtocolStack
(p1, p2 protocols.Stack)
pkg/network/state.go:1047
↓ 1 callersFunctioncanBeRendered
canBeRendered returns whether the given type can be converted to a string properly
pkg/gohai/utils/common.go:33
↓ 1 callersFunctioncancelFakeCheck
()
rtloader/test/rtloader/rtloader.go:226
↓ 1 callersMethodcancel_job
Cancels a given job
tasks/libs/common/gitlab.py:125
↓ 1 callersMethodcancel_pipeline
Cancels a given pipeline.
tasks/libs/common/gitlab.py:118
↓ 1 callersFunctioncastInt32
cast to int32 values that are int32 but that are sent in uint32 over the wire. Set to 0 if they overflow the MaxInt32 size. This cast should be used O
pkg/proto/pbgo/trace/decoder_bytes.go:204
↓ 1 callersFunctioncastInt64
cast to int64 values that are int64 but that are sent in uint64 over the wire. Set to 0 if they overflow the MaxInt64 size. This cast should be used O
pkg/proto/pbgo/trace/decoder_bytes.go:116
↓ 1 callersFunctioncdxProperty
cdxProperty function generates a trivy-specific cycloneDX Property.
pkg/workloadmeta/collectors/util/image_util.go:69
↓ 1 callersFunctionchangedCheckIDs
changedCheckIDs returns a map with the config instance IDs that changed between the 2 given configs.
pkg/autodiscovery/configmgr.go:398
↓ 1 callersFunctioncharType
(code)
cmd/agent/gui/views/private/js/codemirror.js:964
↓ 1 callersFunctionchdir
(dirname=None)
tasks/system_probe.py:680
↓ 1 callersFunctioncheckAction
checkAction verifies that expected and actual actions are equal and both have same attached resources
pkg/clusteragent/externalmetrics/utils_for_test.go:43
↓ 1 callersFunctioncheckAndUpdateCfg
(cfg config.Component, pcfg PipelineConfig, logsAgentChannel chan *message.Message)
comp/otelcol/otlp/pipeline_validator.go:17
↓ 1 callersMethodcheckAndUpdateCurrentOffset
checkAndUpdateCurrentOffset checks the value for the current offset stored in the eBPF map against the expected value, incrementing the offset if it d
pkg/network/tracer/offsetguess/tracer.go:304
↓ 1 callersMethodcheckAndUpdateCurrentOffset
checkAndUpdateCurrentOffset checks the value for the current offset stored in the eBPF map against the expected value, incrementing the offset if it d
pkg/network/tracer/offsetguess/conntrack.go:116
↓ 1 callersMethodcheckDevice
(job snmpJob)
pkg/autodiscovery/listeners/snmp.go:146
↓ 1 callersMethodcheckDevices
()
pkg/autodiscovery/listeners/snmp.go:176
↓ 1 callersFunctioncheckDuplicated
(entries []mapEntry)
pkg/security/secl/model/bpf_maps_generator/bpf_maps_generator.go:121
↓ 1 callersFunctioncheckExists
(path string)
pkg/util/system/socket/socket.go:45
↓ 1 callersFunctioncheckExists
(path string)
pkg/util/system/socket/socket_windows.go:35
↓ 1 callersFunctioncheckFormatFloat
(val *float64)
pkg/clusteragent/admission/common/lib_config.go:193
↓ 1 callersFunctioncheckHandler
Adds the specific handlers for /checks/ endpoints
cmd/agent/gui/checks.go:48
↓ 1 callersMethodcheckInMemorySize
()
pkg/security/security_profile/dump/activity_dump.go:265
↓ 1 callersMethodcheckItemSize
checkItemSize checks that the item can fit in a payload. Worst case is used to determine the size of the item after compression meaning we could drop
pkg/serializer/internal/stream/compressor.go:104
↓ 1 callersMethodcheckKubeServerResourceSupport
(resourceSchema kubeschema.GroupVersionResource)
pkg/compliance/resolver.go:759
↓ 1 callersMethodcheckLine
(n int64)
pkg/util/prometheus/reader.go:70
↓ 1 callersFunctioncheckPolicies
(log log.Component, config config.Component, args *checkPoliciesCliParams)
cmd/security-agent/subcommands/runtime/command.go:348
↓ 1 callersFunctioncheckPoliciesLocal
(args *checkPoliciesCliParams, writer io.Writer)
cmd/security-agent/subcommands/runtime/command.go:385
↓ 1 callersFunctioncheckSyscallTester
(t *testing.T, path string)
pkg/security/tests/syscall_tester.go:50
↓ 1 callersMethodcheckTagFreshness
(ctx context.Context)
pkg/autodiscovery/autoconfig.go:123
↓ 1 callersFunctioncheckUserPermission
checkUserPermission check that only the current User can exec and own the file path
pkg/secrets/check_rights_nix.go:40
↓ 1 callersFunctioncheckWPACRD
(wpaClient dynamic_client.Interface)
pkg/util/kubernetes/apiserver/wpa_controller.go:106
↓ 1 callersFunctioncheck_component
(file, content)
tasks/components.py:44
↓ 1 callersFunctioncheck_deploy_pipeline
Run checks to verify a deploy pipeline is valid: - it targets a valid repo branch - it has matching Agent 6 and Agent 7 tags (depending o
tasks/pipeline.py:52
↓ 1 callersFunctioncheck_env
(ctx)
tasks/kernel_matrix_testing/stacks.py:103
↓ 1 callersFunctioncheck_for_inline
(ctx)
tasks/system_probe.py:1167
↓ 1 callersFunctioncheck_for_missing_owners_slack_and_jira
(print_missing_teams=True, owners_file=".github/CODEOWNERS")
tasks/libs/pipeline_notifications.py:89
↓ 1 callersFunctioncheck_if_team_exists
Check if an input team exists in the GITHUB_SLACK_MAP. Exits the code if it doesn't.
tasks/show_linters_issues/show_linters_issues.py:22
↓ 1 callersFunctioncheck_libvirt_sock_perms
()
tasks/kernel_matrix_testing/stacks.py:97
↓ 1 callersFunctioncheck_local_branch
Checks if the given branch exists locally
tasks/utils.py:561
↓ 1 callersFunctioncheck_memory_and_vcpus
(memory, vcpus)
tasks/kernel_matrix_testing/vmconfig.py:182
↓ 1 callersFunctioncheck_user_in_kvm
(ctx)
tasks/kernel_matrix_testing/stacks.py:89
↓ 1 callersFunctioncheck_user_in_libvirt
(ctx)
tasks/kernel_matrix_testing/stacks.py:93
↓ 1 callersFunctionchunkContainers
chunkContainers formats and chunks the ctrList into a slice of chunks using a specific number of chunks.
pkg/process/checks/container.go:141
← previousnext →11,801–11,900 of 32,574, ranked by callers