MCPcopy Create free account

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

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

↓ 15 callersMethodScan
(context.Context, sbom.ScanRequest, sbom.ScanOptions)
pkg/sbom/collectors/collectors.go:20
↓ 15 callersFunctionScrubLine
ScrubLine scrubs credentials from a single line of text, using the default scrubber. It can be safely applied to URLs or to strings containing URLs.
pkg/util/scrubber/default.go:315
↓ 15 callersMethodSetConfigFile
(in string)
pkg/config/model/types.go:123
↓ 15 callersMethodSetContainerEntry
SetContainerEntry sets an entry for a given containerID
pkg/util/containers/metrics/mock/mock.go:96
↓ 15 callersMethodSetTags
SetTags sets the tags of the origin.
pkg/logs/message/origin.go:89
↓ 15 callersMethodSource
Source returns the source of the configuration if set or the source of the message, if none are defined, returns an empty string by default.
pkg/logs/message/origin.go:100
↓ 15 callersFunctionStartDaemon
StartDaemon starts an HTTP server to receive messages from the runtime and coordinate the flushing of telemetry.
pkg/serverless/daemon/daemon.go:106
↓ 15 callersMethodStop
Stop stops the tailer, waiting for the operations to finish.
pkg/logs/launchers/container/tailerfactory/types.go:15
↓ 15 callersFunctionTestBuildMode
(t *testing.T, mode BuildMode, name string, fn func(t *testing.T))
pkg/ebpf/ebpftest/buildmode_linux.go:39
↓ 15 callersFunctionTruncateUTF8
TruncateUTF8 truncates the given string to make sure it uses less than limit bytes. If the last code point is an utf8 code point that would be split,
pkg/util/strings/truncate.go:21
↓ 15 callersMethodType
()
pkg/sbom/sbom.go:59
↓ 15 callersFunctionWarnf
Warnf formats message according to format specifier and writes to log with level = Warn.
pkg/trace/log/logger.go:108
↓ 15 callersMethodWithContext
WithContext sets the ctx property of a Builder.
pkg/kubestatemetrics/builder/builder.go:113
↓ 15 callersMethodadd
Add puts the given filepath in the map of files to process later during the commit phase.
comp/core/flare/helpers/perm_info_nix.go:31
↓ 15 callersMethodadd
(p *events.Process)
pkg/network/tracer/process_cache.go:197
↓ 15 callersMethodaddConfig
(config integration.Config)
pkg/clusteragent/clusterchecks/stores.go:104
↓ 15 callersMethodclose
(endpoint string)
comp/forwarder/defaultforwarder/blocked_endpoints.go:62
↓ 15 callersMethodcontains
(filename string)
pkg/security/secl/compiler/eval/glob.go:22
↓ 15 callersFunctioncreateMetric
(value float64, tags []string, name string, t int64)
test/benchmarks/aggregator/push_metric.go:15
↓ 15 callersFunctioncreateTestSpans
(serviceName string, operationName string)
pkg/trace/event/extractor_fixed_rate_test.go:17
↓ 15 callersFunctione_preventDefault
(e)
cmd/agent/gui/views/private/js/codemirror.js:1189
↓ 15 callersFunctionencodeVarintHttpTransactionProto
(dAtA []byte, offset int, v uint64)
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:593
↓ 15 callersFunctionfakeContainer
(name string)
pkg/clusteragent/admission/mutate/test_utils.go:42
↓ 15 callersMethodgetActivePIDs
getActivePIDs retrieves a list of PIDs representing actively running processes.
pkg/process/procutil/process_linux.go:347
↓ 15 callersFunctiongetBool
(key string)
pkg/security/probe/config/config.go:265
↓ 15 callersFunctiongetLabelToMatchForKind
getLabelToMatchForKind returns the set of labels use to match a resource. this function centralized the logic about label_joins.labelToMatch configura
pkg/collector/corechecks/cluster/ksm/kubernetes_state_defaults.go:225
↓ 15 callersFunctiongetTestOrgUUIDProvider
(orgID int)
pkg/config/remote/uptane/client_test.go:26
↓ 15 callersFunctionifSyscallSupported
nolint:deadcode,unused
pkg/security/tests/module_tester.go:1780
↓ 15 callersMethodloadKeyFileMeta
(name string)
pkg/compliance/k8sconfig/loader.go:284
↓ 15 callersMethodmain
(String[] args)
pkg/network/protocols/tls/java/testdata/Wget.java:23
↓ 15 callersFunctionmakePoints
(ts int, val float64)
pkg/util/kubernetes/apiserver/hpa_controller_test.go:156
↓ 15 callersMethodname
()
test/fakeintake/aggregator/common.go:20
↓ 15 callersFunctionnewMockRtLoaderPtr
Since Golang 1.15, we are no longer able to instantiate an opaque pointer to a struct since it was an incomplete type. To ensure that we can unit test
pkg/collector/python/test_rtloader_helpers.go:32
↓ 15 callersFunctionnewTestStore
()
pkg/workloadmeta/store_test.go:1395
↓ 15 callersFunctionparseServiceCheck
(t *testing.T, rawServiceCheck []byte)
comp/dogstatsd/server/parse_service_checks_test.go:17
↓ 15 callersMethodprocessNewConfig
processNewConfig handles a new config
pkg/autodiscovery/configmgr.go:35
↓ 15 callersFunctionpublishInt
(i *atomic.Int64)
pkg/process/status/expvars.go:94
↓ 15 callersFunctionregChange
(cm, from, to, lendiff)
cmd/agent/gui/views/private/js/codemirror.js:3875
↓ 15 callersMethodsize
size returns how many events are currently stored in the RingStore This function is not thread-safe and should only be called internally by the RingSt
pkg/process/events/store.go:200
↓ 14 callersMethodAddAuto
AddAuto determine the tag cardinality and will call the proper method AddLow or AddHigh if the name value starts with '+' character
pkg/tagger/utils/taglist.go:79
↓ 14 callersMethodAddExecEntry
AddExecEntry adds an entry to the local cache and returns the newly created entry
pkg/security/resolvers/process/resolver_linux.go:305
↓ 14 callersMethodAllow
()
pkg/serverless/appsec/limiter.go:18
↓ 14 callersMethodAppend
Append appends tags to the builder
pkg/tagset/hashing_tags_accumulator.go:37
↓ 14 callersMethodContainsPayloadName
ContainsPayloadName return true if name match one of the payloads
test/fakeintake/aggregator/common.go:69
↓ 14 callersMethodDeepCopy
DeepCopy copies an entity such that modifications of the copy will not affect the original.
pkg/workloadmeta/types.go:276
↓ 14 callersMethodGet
()
comp/dogstatsd/packets/pool_manager.go:18
↓ 14 callersMethodGetContainer
GetContainer returns metadata about a container. It fetches the entity with kind KindContainer and the given ID.
pkg/workloadmeta/types.go:58
↓ 14 callersMethodGetDefaultSender
()
pkg/aggregator/sender/sender.go:47
↓ 14 callersFunctionGetProfile
GetProfile return a profile initialising it at first call
test/new-e2e/pkg/runner/profile.go:123
↓ 14 callersMethodHandler
Handler returns an http handler to expose the internal metrics
comp/core/telemetry/component.go:26
↓ 14 callersMethodHasFeature
(feat string)
pkg/trace/config/config.go:576
↓ 14 callersMethodHeader
Header mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:314
↓ 14 callersMethodHistogram
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:26
↓ 14 callersMethodLimit
()
pkg/config/remote/service/clients.go:34
↓ 14 callersMethodLogLevelFn
These functions are used in unit tests. LogLevelFn returns the log level
comp/core/log/params.go:147
↓ 14 callersMethodMerge
Merge merges this entity with another of the same kind. This is used to generate a composite entity representing data from several sources.
pkg/workloadmeta/types.go:272
↓ 14 callersFunctionNewDatadogMetricForTests
NewDatadogMetricForTests creates a new internal metric for tests.
pkg/clusteragent/externalmetrics/metrics_retriever_test.go:24
↓ 14 callersFunctionNewDefaultDataScrubber
NewDefaultDataScrubber creates a DataScrubber with the default behavior: enabled and matching the default sensitive words
pkg/orchestrator/redact/data_scrubber.go:48
↓ 14 callersFunctionNewHTTPTransaction
NewHTTPTransaction returns a new HTTPTransaction.
comp/forwarder/defaultforwarder/transaction/transaction.go:230
↓ 14 callersFunctionNewOTLPReceiver
NewOTLPReceiver returns a new OTLPReceiver which sends any incoming traces down the out channel.
pkg/trace/api/otlp.go:60
↓ 14 callersFunctionNewOTLPSpan
NewOTLPSpan creates a new OTLP Span with the given options.
pkg/trace/testutil/otlp.go:123
↓ 14 callersFunctionNewParsingContext
NewParsingContext returns a new parsing context
pkg/security/secl/compiler/ast/secl.go:27
↓ 14 callersFunctionNewPythonFakeCheck
NewPythonFakeCheck create a fake PythonCheck
pkg/collector/python/test_check.go:685
↓ 14 callersFunctionNewServiceExtractor
NewServiceExtractor instantiates a new service discovery extractor
pkg/process/metadata/parser/service.go:64
↓ 14 callersFunctionNewStringMatcher
NewStringMatcher returns a new string matcher
pkg/security/secl/compiler/eval/strings.go:230
↓ 14 callersMethodNextRetry
NextRetry allows users to know when the next retry can happened
pkg/util/retry/retrier.go:77
↓ 14 callersMethodPointerSize
PointerSize gets the size, in bytes, of pointers on the architecture
pkg/network/go/bininspect/types.go:76
↓ 14 callersMethodSchedule
Schedule zero or more new configurations.
pkg/autodiscovery/scheduler/scheduler.go:21
↓ 14 callersMethodSeek
Seek sets the reader to the specified offset. Please note, the specified offset is relative to the first datagram, not the absolute position in the fi
comp/dogstatsd/replay/reader.go:200
↓ 14 callersMethodSetAll
SetAll the sampling rate for all services. If a service/env is not in the map, then the entry is removed.
pkg/trace/sampler/dynamic_config.go:59
↓ 14 callersMethodStart
(ctx context.Context)
pkg/security/resolvers/tags/resolver.go:42
↓ 14 callersMethodStart
()
pkg/trace/config/config.go:448
↓ 14 callersMethodStatus
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:22
↓ 14 callersMethodStop
Stop closes the pending channel so all workers will exit their loop and terminate All publishers to the pending channel need to have stopped before St
pkg/collector/runner/runner.go:174
↓ 14 callersMethodStop
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:24
↓ 14 callersMethodToProto
ToProto returns a proto message Language
pkg/languagedetection/util/languageset.go:59
↓ 14 callersMethodValueFor
(m metric)
pkg/network/protocols/telemetry/delta.go:55
↓ 14 callersFunctionWithSysProbeConfFilePath
WithSysProbeConfFilePath specifies the path to the system probe config
comp/core/sysprobeconfig/sysprobeconfigimpl/params.go:25
↓ 14 callersMethodWriteTo
WriteTo writes the address byte representation into the supplied buffer
pkg/process/util/address.go:23
↓ 14 callersFunction_is_affirmative
(s)
pkg/config/legacy/tests/config.py:159
↓ 14 callersMethodaddSample
(sample *MetricSample, timestamp float64)
pkg/metrics/rate.go:20
↓ 14 callersMethodaddSample
(sample *MetricSample, timestamp float64)
pkg/metrics/metric.go:60
↓ 14 callersMethodaddSample
(sample *MetricSample, timestamp float64)
pkg/metrics/monotonic_count.go:34
↓ 14 callersFunctionapplyUmask
nolint:unused nolint:deadcode,unused
pkg/security/tests/module_tester.go:1769
↓ 14 callersFunctionassertNotContainsCheck
(t *testing.T, checks []string, name string)
pkg/process/checks/enabled_checks_test.go:24
↓ 14 callersMethodbuild
(self, renderDelegate)
tools/agent_QA/test_builder.py:38
↓ 14 callersMethodbuildMux
()
pkg/trace/api/api.go:129
↓ 14 callersFunctioncalculatePct
(deltaProc, deltaTime, numCPU float64)
pkg/process/checks/process_nix.go:73
↓ 14 callersMethodcountWeightedSig
countWeightedSig counts a trace sampled by the sampler and update rates if buckets are rotated
pkg/trace/sampler/coresampler.go:120
↓ 14 callersMethoddropRequests
()
pkg/util/kubernetes/kubelet/kubelet_test.go:105
↓ 14 callersFunctionfirstNonEmpty
(strings ...string)
pkg/snmp/snmp.go:266
↓ 14 callersFunctionflushSerie
(sampler *TimeSampler, timestamp float64)
pkg/aggregator/time_sampler_test.go:570
↓ 14 callersMethodfull_path
Return the absolute path of the Go module.
tasks/modules.py:97
↓ 14 callersFunctiongenerateIPv4HTTPTransaction
(source util.Address, dest util.Address, sourcePort int, destPort int, path string, code int, latency time.Dur
pkg/network/protocols/http/statkeeper_test_linux.go:18
↓ 14 callersFunctiongetNewBuilder
(t *testing.T)
comp/core/flare/helpers/builder_test.go:51
↓ 14 callersMethodgetNodeStore
getNodeStore retrieves the store struct for a given node name, if it exists
pkg/clusteragent/clusterchecks/stores.go:53
↓ 14 callersFunctioninjectEnv
injectEnv injects an env var into a pod template if it doesn't exist
pkg/clusteragent/admission/mutate/common.go:105
↓ 14 callersFunctionisAffirmative
(value string)
pkg/config/legacy/converter.go:227
↓ 14 callersFunctionl
(i,o,a,s)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 14 callersMethodlog
(logFunc loggerFunc, format string, params ...interface{})
pkg/trace/log/throttled.go:34
← previousnext →1,001–1,100 of 32,574, ranked by callers