Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 15 callers
Method
Scan
(context.Context, sbom.ScanRequest, sbom.ScanOptions)
pkg/sbom/collectors/collectors.go:20
↓ 15 callers
Function
ScrubLine
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 callers
Method
SetConfigFile
(in string)
pkg/config/model/types.go:123
↓ 15 callers
Method
SetContainerEntry
SetContainerEntry sets an entry for a given containerID
pkg/util/containers/metrics/mock/mock.go:96
↓ 15 callers
Method
SetTags
SetTags sets the tags of the origin.
pkg/logs/message/origin.go:89
↓ 15 callers
Method
Source
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 callers
Function
StartDaemon
StartDaemon starts an HTTP server to receive messages from the runtime and coordinate the flushing of telemetry.
pkg/serverless/daemon/daemon.go:106
↓ 15 callers
Method
Stop
Stop stops the tailer, waiting for the operations to finish.
pkg/logs/launchers/container/tailerfactory/types.go:15
↓ 15 callers
Function
TestBuildMode
(t *testing.T, mode BuildMode, name string, fn func(t *testing.T))
pkg/ebpf/ebpftest/buildmode_linux.go:39
↓ 15 callers
Function
TruncateUTF8
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 callers
Method
Type
()
pkg/sbom/sbom.go:59
↓ 15 callers
Function
Warnf
Warnf formats message according to format specifier and writes to log with level = Warn.
pkg/trace/log/logger.go:108
↓ 15 callers
Method
WithContext
WithContext sets the ctx property of a Builder.
pkg/kubestatemetrics/builder/builder.go:113
↓ 15 callers
Method
add
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 callers
Method
add
(p *events.Process)
pkg/network/tracer/process_cache.go:197
↓ 15 callers
Method
addConfig
(config integration.Config)
pkg/clusteragent/clusterchecks/stores.go:104
↓ 15 callers
Method
close
(endpoint string)
comp/forwarder/defaultforwarder/blocked_endpoints.go:62
↓ 15 callers
Method
contains
(filename string)
pkg/security/secl/compiler/eval/glob.go:22
↓ 15 callers
Function
createMetric
(value float64, tags []string, name string, t int64)
test/benchmarks/aggregator/push_metric.go:15
↓ 15 callers
Function
createTestSpans
(serviceName string, operationName string)
pkg/trace/event/extractor_fixed_rate_test.go:17
↓ 15 callers
Function
e_preventDefault
(e)
cmd/agent/gui/views/private/js/codemirror.js:1189
↓ 15 callers
Function
encodeVarintHttpTransactionProto
(dAtA []byte, offset int, v uint64)
comp/forwarder/defaultforwarder/internal/retry/HttpTransactionProto.pb.go:593
↓ 15 callers
Function
fakeContainer
(name string)
pkg/clusteragent/admission/mutate/test_utils.go:42
↓ 15 callers
Method
getActivePIDs
getActivePIDs retrieves a list of PIDs representing actively running processes.
pkg/process/procutil/process_linux.go:347
↓ 15 callers
Function
getBool
(key string)
pkg/security/probe/config/config.go:265
↓ 15 callers
Function
getLabelToMatchForKind
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 callers
Function
getTestOrgUUIDProvider
(orgID int)
pkg/config/remote/uptane/client_test.go:26
↓ 15 callers
Function
ifSyscallSupported
nolint:deadcode,unused
pkg/security/tests/module_tester.go:1780
↓ 15 callers
Method
loadKeyFileMeta
(name string)
pkg/compliance/k8sconfig/loader.go:284
↓ 15 callers
Method
main
(String[] args)
pkg/network/protocols/tls/java/testdata/Wget.java:23
↓ 15 callers
Function
makePoints
(ts int, val float64)
pkg/util/kubernetes/apiserver/hpa_controller_test.go:156
↓ 15 callers
Method
name
()
test/fakeintake/aggregator/common.go:20
↓ 15 callers
Function
newMockRtLoaderPtr
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 callers
Function
newTestStore
()
pkg/workloadmeta/store_test.go:1395
↓ 15 callers
Function
parseServiceCheck
(t *testing.T, rawServiceCheck []byte)
comp/dogstatsd/server/parse_service_checks_test.go:17
↓ 15 callers
Method
processNewConfig
processNewConfig handles a new config
pkg/autodiscovery/configmgr.go:35
↓ 15 callers
Function
publishInt
(i *atomic.Int64)
pkg/process/status/expvars.go:94
↓ 15 callers
Function
regChange
(cm, from, to, lendiff)
cmd/agent/gui/views/private/js/codemirror.js:3875
↓ 15 callers
Method
size
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 callers
Method
AddAuto
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 callers
Method
AddExecEntry
AddExecEntry adds an entry to the local cache and returns the newly created entry
pkg/security/resolvers/process/resolver_linux.go:305
↓ 14 callers
Method
Allow
()
pkg/serverless/appsec/limiter.go:18
↓ 14 callers
Method
Append
Append appends tags to the builder
pkg/tagset/hashing_tags_accumulator.go:37
↓ 14 callers
Method
ContainsPayloadName
ContainsPayloadName return true if name match one of the payloads
test/fakeintake/aggregator/common.go:69
↓ 14 callers
Method
DeepCopy
DeepCopy copies an entity such that modifications of the copy will not affect the original.
pkg/workloadmeta/types.go:276
↓ 14 callers
Method
Get
()
comp/dogstatsd/packets/pool_manager.go:18
↓ 14 callers
Method
GetContainer
GetContainer returns metadata about a container. It fetches the entity with kind KindContainer and the given ID.
pkg/workloadmeta/types.go:58
↓ 14 callers
Method
GetDefaultSender
()
pkg/aggregator/sender/sender.go:47
↓ 14 callers
Function
GetProfile
GetProfile return a profile initialising it at first call
test/new-e2e/pkg/runner/profile.go:123
↓ 14 callers
Method
Handler
Handler returns an http handler to expose the internal metrics
comp/core/telemetry/component.go:26
↓ 14 callers
Method
HasFeature
(feat string)
pkg/trace/config/config.go:576
↓ 14 callers
Method
Header
Header mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:314
↓ 14 callers
Method
Histogram
(metric string, value float64, hostname string, tags []string)
pkg/aggregator/sender/sender.go:26
↓ 14 callers
Method
Limit
()
pkg/config/remote/service/clients.go:34
↓ 14 callers
Method
LogLevelFn
These functions are used in unit tests. LogLevelFn returns the log level
comp/core/log/params.go:147
↓ 14 callers
Method
Merge
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 callers
Function
NewDatadogMetricForTests
NewDatadogMetricForTests creates a new internal metric for tests.
pkg/clusteragent/externalmetrics/metrics_retriever_test.go:24
↓ 14 callers
Function
NewDefaultDataScrubber
NewDefaultDataScrubber creates a DataScrubber with the default behavior: enabled and matching the default sensitive words
pkg/orchestrator/redact/data_scrubber.go:48
↓ 14 callers
Function
NewHTTPTransaction
NewHTTPTransaction returns a new HTTPTransaction.
comp/forwarder/defaultforwarder/transaction/transaction.go:230
↓ 14 callers
Function
NewOTLPReceiver
NewOTLPReceiver returns a new OTLPReceiver which sends any incoming traces down the out channel.
pkg/trace/api/otlp.go:60
↓ 14 callers
Function
NewOTLPSpan
NewOTLPSpan creates a new OTLP Span with the given options.
pkg/trace/testutil/otlp.go:123
↓ 14 callers
Function
NewParsingContext
NewParsingContext returns a new parsing context
pkg/security/secl/compiler/ast/secl.go:27
↓ 14 callers
Function
NewPythonFakeCheck
NewPythonFakeCheck create a fake PythonCheck
pkg/collector/python/test_check.go:685
↓ 14 callers
Function
NewServiceExtractor
NewServiceExtractor instantiates a new service discovery extractor
pkg/process/metadata/parser/service.go:64
↓ 14 callers
Function
NewStringMatcher
NewStringMatcher returns a new string matcher
pkg/security/secl/compiler/eval/strings.go:230
↓ 14 callers
Method
NextRetry
NextRetry allows users to know when the next retry can happened
pkg/util/retry/retrier.go:77
↓ 14 callers
Method
PointerSize
PointerSize gets the size, in bytes, of pointers on the architecture
pkg/network/go/bininspect/types.go:76
↓ 14 callers
Method
Schedule
Schedule zero or more new configurations.
pkg/autodiscovery/scheduler/scheduler.go:21
↓ 14 callers
Method
Seek
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 callers
Method
SetAll
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 callers
Method
Start
(ctx context.Context)
pkg/security/resolvers/tags/resolver.go:42
↓ 14 callers
Method
Start
()
pkg/trace/config/config.go:448
↓ 14 callers
Method
Status
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:22
↓ 14 callers
Method
Stop
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 callers
Method
Stop
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:24
↓ 14 callers
Method
ToProto
ToProto returns a proto message Language
pkg/languagedetection/util/languageset.go:59
↓ 14 callers
Method
ValueFor
(m metric)
pkg/network/protocols/telemetry/delta.go:55
↓ 14 callers
Function
WithSysProbeConfFilePath
WithSysProbeConfFilePath specifies the path to the system probe config
comp/core/sysprobeconfig/sysprobeconfigimpl/params.go:25
↓ 14 callers
Method
WriteTo
WriteTo writes the address byte representation into the supplied buffer
pkg/process/util/address.go:23
↓ 14 callers
Function
_is_affirmative
(s)
pkg/config/legacy/tests/config.py:159
↓ 14 callers
Method
addSample
(sample *MetricSample, timestamp float64)
pkg/metrics/rate.go:20
↓ 14 callers
Method
addSample
(sample *MetricSample, timestamp float64)
pkg/metrics/metric.go:60
↓ 14 callers
Method
addSample
(sample *MetricSample, timestamp float64)
pkg/metrics/monotonic_count.go:34
↓ 14 callers
Function
applyUmask
nolint:unused nolint:deadcode,unused
pkg/security/tests/module_tester.go:1769
↓ 14 callers
Function
assertNotContainsCheck
(t *testing.T, checks []string, name string)
pkg/process/checks/enabled_checks_test.go:24
↓ 14 callers
Method
build
(self, renderDelegate)
tools/agent_QA/test_builder.py:38
↓ 14 callers
Method
buildMux
()
pkg/trace/api/api.go:129
↓ 14 callers
Function
calculatePct
(deltaProc, deltaTime, numCPU float64)
pkg/process/checks/process_nix.go:73
↓ 14 callers
Method
countWeightedSig
countWeightedSig counts a trace sampled by the sampler and update rates if buckets are rotated
pkg/trace/sampler/coresampler.go:120
↓ 14 callers
Method
dropRequests
()
pkg/util/kubernetes/kubelet/kubelet_test.go:105
↓ 14 callers
Function
firstNonEmpty
(strings ...string)
pkg/snmp/snmp.go:266
↓ 14 callers
Function
flushSerie
(sampler *TimeSampler, timestamp float64)
pkg/aggregator/time_sampler_test.go:570
↓ 14 callers
Method
full_path
Return the absolute path of the Go module.
tasks/modules.py:97
↓ 14 callers
Function
generateIPv4HTTPTransaction
(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 callers
Function
getNewBuilder
(t *testing.T)
comp/core/flare/helpers/builder_test.go:51
↓ 14 callers
Method
getNodeStore
getNodeStore retrieves the store struct for a given node name, if it exists
pkg/clusteragent/clusterchecks/stores.go:53
↓ 14 callers
Function
injectEnv
injectEnv injects an env var into a pod template if it doesn't exist
pkg/clusteragent/admission/mutate/common.go:105
↓ 14 callers
Function
isAffirmative
(value string)
pkg/config/legacy/converter.go:227
↓ 14 callers
Function
l
(i,o,a,s)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 14 callers
Method
log
(logFunc loggerFunc, format string, params ...interface{})
pkg/trace/log/throttled.go:34
← previous
next →
1,001–1,100 of 32,574, ranked by callers