MCPcopy Create free account

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

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

↓ 11 callersFunctionNewLogSources
NewLogSources creates a new log sources.
pkg/logs/sources/sources.go:35
↓ 11 callersFunctionNewMetaScheduler
NewMetaScheduler inits a meta scheduler
pkg/autodiscovery/scheduler/meta.go:29
↓ 11 callersFunctionNewMetricSender
NewMetricSender create a new MetricSender
pkg/collector/corechecks/snmp/internal/report/report_metrics.go:41
↓ 11 callersFunctionNewMockEventPlatformForwarder
NewMockEventPlatformForwarder creates a new mock instance.
pkg/epforwarder/epforwarder_mockgen.go:26
↓ 11 callersFunctionNewMockedExecEvent
NewMockedExecEvent creates a mocked Exec event for tests
pkg/process/events/model/model_common.go:90
↓ 11 callersFunctionNewRunner
NewRunner takes the number of desired goroutines processing incoming checks.
pkg/collector/runner/runner.go:54
↓ 11 callersFunctionNewStatkeeper
(c *config.Config, telemetry *Telemetry)
pkg/network/protocols/http/statkeeper.go:40
↓ 11 callersMethodNonLeafNodeExist
NonLeafNodeExist checks if the oid is a known node (a node have at least one child)
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:90
↓ 11 callersMethodOut
Out returns a channel which will provide payloads received by the fake backend. They can be of type pb.AgentPayload or agent.StatsPayload.
cmd/trace-agent/test/runner.go:99
↓ 11 callersFunctionPEP440ToSemver
PEP440ToSemver TODO <agent-integrations>
cmd/agent/subcommands/integrations/command.go:250
↓ 11 callersFunctionParseCheckNames
ParseCheckNames returns a slice of check names parsed from a JSON array
pkg/autodiscovery/common/utils/annotations.go:101
↓ 11 callersMethodPids
Pids returns the list of pids in the group.
pkg/gohai/processes/gops/process_group.go:28
↓ 11 callersMethodQueryKubelet
(ctx context.Context, path string)
pkg/util/kubernetes/kubelet/kubelet_interface.go:25
↓ 11 callersFunctionReadConfigFiles
ReadConfigFiles returns integration configs read from config files, a mapping integration config error strings and an error. The filter argument allow
pkg/autodiscovery/providers/config_reader.go:111
↓ 11 callersFunctionRemoveNameMappings
RemoveNameMappings removes the full name mappings for ebpf maps in the manager
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:75
↓ 11 callersMethodResolve
(id string)
pkg/security/resolvers/tags/resolver.go:44
↓ 11 callersMethodResolveContainerID
(ev *Event, e *ContainerContext)
pkg/security/secl/model/field_handlers_unix.go:945
↓ 11 callersMethodResolveProcessArgvScrubbed
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:971
↓ 11 callersMethodResolveUser
ResolveUser resolves a user id to a username
pkg/security/resolvers/usergroup/resolver.go:157
↓ 11 callersMethodRun
Run executes the check
pkg/collector/corechecks/systemd/systemd.go:210
↓ 11 callersFunctionSanitizeAPIKey
SanitizeAPIKey strips newlines and other control characters from a given string.
pkg/config/utils/api_key.go:13
↓ 11 callersMethodScrubBytes
ScrubBytes scrubs credentials from slice of bytes
pkg/util/scrubber/scrubber.go:119
↓ 11 callersMethodSetBasenameStr
SetBasenameStr set and mark as resolved
pkg/security/secl/model/model_unix.go:441
↓ 11 callersFunctionSetupLogger
SetupLogger Alias using Datadog config
pkg/config/aliases.go:98
↓ 11 callersMethodShouldFlush
ShouldFlush returns true if this strategy want to flush at the given moment.
pkg/serverless/flush/strategy.go:87
↓ 11 callersMethodShouldLog
ShouldLog returns true if the caller should log
pkg/process/util/log_limit.go:42
↓ 11 callersMethodShutdown
Shutdown stops any running agent and shuts down the fake backend.
cmd/trace-agent/test/runner.go:60
↓ 11 callersMethodSortUniq
SortUniq sorts and remove duplicate in place
pkg/tagset/hashing_tags_accumulator.go:51
↓ 11 callersMethodStart
()
comp/forwarder/defaultforwarder/default_forwarder.go:60
↓ 11 callersMethodStart
Start initializes the runner and starts the fake backend.
cmd/trace-agent/test/runner.go:45
↓ 11 callersMethodStop
Stop Gracefully stop the http server
test/fakeintake/server/server.go:153
↓ 11 callersMethodStoreInvocationTime
StoreInvocationTime stores the given invocation time in the list of previous invocations. It is used to compute the invocation interval of the current
pkg/serverless/daemon/interval.go:30
↓ 11 callersFunctionStringFromBytes
StringFromBytes converts a null-terminated (C-style) string to a Go string The given slice must be null-terminated.
pkg/gohai/utils/helpers.go:12
↓ 11 callersMethodSubscribe
Subscribe subscribes the caller to events representing changes to the store, limited to events matching the filter. The name is used for telemetry an
pkg/workloadmeta/types.go:51
↓ 11 callersMethodUbuntuKernelVersion
UbuntuKernelVersion returns a parsed ubuntu kernel version or nil if not on ubuntu or if parsing failed
pkg/security/ebpf/kernel/kernel.go:211
↓ 11 callersMethodUpdateTargetTPS
(targetTPS float64)
pkg/trace/remoteconfighandler/remote_config_handler.go:30
↓ 11 callersFunctionWithVMParams
WithVMParams sets VM parameters See [ec2vm.Params] for available options for vmParams.
test/new-e2e/pkg/utils/e2e/stack_definition.go:107
↓ 11 callersFunctionWrite
Write stores data on disk in the run directory.
pkg/persistentcache/persistentcache.go:41
↓ 11 callersFunction_
()
pkg/security/config/enum_string.go:7
↓ 11 callersFunctionaddCWSDDFile
(id string, version int64, file []byte, targets *data.Targets)
pkg/remoteconfig/state/testingutils_test.go:171
↓ 11 callersFunctionapplyDefault
applyDefault sets configuration `key` to `defaultVal` only if not previously set.
cmd/system-probe/config/adjust.go:93
↓ 11 callersFunctionbuildStoreKey
(key ...string)
pkg/autodiscovery/providers/utils.go:34
↓ 11 callersFunctionce
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 11 callersFunctioncountColumn
(string, end, tabSize, startIndex, startValue)
cmd/agent/gui/views/private/js/codemirror.js:161
↓ 11 callersFunctioncreateDeps
(t *testing.T)
pkg/collector/corechecks/snmp/snmp_test.go:57
↓ 11 callersFunctioncreateServiceCheck
(checkName string)
pkg/serializer/internal/metrics/service_checks_test.go:69
↓ 11 callersFunctioncursorCoords
(cm, pos, context, lineObj, preparedMeasure, varHeight)
cmd/agent/gui/views/private/js/codemirror.js:2692
↓ 11 callersFunctiondemuxOpts
()
pkg/collector/corechecks/snmp/snmp_test.go:44
↓ 11 callersMethoddoJSONQuery
(ctx context.Context, path, method string, body io.Reader, obj interface{}, useLeaderClient bool)
pkg/util/clusteragent/clusteragent.go:345
↓ 11 callersFunctionencode
(t *testing.T, typ agentmodel.MessageType, body agentmodel.MessageBody)
test/fakeintake/fixtures/process.go:16
↓ 11 callersFunctionfakePodWithLabel
(k, v string)
pkg/clusteragent/admission/mutate/test_utils.go:79
↓ 11 callersFunctionfilenameDiscarderWrapper
(eventType model.EventType, getter inodeEventGetter)
pkg/security/probe/discarders_linux.go:448
↓ 11 callersMethodfilter
(path, name string)
pkg/util/cgroups/self_reader.go:57
↓ 11 callersMethodflush
(timestamp float64)
pkg/metrics/monotonic_count.go:55
↓ 11 callersFunctionfulfillDepsWithConfig
(t testing.TB, overrides map[string]interface{})
comp/dogstatsd/listeners/udp_test.go:25
↓ 11 callersMethodgetAllConfigs
getAllConfigs returns all configurations known to the store, for reporting
pkg/clusteragent/clusterchecks/dispatcher_configs.go:18
↓ 11 callersFunctiongetBlobWriter
(t *testing.T, assert *assert.Assertions, in *network.Connections, marshalerType string)
pkg/network/encoding/encoding_test.go:51
↓ 11 callersFunctiongetRtLoaderError
()
pkg/collector/python/loader.go:91
↓ 11 callersFunctiongetTestDB
(t *testing.T)
pkg/config/remote/uptane/local_store_test.go:18
↓ 11 callersFunctiongetTimeIfNotZero
nolint: deadcode, unused
pkg/security/serializers/helpers.go:32
↓ 11 callersFunctionget_build_tags
Build the list of tags based on inclusions and exclusions passed through the command line include and exclude can be lists or sets.
tasks/build_tags.py:287
↓ 11 callersFunctionh
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 11 callersFunctionhasPID
(w *Watcher, cmd *exec.Cmd)
pkg/network/usm/sharedlibraries/watcher_test.go:448
↓ 11 callersFunctionisDbVersionGreaterOrEqualThan
(c *Check, v string)
pkg/collector/corechecks/oracle-dbm/oracle.go:378
↓ 11 callersFunctionisDigit
(ch rune)
pkg/obfuscate/sql_tokenizer.go:916
↓ 11 callersFunctionmaySkipLocalTest
(t *testing.T)
pkg/process/procutil/process_linux_test.go:1388
↓ 11 callersFunctionmerge
(dst, src interface{})
pkg/workloadmeta/merge.go:94
↓ 11 callersMethodmerge
(name Hostname, deadline time.Time, maxSize int)
pkg/network/dns/cache.go:214
↓ 11 callersFunctionnewAgentMetric
(name string)
pkg/security/metrics/metrics.go:516
↓ 11 callersFunctionnewTestBlobInfo
()
pkg/util/trivy/cache_test.go:357
↓ 11 callersFunctionnewTestCheck
(id string)
pkg/collector/runner/tracker/tracker_test.go:29
↓ 11 callersFunctionnewTestRepository
(snapshotOrgID int, version int64, configTargets data.TargetFiles, directorTargets data.TargetFiles, targetFil
pkg/config/remote/uptane/client_test.go:366
↓ 11 callersFunctionnormalizeSelection
(ranges, primIndex)
cmd/agent/gui/views/private/js/codemirror.js:4504
↓ 11 callersFunctionoff
(emitter, type, f)
cmd/agent/gui/views/private/js/codemirror.js:1135
↓ 11 callersMethodprocessLogMessages
(messages []LambdaLogAPIMessage)
pkg/serverless/logs/logs_collector.go:178
↓ 11 callersFunctionpushSync
pushSync is an auxiliary function to push events to the RingStore synchronously
pkg/process/events/store_test.go:23
↓ 11 callersFunctionreportMetric
(senderFunc func(string, float64, string, []string), metricName string, value *T, tags []string)
pkg/collector/corechecks/containers/kubelet/provider/summary/provider.go:242
↓ 11 callersMethodrequeueTransaction
(t transaction.Transaction)
comp/forwarder/defaultforwarder/domain_forwarder.go:141
↓ 11 callersFunctionresetSender
(sender *mocksender.MockSender)
pkg/collector/corechecks/windows_event_log/check_test.go:107
↓ 11 callersFunctionrunCollectorTest
(t *testing.T, check checks.Check, epConfig *endpointConfig, mockConfig ddconfig.Config, tc func(c *CheckRunne
pkg/process/runner/collector_api_test.go:542
↓ 11 callersFunctions
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 11 callersMethodsendMetric
(metricSample MetricSample)
pkg/collector/corechecks/snmp/internal/report/report_metrics.go:176
↓ 11 callersFunctionsendRequestThroughForwarder
sendRequestThroughForwarder sends a request through the evpProxyForwarder handler and returns the forwarded request(s), their response and the log out
pkg/trace/api/evp_proxy_test.go:37
↓ 11 callersFunctionsetJSONError
(w http.ResponseWriter, err error, errorCode int)
cmd/cluster-agent/api/agent/agent.go:223
↓ 11 callersFunctionstop
(ag *agent)
comp/trace/agent/agent.go:127
↓ 11 callersFunctiontestProc
(pid int32, cmdline []string)
pkg/process/metadata/workloadmeta/extractor_test.go:29
↓ 11 callersFunctiontestTags
()
pkg/collector/corechecks/cluster/helm/events_test.go:302
↓ 11 callersFunctiontoProcessedTrace
(spans []*pb.Span, env, tracerHostname string)
pkg/trace/stats/concentrator_test.go:65
↓ 11 callersMethodupdate
(recent *Stats)
pkg/trace/info/stats.go:415
↓ 11 callersMethodupdateLeaderIP
updateLeaderIP queries the leader election engine and updates the leader IP accordlingly. In case of leadership statuschange, a state type is sent on
pkg/clusteragent/clusterchecks/handler.go:211
↓ 11 callersFunctionwrapHPAFunc
(f func(*autoscaling.HorizontalPodAutoscaler) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/hpa.go:388
↓ 10 callersMethodAddConfigPath
(in string)
pkg/config/model/types.go:121
↓ 10 callersMethodAddMetric
AddMetric add custom metrics to the report
pkg/security/tests/module_stresser.go:116
↓ 10 callersMethodAddr
Addr returns the address of the trace agent receiver.
cmd/trace-agent/test/agent.go:112
↓ 10 callersMethodAppendInt64
(v int64)
pkg/util/log/zap/zapencoder.go:109
↓ 10 callersMethodAssertServiceCheck
(t *testing.T, checkName string, status servicecheck.ServiceCheckStatus, hostname string, tags []string, messa
comp/aggregator/diagnosesendermanager/component_mock.go:20
↓ 10 callersMethodByteKey
ByteKey returns a unique key for this connection represented as a byte slice It's as following: 4B 2B 2B .5B .5B 4/16B
pkg/network/event_common.go:317
↓ 10 callersMethodClone
Clone creates a copy of ProcessedTrace, cloning p, p.TraceChunk, and p.Root. This means it is safe to modify the returned ProcessedTrace's (pt's) fiel
pkg/trace/traceutil/processed_trace.go:34
↓ 10 callersMethodConfigWithError
ConfigWithError runs config command and returns the runtime agent config or an error
test/new-e2e/pkg/utils/e2e/client/agent.go:24
↓ 10 callersMethodCopyFileTo
CopyFileTo copies the content of 'srcFile' to 'destFile' in the flare. The data is automatically scrubbed of any sensitive informations before being
comp/core/flare/types/types.go:85
← previousnext →1,401–1,500 of 32,574, ranked by callers