MCPcopy Create free account

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

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

↓ 4 callersFunctionsnmpFactory
()
pkg/collector/corechecks/snmp/snmp.go:191
↓ 4 callersFunctionsov
(x uint64)
pkg/eventmonitor/proto/api/api_vtproto.pb.go:137
↓ 4 callersFunctionsplitName
Example: given "usm.http.hits" The return value will be: "usm.http" and "hits"
pkg/network/protocols/telemetry/utils.go:38
↓ 4 callersFunctionsplitTagRegex
splitTag splits a "k:v" formatted string and returns a TagRegex.
comp/trace/config/setup.go:748
↓ 4 callersFunctionsplitTagsAndOptions
Example: given {"_opt3", "tag:a", "_opt2", "tag:b", "_opt1", "tag:c"} The return value will be: {"tag:a", "tag:b", "tag:c"} {"_opt1", "_opt2", "_opt3"
pkg/network/protocols/telemetry/utils.go:18
↓ 4 callersMethodstarted
lightweight shortcut to see if the collector has started
pkg/collector/collector.go:228
↓ 4 callersMethodstorePoint
(cacheKey string, value float64, timestamp time.Time)
pkg/collector/corechecks/containers/generic/rate_capping_sender.go:97
↓ 4 callersFunctionsubmitConnectionsMetrics
(sender sender.Sender, protocolName string, stateMetricSuffixMapping map[string]string, connectionsStats []net
pkg/collector/corechecks/net/network.go:221
↓ 4 callersFunctionsync_source
(ctx, vm_ls, source, target, ssh_key)
tasks/kmt.py:165
↓ 4 callersMethodtagCounters
()
pkg/trace/info/stats.go:220
↓ 4 callersFunctiontagSuccess
(scan *scanTask)
cmd/agentless-scanner/main.go:1705
↓ 4 callersFunctiontestDNSStats
(t *testing.T, tr *Tracer, domain string, success, failure, timeout int, serverIP string)
pkg/network/tracer/tracer_test.go:1006
↓ 4 callersFunctiontestFindFrame
test that m matches a line with content of length contentLen and rawDataLen as given, for all values of `seen` up to `rawDataLen-1`.
pkg/logs/internal/framer/matcher_test.go:16
↓ 4 callersFunctiontestHTTPMonitor
(t *testing.T, targetAddr, serverAddr string, numReqs int, o testutil.Options)
pkg/network/usm/monitor_test.go:817
↓ 4 callersFunctiontestNoRetry
(t *testing.T, statusCode int)
pkg/logs/client/http/destination_test.go:85
↓ 4 callersFunctiontestProtocolClassification
(t *testing.T, tr *Tracer, clientHost, targetHost, serverHost string)
pkg/network/tracer/tracer_classification_test.go:134
↓ 4 callersFunctiontestSplitPayloadsEvents
(t *testing.T, numPoints int, compress bool)
pkg/serializer/split/split_test.go:172
↓ 4 callersFunctiontestSplitPayloadsSeries
(t *testing.T, numPoints int, compress bool)
pkg/serializer/split/split_test.go:50
↓ 4 callersFunctiontestSplitPayloadsServiceChecks
(t *testing.T, numPoints int, compress bool)
pkg/serializer/split/split_test.go:238
↓ 4 callersFunctiontestStringField
(t *testing.T, name string, get func(span *Span) string)
pkg/proto/pbgo/trace/span_gen_modifs_test.go:34
↓ 4 callersFunctiontestTags
(t *testing.T, tags []string, expectedTags []string)
pkg/util/cloudproviders/gce/gce_tags_test.go:87
↓ 4 callersFunctiontest_core
Run the command function on each module of the modules list.
tasks/test.py:156
↓ 4 callersMethodtoArray
toArray will transform the Tags struct into a slice of string. We only publish the non-empty tags.
pkg/trace/info/stats.go:506
↓ 4 callersFunctiontoMultiValueMap
Helper function to convert a single-value map of event values into a multi-value one.
pkg/serverless/appsec/httpsec/http.go:264
↓ 4 callersFunctiontoRadians
(num float64)
pkg/network/tracer/testutil/grpc/server.go:178
↓ 4 callersFunctiontoSlice
(m map[string]bool)
pkg/tagger/utils/taglist.go:96
↓ 4 callersMethodtriggerLoadControllerReducer
nolint:deadcode,unused
pkg/security/tests/module_tester.go:2076
↓ 4 callersFunctiontrimColonRight
trimColonRight will remove any colon and it's associated value right of the string
pkg/process/metadata/parser/service.go:198
↓ 4 callersFunctiontry_git_command
Try a git command that should be retried (after user confirmation) if it fails. Primarily useful for commands which can fail if commit signin
tasks/release.py:898
↓ 4 callersFunctiontsDropped
tagStatsDropped returns a new info.TagStats structure containing the given dropped stats.
pkg/trace/agent/normalizer_test.go:59
↓ 4 callersFunctionue
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 4 callersMethodunconditionalSend
(payload *message.Payload)
pkg/logs/client/http/destination.go:241
↓ 4 callersFunctionunmarshalSketch
(t *testing.T, bytes []byte)
pkg/network/encoding/http_test.go:361
↓ 4 callersFunctionupdateHeightsInViewport
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3224
↓ 4 callersMethodupdateRunnersStats
updateRunnersStats collects stats from the registred Cluster Level Check runners and updates the stats cache
pkg/clusteragent/clusterchecks/dispatcher_nodes.go:183
↓ 4 callersFunctionupdateTCPStats
(conn *network.ConnectionStats, tcpStats *netebpf.TCPStats, retransmits uint32)
pkg/network/tracer/connection/tracer.go:688
↓ 4 callersMethodvalidateBindSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:217
↓ 4 callersMethodvalidateDNSSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:211
↓ 4 callersFunctionvalidateHeaderDirs
validateHeaderDirs checks all the given directories and returns the directories containing kernel headers matching the kernel version of the running h
pkg/util/kernel/find_headers.go:226
↓ 4 callersMethodvalidateLoadModuleSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:181
↓ 4 callersFunctionvalidateLogLevel
(logLevel string)
pkg/config/logs/log.go:554
↓ 4 callersFunctionvalidateProduceFetchCount
(t *testing.T, kafkaStats map[kafka.Key]*kafka.RequestStat, topicName string, validation kafkaParsingValidatio
pkg/network/usm/kafka_monitor_test.go:450
↓ 4 callersMethodvalidateRenameSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:115
↓ 4 callersFunctionvalidateStringSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:57
↓ 4 callersFunctionversionToString
(v goversion.GoVersion)
pkg/network/go/rungo/matrix/matrix.go:261
↓ 4 callersMethodview
transaction types
pkg/config/remote/uptane/transactional_store.go:102
↓ 4 callersFunctionviewCuttingPoint
(cm, oldN, newN, dir)
cmd/agent/gui/views/private/js/codemirror.js:3960
↓ 4 callersFunctionwafHealth
wafHealth is a simple test helper that returns the same thing as `waf.Health` used to return in `go-libddwaf` prior to v1.4.0
pkg/serverless/appsec/appsec.go:138
↓ 4 callersMethodwaitForCancelledCheckMetrics
()
pkg/collector/collector_demux_test.go:80
↓ 4 callersFunctionwaitForConnectionsWithProtocol
(t *testing.T, tr *Tracer, targetAddr, serverAddr string, expectedStack *protocols.Stack)
pkg/network/tracer/tracer_classification_test.go:1760
↓ 4 callersFunctionwait_for_pipeline
Follow a given pipeline, periodically checking the pipeline status and printing changes to the job statuses.
tasks/libs/pipeline_tools.py:146
↓ 4 callersMethodwalkAPIResources
(inventory *inventory.CollectorInventory, resources []*v1.APIResourceList)
pkg/collector/corechecks/cluster/orchestrator/discovery/collector_discovery.go:104
↓ 4 callersMethodwarn
warn logs at the warn level, called with sw.l held
pkg/util/log/log.go:238
↓ 4 callersFunctionwithContainer
(pod *corev1.Pod, nameSuffix string)
pkg/clusteragent/admission/mutate/test_utils.go:190
↓ 4 callersFunctionwithSource
(source string)
pkg/security/tests/testmount.go:25
↓ 4 callersFunctionwrapPodFunc
(f func(*v1.Pod) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/pod.go:217
↓ 4 callersFunctionwriteError
(err error, code int, w http.ResponseWriter)
cmd/process-agent/api/util.go:13
↓ 4 callersFunctionyieldConnections
(count int)
pkg/process/checks/process_common_test.go:366
↓ 4 callersFunctionzeroAndGetMax
zeroAndGetMax zeroes expired buckets and returns the max count
pkg/trace/sampler/coresampler.go:222
↓ 4 callersMethodzeroEvent
()
pkg/security/probe/probe.go:112
↓ 3 callersFunction$t
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 3 callersMethodAdd
Add adds the given value to the counter with the given tags value. If the value is < 0, no add takes place, as the counter is monotonic. The promethe
comp/core/telemetry/prom_counter.go:31
↓ 3 callersMethodAdd
Add tracks a new execution time
pkg/collector/check/stats/stats.go:144
↓ 3 callersMethodAdd
Add adds a file to a temp folder
pkg/util/testutil/tempfolder.go:34
↓ 3 callersFunctionAddAgentVersionToDomain
AddAgentVersionToDomain prefixes the domain with the agent version: X-Y-Z.domain
pkg/config/utils/endpoints.go:129
↓ 3 callersMethodAddCounter
AddCounter adds a counter to the list of counters managed by a PdhQuery. It does NOT add the Windows counter to the Windows query.
pkg/util/winutil/pdhutil/pdhcounter.go:185
↓ 3 callersMethodAddMatch
(match string)
pkg/logs/tailers/journald/journal_factory.go:18
↓ 3 callersFunctionAddQueryToTelemetry
AddQueryToTelemetry Adds a query to the telemetry
pkg/util/ecs/telemetry/telemetry.go:30
↓ 3 callersMethodAddRules
AddRules adds rules to the ruleset and generate their partials
pkg/security/secl/rules/ruleset.go:286
↓ 3 callersFunctionAddRunningCheckCount
AddRunningCheckCount is used to increment and decrement the 'RunningChecks' expvar
pkg/collector/runner/expvars/expvars.go:212
↓ 3 callersMethodAddScheduler
(string, scheduler.Scheduler, bool)
pkg/clusteragent/clusterchecks/handler.go:41
↓ 3 callersMethodAddService
AddService creates a new AD service under the svcID name (only used internally to identify a service). If a non-empty parentSvcID is passed, the servi
pkg/autodiscovery/listeners/workloadmeta.go:34
↓ 3 callersMethodAddString
(k string, v string)
pkg/util/log/zap/zapencoder.go:60
↓ 3 callersFunctionAddStrippedKeys
AddStrippedKeys adds to the set of YAML keys that will be recognized and have their values stripped. This modifies the DefaultScrubber directly and be
pkg/util/scrubber/default.go:321
↓ 3 callersMethodAddTags
AddTags add new tags
pkg/security/seclog/logger.go:168
↓ 3 callersMethodAddToFlags
AddToFlags adds a flag to the event
pkg/security/secl/model/model.go:281
↓ 3 callersFunctionAddrToEndPoint
AddrToEndPoint creates an EndPoint from an Addr.
pkg/logs/client/tcp/test_utils.go:27
↓ 3 callersFunctionAllCustomRuleIDs
AllCustomRuleIDs returns the list of custom rule IDs
pkg/security/events/custom.go:86
↓ 3 callersMethodAllFileSettingsWithoutDefault
()
pkg/config/model/types.go:50
↓ 3 callersFunctionAllProbes
AllProbes returns the list of all the probes of the runtime security module
pkg/security/ebpf/probes/all.go:54
↓ 3 callersFunctionAllStorageFormats
AllStorageFormats returns the list of supported formats
pkg/security/config/dump.go:106
↓ 3 callersMethodAllows
Allows returns true if the Blacklister permits this span.
pkg/trace/filters/blacklister.go:22
↓ 3 callersMethodAllowsStat
AllowsStat returns true if the Blacklister permits this stat
pkg/trace/filters/blacklister.go:32
↓ 3 callersMethodAppendSizeofRequest
(id, typeName, headerName string)
pkg/security/probe/constantfetch/fetcher.go:29
↓ 3 callersFunctionArrayToMap
(tagArray []string)
pkg/serverless/tags/tags.go:124
↓ 3 callersFunctionAskForEmail
AskForEmail asks for the user's email
pkg/util/input/input.go:17
↓ 3 callersFunctionAt
(e,t)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 3 callersFunctionAutoscalerMetricsUpdate
AutoscalerMetricsUpdate will return true if the applied configuration of the Autoscaler has changed. We only care about updates of the metrics or thei
pkg/util/kubernetes/autoscalers/autoscalers.go:210
↓ 3 callersMethodBindPFlag
(key string, flag *pflag.Flag)
pkg/config/model/types.go:126
↓ 3 callersFunctionBuildLogEntry
BuildLogEntry concatenates all inputs with spaces
pkg/util/log/log.go:390
↓ 3 callersFunctionBuildURL
BuildURL returns the 'prometheus_url' based on the default values and the prometheus path and port annotations
pkg/autodiscovery/common/types/prometheus.go:314
↓ 3 callersMethodBytes
Bytes returns the binary representation of a FilterPolicy
pkg/security/probe/kfilters/kfilters.go:17
↓ 3 callersFunctionCIDR
CIDR formats an IP and number of bits in CIDR format (e.g. `192.1.128.64/26`). ones should be the number of ones in the bitmask, e.g. 26 in the exampl
comp/netflow/format/cidr.go:15
↓ 3 callersFunctionCIDREquals
CIDREquals evaluates CIDR ranges
pkg/security/secl/compiler/eval/operators.go:839
↓ 3 callersMethodCapacity
Capacity returns the current capacity of the buffer
pkg/network/buffer.go:66
↓ 3 callersMethodCheck
Check returns an error if the action in invalid
pkg/security/secl/rules/ruleset.go:128
↓ 3 callersFunctionCheckConnectivity
CheckConnectivity check if sending logs through HTTP works
pkg/logs/client/http/destination.go:395
↓ 3 callersFunctionCheckEventFromError
CheckEventFromError wraps any error into a correct CheckEvent, detecting if the underlying error should be marked as skipped or not.
pkg/compliance/data.go:195
↓ 3 callersFunctionCheckSizeAndSerialize
CheckSizeAndSerialize Check the size of a payload and marshall it (optionally compress it) The dual role makes sense as you will never serialize witho
pkg/serializer/split/split.go:63
↓ 3 callersMethodChildren
(key string)
pkg/autodiscovery/providers/zookeeper.go:31
← previousnext →4,501–4,600 of 32,574, ranked by callers