MCPcopy Create free account

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

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

↓ 48 callersFunctionnewTestReceiverConfig
()
pkg/trace/api/api_test.go:60
↓ 48 callersFunctionskip
(dAtA []byte)
pkg/security/proto/api/api_vtproto.pb.go:9692
↓ 47 callersMethodAppendOffsetofRequest
(id, typeName, fieldName, headerName string)
pkg/security/probe/constantfetch/fetcher.go:30
↓ 47 callersFunctioncmp
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:495
↓ 47 callersFunctionvalidateProtocolConnection
(expectedStack *protocols.Stack)
pkg/network/tracer/tracer_classification_test.go:83
↓ 46 callersMethodAssertMetricTaggedWith
(t *testing.T, method string, metric string, tags []string)
comp/aggregator/diagnosesendermanager/component_mock.go:25
↓ 46 callersMethodFormat
Format transforms the supplied message.Message into a more user-friendly format, for diagnostic purposes.
pkg/logs/diagnostic/format.go:20
↓ 46 callersMethodGetConfigs
GetConfigs returns the current configs of a given product
pkg/remoteconfig/state/configs.go:50
↓ 46 callersMethodMarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
pkg/security/serializers/serializers_linux_easyjson.go:2411
↓ 46 callersMethodPort
Port returns the targeted port
pkg/workloadmeta/collectors/internal/remote/generic.go:53
↓ 46 callersFunctionfindConnection
(l, r net.Addr, c *network.Connections)
pkg/network/tracer/tracer_test.go:713
↓ 46 callersFunctionskipOverlaps
skipOverlaps returns the next valid offset and a boolean indicating if there was any overlap detected.
pkg/network/tracer/offsetguess/overlaps.go:22
↓ 45 callersFunctionAddRuleExpr
AddRuleExpr adds a rule expression
pkg/security/probe/kfilters/testutil.go:20
↓ 45 callersFunctionNewCompositeTags
NewCompositeTags creates a new CompositeTags with the given slices. Returned value may reference the argument slices directly (or not). Callers shoul
pkg/tagset/composite_tags.go:27
↓ 45 callersFunctionNewCounterWithOpts
NewCounterWithOpts creates a Counter with the given options for telemetry purpose. See NewCounter()
pkg/telemetry/counter.go:25
↓ 45 callersMethodNewProcessCacheEntry
NewProcessCacheEntry returns a new process cache entry
pkg/security/resolvers/process/resolver_linux.go:145
↓ 45 callersMethodTruncate
Truncate checks that the span resource, meta and metrics are within the max length and modifies them if they are not
pkg/trace/agent/truncator.go:16
↓ 45 callersFunctionclipPos
(doc, pos)
cmd/agent/gui/views/private/js/codemirror.js:506
↓ 45 callersFunctionmockInferredSpan
()
pkg/serverless/trace/inferredspan/span_enrichment_test.go:1031
↓ 44 callersMethodBytes
Bytes returns the raw bytes of the current Attribute's data.
pkg/network/netlink/attribute_scanner.go:108
↓ 44 callersMethodCommonConfigure
CommonConfigure is called when checks implement their own Configure method, in order to setup common options (run interval, empty hostname)
pkg/collector/corechecks/checkbase.go:97
↓ 44 callersMethodMatches
(value string)
pkg/security/secl/compiler/eval/strings.go:127
↓ 44 callersMethodNewCounter
NewCounter returns a new `Counter` using the provided namespace and common tags and associates it with the current metric group
pkg/network/protocols/telemetry/metric_group.go:43
↓ 44 callersMethodServiceCheck
(checkName string, status servicecheck.ServiceCheckStatus, hostname string, tags []string, message string)
pkg/aggregator/sender/sender.go:29
↓ 44 callersFunctionbenchmarkJSONStream
(b *testing.B, passes int, sharedBuffers bool, numberOfEvents int)
pkg/serializer/serializer_benchmark_test.go:40
↓ 44 callersFunctionconvertArray
(in *[]In, convert func(*In) *Out)
pkg/collector/corechecks/sbom/convert.go:91
↓ 44 callersFunctionconvertArray
(in *[]In, convert func(*In) *Out)
cmd/agentless-scanner/trivy_sbom_convert.go:89
↓ 44 callersFunctionm
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 44 callersFunctionparseMetricSample
(t *testing.T, overrides map[string]any, rawSample []byte)
comp/dogstatsd/server/parse_metrics_test.go:19
↓ 44 callersFunctionrandString
()
pkg/gohai/filesystem/filesystem_nix_test.go:277
↓ 43 callersMethodAPI
()
pkg/util/winutil/eventlog/test/test.go:31
↓ 43 callersFunctionCreateDefaultDemultiplexer
CreateDefaultDemultiplexer creates a default demultiplexer for testing
pkg/aggregator/mocksender/mocksender.go:30
↓ 43 callersMethodQuery
Query returns the query that should be used to fetch metrics
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:142
↓ 43 callersMethodStop
()
pkg/logs/auditor/auditor.go:57
↓ 42 callersMethodAppend
(ctx *Context, value interface{})
pkg/security/secl/compiler/eval/variables.go:29
↓ 42 callersMethodGetValue
(id string, tag string)
pkg/security/resolvers/tags/resolver.go:46
↓ 42 callersMethodIsRH7Kernel
IsRH7Kernel returns whether the kernel is a rh7 kernel
pkg/security/ebpf/kernel/kernel.go:224
↓ 42 callersMethodIterate
Iterate iterates over the chained slices in order calling function `f` on each item
pkg/network/slice/chain.go:32
↓ 42 callersMethodResolveK8SGroups
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:955
↓ 42 callersMethodResolveK8SUID
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:956
↓ 42 callersMethodResolveK8SUsername
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:957
↓ 42 callersMethodStart
Start starts the store, asynchronously initializing collectors and beginning to gather workload data. This is typically called during agent startup.
pkg/workloadmeta/types.go:32
↓ 42 callersFunctionToHostname
ToHostname converts from a string to a dns.Hostname
pkg/network/dns/types.go:31
↓ 42 callersFunctiongetDummyMessageWithLF
(content string)
pkg/logs/internal/decoder/line_handler_test.go:31
↓ 42 callersMethodisParentPathDiscarder
(rs *rules.RuleSet, eventType model.EventType, field eval.Field, filename string, depth int)
pkg/security/probe/discarders_linux.go:377
↓ 42 callersFunctionlist
(config config.Component, cliParams *cliParams)
cmd/agent/subcommands/integrations/command.go:889
↓ 41 callersMethodInfo
Info logs the given arguments, separated by spaces, at the info level
comp/core/log/component.go:38
↓ 41 callersMethodResolveProcessArgs
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:966
↓ 41 callersMethodResolveProcessArgsTruncated
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:969
↓ 41 callersMethodResolveProcessArgv0
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:972
↓ 41 callersMethodResolveProcessEnvsTruncated
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:976
↓ 41 callersMethodStop
Stop stops the check if it's running
pkg/collector/check/check.go:24
↓ 41 callersMethodStop
()
pkg/trace/event/processor.go:110
↓ 41 callersMethodSwap
(i, j int)
pkg/trace/sampler/signature.go:26
↓ 41 callersFunctionisArithmDeterministic
return whether a arithmetic operation is deterministic
pkg/security/secl/compiler/eval/operators.go:23
↓ 41 callersMethodread
read implement a timeout on t.reader.Read() because it can be blocking (it's a wrapper over an HTTP call). If read timeouts, this function returns con
pkg/logs/tailers/docker/tailer.go:280
↓ 41 callersMethodstop
()
pkg/security/tests/cmdwrapper.go:109
↓ 40 callersMethodAggregationHash
AggregationHash return a hash used as aggregation key
comp/netflow/common/flow.go:131
↓ 40 callersFunctionC
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 40 callersMethodName
()
pkg/util/winutil/eventlog/test/test.go:30
↓ 40 callersMethodNewClient
NewClient returns a client to connect to a remote gRPC server.
pkg/workloadmeta/collectors/internal/remote/generic.go:57
↓ 40 callersFunctionS
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 40 callersMethodSetContent
([]byte)
pkg/logs/message/message.go:239
↓ 40 callersMethodSetWithoutSource
SetWithoutSource is used for setting configuration in tests
pkg/config/mock.go:33
↓ 40 callersMethodWeight
Weight returns the weight of this item
pkg/process/util/api/weighted_queue.go:16
↓ 39 callersMethodAddRule
(name string)
pkg/compliance/tests/helpers.go:84
↓ 39 callersFunctionCopyStrings
CopyStrings makes a copy of a list of strings
pkg/collector/corechecks/snmp/internal/common/utils.go:35
↓ 39 callersMethodMatch
Match returns true if the rules are equal
pkg/security/secl/model/model.go:394
↓ 39 callersFunctionNewGaugeWithOpts
NewGaugeWithOpts creates a Gauge with the given options for telemetry purpose. See NewGauge()
pkg/telemetry/gauge.go:25
↓ 39 callersMethodObfuscateSQLString
ObfuscateSQLString quantizes and obfuscates the given input SQL query string. Quantization removes some elements such as comments and aliases and obfu
pkg/obfuscate/sql.go:293
↓ 39 callersMethodPublish
(queue, body string)
pkg/network/protocols/amqp/client.go:122
↓ 39 callersMethodWithInput
(input string, args ...any)
pkg/compliance/tests/helpers.go:159
↓ 39 callersFunctionbuildStoreKey
buildStoreKey will use the input data (sourceAddr, destAddr, endpoint type, port) and convert it to a key with `string` type. The actual elements of t
comp/netflow/portrollup/portrollup.go:204
↓ 39 callersMethodcomputeChanges
computeChanges is used by PullChanges, split for testing
pkg/util/kubernetes/kubelet/podwatcher.go:69
↓ 39 callersFunctionconvertField
(s *uint64, t **float64)
pkg/util/containers/metrics/system/util.go:12
↓ 39 callersMethodgetConfig
()
comp/logs/agent/config/config_keys.go:44
↓ 39 callersMethodset
(v float64, tagsValue ...string)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:52
↓ 38 callersFunctionBuildEndpoints
BuildEndpoints returns the endpoints to send logs.
comp/logs/agent/config/config.go:100
↓ 38 callersMethodDec
Dec decrements the Gauge value.
comp/core/telemetry/gauge.go:15
↓ 38 callersMethodEval
(ctx *Context)
pkg/security/secl/compiler/eval/evaluators.go:17
↓ 38 callersMethodGetInt64
(key string)
pkg/config/model/types.go:32
↓ 38 callersMethodGetTagStats
GetTagStats returns the struct in which the stats will be stored depending of their tags.
pkg/trace/info/stats.go:35
↓ 38 callersMethodHostname
Hostname runs hostname command and returns the runtime Agent hostname
test/new-e2e/pkg/utils/e2e/client/agent.go:18
↓ 38 callersMethodListen
(newSvc, delSvc chan<- Service)
pkg/autodiscovery/listeners/types.go:55
↓ 38 callersMethodPost
Post posts the given list of traces to the trace agent. Before posting, agent must be started. You can start an agent using RunAgent.
cmd/trace-agent/test/runner.go:139
↓ 38 callersMethodRegisterClient
RegisterClient starts tracking stateful data for the given client If the client is already registered, it does nothing.
pkg/network/state.go:97
↓ 38 callersMethodgetConfigKey
(key string)
comp/logs/agent/config/config_keys.go:48
↓ 38 callersFunctioninfo
(msg: str)
tasks/kernel_matrix_testing/tool.py:17
↓ 38 callersMethodnormalize
normalize makes sure a Span is properly initialized and encloses the minimum required info, returning error if it is invalid beyond repair
pkg/trace/agent/normalizer.go:42
↓ 37 callersMethodAddFileFromFunc
AddFileFromFunc creates a new file in the flare with the content returned by the callback. 'destFile' is a path relative to the flare root (ex: "some
comp/core/flare/types/types.go:66
↓ 37 callersMethodClose
()
pkg/logs/tailers/journald/journal_factory.go:25
↓ 37 callersMethodDone
Done must be called after decoding events so the underlying buffers can be reclaimed.
pkg/network/netlink/consumer.go:108
↓ 37 callersFunctionHostVersion
HostVersion returns the running kernel version of the host
pkg/util/kernel/version.go:44
↓ 37 callersFunctionIsCloudProviderEnabled
IsCloudProviderEnabled checks the cloud provider family provided in pkg/util/<cloud_provider>.go against the value for cloud_provider: on the global c
pkg/config/config.go:1849
↓ 37 callersMethodList
()
pkg/config/settings/api.go:14
↓ 37 callersFunctionNewHashingTagsAccumulatorWithTags
NewHashingTagsAccumulatorWithTags return a new HashingTagsAccumulator, initialized with tags.
pkg/tagset/hashing_tags_accumulator.go:30
↓ 37 callersMethodRoot
()
pkg/security/tests/testdrive.go:28
↓ 37 callersMethodStoreClosedConnections
StoreClosedConnections stores a batch of closed connections
pkg/network/state.go:109
↓ 37 callersFunctionTag
Tag queries the captureTagger (for replay scenarios) or the defaultTagger. It can return tags at high cardinality (with tags about individual containe
pkg/tagger/global.go:109
↓ 37 callersMethodValue
()
pkg/compliance/metrics/rego.go:112
← previousnext →301–400 of 32,574, ranked by callers