MCPcopy Create free account

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

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

↓ 4 callersFunctionaddHooks
(m *manager.Manager, procRoot string, probes []manager.ProbesSelector)
pkg/network/usm/ebpf_ssl.go:602
↓ 4 callersMethodaddJob
(c check.Check)
pkg/collector/scheduler/job.go:31
↓ 4 callersMethodaddKeyInMemory
addKeyInMemory adds the provided key in the lrucache, returning if an entry was evicted.
pkg/util/trivy/cache.go:477
↓ 4 callersFunctionaddProcessorPdhCounter
(query *pdhutil.PdhQuery, counterName string)
pkg/collector/corechecks/system/cpu/cpu_windows.go:138
↓ 4 callersMethodaddReference
(imageName string, imageID string)
pkg/workloadmeta/collectors/internal/containerd/image.go:67
↓ 4 callersFunctionaddTags
(target map[string]bool, name string, value string, splits map[string]string)
pkg/tagger/utils/taglist.go:36
↓ 4 callersMethodaddToTransactionRetryQueue
(t transaction.Transaction)
comp/forwarder/defaultforwarder/domain_forwarder.go:126
↓ 4 callersFunctionaddrMatches
(addr net.Addr, host util.Address, port uint16)
pkg/network/conn_filter.go:76
↓ 4 callersMethodallTags
(release *release, storageDriver helmStorage, includeRevision bool)
pkg/collector/corechecks/cluster/helm/helm.go:217
↓ 4 callersMethodapplyChanges
applyChanges applies the given changes to cm.scheduledConfigs This method must be called with cm.m locked.
pkg/autodiscovery/configmgr.go:383
↓ 4 callersMethodapplyOrdering
applyOrdering sorts the 'files' slice in-place by the currently configured 'wildcardOrder'
pkg/logs/launchers/file/provider/file_provider.go:342
↓ 4 callersMethodassertCallNumber
(t *testing.T, calls int)
pkg/autodiscovery/autoconfig_test.go:102
↓ 4 callersFunctionassertConfigValueContains
(t *testing.T, config map[interface{}]interface{}, key string, expectedValue interface{})
test/new-e2e/tests/agent-subcommands/config/config_helpers.go:52
↓ 4 callersFunctionassertCountsEqual
assertCountsEqual is a test utility function to assert expected == actual for count aggregations.
pkg/trace/stats/concentrator_test.go:83
↓ 4 callersFunctionassertEqualEventsPayloads
(t *testing.T, expected payloadsType, actual []payloadsType)
pkg/serializer/internal/metrics/events_test.go:239
↓ 4 callersFunctionassertEqualEventsToMarshalJSON
Check JSONPayloadBuilder for CreateSingleMarshaler and CreateMarshalersBySourceType return the same results as for MarshalJSON.
pkg/serializer/internal/metrics/events_test.go:225
↓ 4 callersFunctionassertFilenamesEqual
(a *assert.Assertions, expected []string, current []string)
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy_test.go:105
↓ 4 callersFunctionassertFlowEventsCount
(t *testing.T, port uint16, srv *Server, packetData []byte, expectedEvents uint64)
comp/netflow/server/integration_test.go:60
↓ 4 callersFunctionassertIPv4
Helpers
pkg/gohai/network/network_test.go:113
↓ 4 callersFunctionassertIPv6
(t *testing.T, addr string)
pkg/gohai/network/network_test.go:121
↓ 4 callersFunctionassertMac
(t *testing.T, addr string)
pkg/gohai/network/network_test.go:138
↓ 4 callersMethodassertNoLeadershipMessage
(t *testing.T)
pkg/clusteragent/clusterchecks/handler_test.go:38
↓ 4 callersFunctionassertRelocation
(t *testing.T, input, expectedOutput string)
cmd/agent/common/import_test.go:61
↓ 4 callersFunctionassertTreeEqual
(t *testing.T, wanted *ActivityTree, tree *ActivityTree)
pkg/security/security_profile/activity_tree/activity_tree_test.go:81
↓ 4 callersFunctionbasicDockerConfigs
()
pkg/autodiscovery/providers/container_test.go:465
↓ 4 callersFunctionbe
(s,e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 4 callersFunctionbenchmarkEnvScrubbing
(nEnvs int, b *testing.B)
pkg/orchestrator/redact/data_scrubber_test.go:142
↓ 4 callersFunctionbenchmarkMatching
(nbContainers int, b *testing.B)
pkg/orchestrator/redact/data_scrubber_test.go:33
↓ 4 callersFunctionbenchmarkRegexMatching
(nbProcesses int, b *testing.B)
pkg/process/procutil/data_scrubber_test.go:475
↓ 4 callersFunctionbitmaskToStringArray
(bitmask int, intToStrMap map[int]string)
pkg/security/secl/model/consts_common.go:951
↓ 4 callersFunctionboolConst
(name string, value bool)
pkg/network/tracer/offsetguess/tracer.go:1101
↓ 4 callersMethodbranch
Returns the name of the release branch associated to this version.
tasks/libs/version.py:75
↓ 4 callersFunctionbuild
Build Dogstatsd
tasks/dogstatsd.py:28
↓ 4 callersFunctionbuildAutoscalerReference
(kind string, obj metav1.ObjectMeta)
pkg/clusteragent/externalmetrics/autoscaler_watcher.go:407
↓ 4 callersFunctionbuildConfigProviders
(agentConfig Config)
pkg/config/legacy/converter.go:326
↓ 4 callersFunctionbuildMessage
(logline *config.ChannelMessage, origin *message.Origin)
pkg/logs/tailers/channel/tailer.go:88
↓ 4 callersFunctionbuildSecret
(data map[string][]byte, cfg Config)
pkg/clusteragent/admission/controllers/webhook/utils_test.go:51
↓ 4 callersMethodbuildTailerTags
buildTailerTags groups the file tag, directory (if wildcard path) and user tags
pkg/logs/tailers/file/tailer.go:315
↓ 4 callersFunctionbuildViewArray
(cm, from, to)
cmd/agent/gui/views/private/js/codemirror.js:2049
↓ 4 callersFunctionbuild_functional_tests
( ctx, output='pkg/security/tests/testsuite', arch=CURRENT_ARCH, major_version='7', build_
tasks/security_agent.py:328
↓ 4 callersFunctionbuild_target_set
(stack, vms, ssh_key)
tasks/kmt.py:131
↓ 4 callersFunctionbusynessFunc
busynessFunc returns the weight of a check
pkg/clusteragent/clusterchecks/helpers.go:55
↓ 4 callersMethodcalculateBucketStart
(timestamp float64)
pkg/aggregator/time_sampler.go:70
↓ 4 callersMethodcallProcess
callProcess will process a transaction and cancel it if we need to stop the worker.
comp/forwarder/defaultforwarder/worker.go:152
↓ 4 callersFunctionchangeAndAssertExpvarValue
( t require.TestingT, key string, setter func(int), getter func() int64, amount int, expectedVal int)
pkg/collector/runner/expvars/expvars_test.go:87
↓ 4 callersFunctioncharArrayToSlice
(array **C.char)
rtloader/test/aggregator/aggregator.go:148
↓ 4 callersMethodcheck
()
cmd/manager/auto_exit.go:25
↓ 4 callersFunctioncheckRequests
(t *testing.T, tr *Tracer, expectedOccurrences int, reqs requestsMap)
pkg/network/tracer/tracer_usm_linux_test.go:1065
↓ 4 callersFunctioncheck_for_ninja
(ctx)
tasks/system_probe.py:1379
↓ 4 callersMethodcleanupRegistry
cleanupRegistry removes expired entries from the registry
pkg/logs/auditor/auditor.go:218
↓ 4 callersFunctionclearMetadata
()
pkg/metadata/inventories/inventories_test.go:25
↓ 4 callersFunctioncmpCoords
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:3072
↓ 4 callersMethodcollect
collect is the callback expected by the metadata runner.Provider. It will send a new payload and return the next interval to be called.
comp/metadata/internal/util/inventory_payload.go:145
↓ 4 callersMethodcollectorsUpdatedCallback
(collectorsCatalog CollectorCatalog)
pkg/util/containers/metrics/provider/provider.go:122
↓ 4 callersFunctioncompareListOfDumps
(t *testing.T, out, expectedOut []*ActivityDump)
pkg/security/security_profile/dump/manager_test.go:25
↓ 4 callersFunctioncomputeFilenameFromParts
(parts []string)
pkg/security/resolvers/dentry/resolver.go:330
↓ 4 callersFunctioncomputeSpanHash
(span *pb.Span, env string, withResource bool)
pkg/trace/sampler/signature.go:73
↓ 4 callersFunctionconcatenateTypeError
(input error, prefix string, expectedType string, column string, value interface{}, query string, err error)
pkg/collector/corechecks/oracle-dbm/custom_queries.go:29
↓ 4 callersFunctionconfigSourceAnnotation
(source string)
internal/third_party/kubernetes/pkg/kubelet/types/pod_update_test.go:52
↓ 4 callersMethodconnect
connect to the previously created hotspot unix socket return close function must be call when finished
pkg/network/protocols/tls/java/hotspot.go:181
↓ 4 callersFunctioncontainer2
(testTime time.Time)
pkg/workloadmeta/merge_test.go:51
↓ 4 callersFunctioncontainerdClient
Returns a fake containerd client for testing. For these tests we need 2 things: - 1) Being able to control the metrics returned by the TaskMetrics fun
pkg/util/containers/metrics/containerd/collector_test.go:81
↓ 4 callersFunctionconvertAttachedText
(in *cyclonedx.AttachedText)
pkg/collector/corechecks/sbom/convert.go:114
↓ 4 callersFunctionconvertAttachedText
(in *cyclonedx.AttachedText)
cmd/agentless-scanner/trivy_sbom_convert.go:112
↓ 4 callersFunctionconvertOrganizationalEntity
(in *cyclonedx.OrganizationalEntity)
pkg/collector/corechecks/sbom/convert.go:642
↓ 4 callersFunctionconvertOrganizationalEntity
(in *cyclonedx.OrganizationalEntity)
cmd/agentless-scanner/trivy_sbom_convert.go:640
↓ 4 callersFunctionconvertRuntimeUInt64Value
(v *v1.UInt64Value)
pkg/util/containers/metrics/cri/collector.go:101
↓ 4 callersFunctionconvertSource
(in *cyclonedx.Source)
pkg/collector/corechecks/sbom/convert.go:814
↓ 4 callersFunctionconvertSource
(in *cyclonedx.Source)
cmd/agentless-scanner/trivy_sbom_convert.go:812
↓ 4 callersMethodconvertSpan
convertSpan converts the span in to a Datadog span, and uses the rattr resource tags and the lib instrumentation library attributes to further augment
pkg/trace/api/otlp.go:502
↓ 4 callersFunctionconvertStrToUint64
convertStrToUint64 converts a given string to uint64 optionally returning an error.
pkg/serverless/trace/propagation/extractor.go:208
↓ 4 callersFunctionconvertStrToUnit64
(s string)
pkg/serverless/invocationlifecycle/trace.go:195
↓ 4 callersFunctioncoords
(ch, bias)
cmd/agent/gui/views/private/js/codemirror.js:3092
↓ 4 callersFunctioncountLoadedConfigs
(ac *AutoConfig)
pkg/autodiscovery/autoconfig_test.go:362
↓ 4 callersFunctioncreateArchive
(flareComp flare.Component, pdata flare.ProfileData, ipcError error)
cmd/agent/subcommands/flare/command.go:330
↓ 4 callersMethodcreateController
()
pkg/clusteragent/admission/controllers/webhook/controller_v1beta1_test.go:805
↓ 4 callersMethodcreateController
()
pkg/clusteragent/admission/controllers/webhook/controller_v1_test.go:806
↓ 4 callersFunctioncreateEventSubscriber
(name string, client ctrUtil.ContainerdItf, f []string)
pkg/collector/corechecks/containers/containerd/events.go:117
↓ 4 callersFunctioncreateFakeProcFS
This creates a bare-bones procFS with a structure that looks like the following: proc/ ├── 1 │   ├── cmdline │   └── root │   └── usr │  
pkg/network/usm/istio_test.go:142
↓ 4 callersFunctioncreateForwarder
(t *testing.T)
pkg/snmp/traps/forwarder/forwarder_test.go:27
↓ 4 callersFunctioncreateHandleForHandleType
(t HandleType)
pkg/network/driver/driver_test.go:54
↓ 4 callersFunctioncreateIterableMetrics
( flushAndSerializeInParallel FlushAndSerializeInParallel, serializer serializer.MetricSerializer, logPaylo
pkg/aggregator/demultiplexer.go:91
↓ 4 callersFunctioncreateOverlayLayer
(t *testing.T, test *testModule, name string)
pkg/security/tests/overlayfs_test.go:28
↓ 4 callersMethodcreateService
(ksvc *v1.Service)
pkg/autodiscovery/listeners/kube_services.go:235
↓ 4 callersFunctioncurrent_version
(ctx, major_version)
tasks/release.py:839
↓ 4 callersFunctiondatadogMatcher
(buf []byte)
comp/dogstatsd/replay/file.go:40
↓ 4 callersMethoddebugEvent
nolint:deadcode,unused
pkg/security/tests/module_tester.go:1171
↓ 4 callersMethoddecreaseRate
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:54
↓ 4 callersFunctiondeepCopyMap
(in map[string]bool)
pkg/tagger/utils/taglist.go:117
↓ 4 callersMethodderegister
deregister a component from the healthcheck
pkg/status/health/health.go:112
↓ 4 callersFunctiondirname
use a faster version of path.Dir which adds some sanity checks not required here
pkg/security/probe/discarders_linux.go:222
↓ 4 callersFunctiondisplayError
displayError handles displaying errors from the running command. Typically these are simply printed with an "Error: " prefix, but some kinds of error
cmd/internal/runcmd/runcmd.go:38
↓ 4 callersFunctiondoHTTPRequest
(ctx context.Context, url string, forceIMDSv2 bool)
pkg/util/ec2/imds_helpers.go:78
↓ 4 callersFunctiondoHandleBinding
(cm, bound, dropShift)
cmd/agent/gui/views/private/js/codemirror.js:7006
↓ 4 callersFunctiondomToPos
(cm, node, offset)
cmd/agent/gui/views/private/js/codemirror.js:9056
↓ 4 callersFunctiondsmNS
dsmNS adds `data_streams_config` namespace to configuration key
cmd/system-probe/config/ns.go:26
↓ 4 callersFunctione_stop
(e)
cmd/agent/gui/views/private/js/codemirror.js:1200
↓ 4 callersFunctionec2ARN
(region, accountID string, resourceType resourceType, resourceID string)
cmd/agentless-scanner/main.go:2632
↓ 4 callersFunctionenflate
(payload []byte, encoding string)
test/fakeintake/aggregator/common.go:100
↓ 4 callersMethodenqueue
(obj interface{})
pkg/util/kubernetes/apiserver/controller_util.go:76
← previousnext →4,101–4,200 of 32,574, ranked by callers