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
↓ 48 callers
Function
newTestReceiverConfig
()
pkg/trace/api/api_test.go:60
↓ 48 callers
Function
skip
(dAtA []byte)
pkg/security/proto/api/api_vtproto.pb.go:9692
↓ 47 callers
Method
AppendOffsetofRequest
(id, typeName, fieldName, headerName string)
pkg/security/probe/constantfetch/fetcher.go:30
↓ 47 callers
Function
cmp
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:495
↓ 47 callers
Function
validateProtocolConnection
(expectedStack *protocols.Stack)
pkg/network/tracer/tracer_classification_test.go:83
↓ 46 callers
Method
AssertMetricTaggedWith
(t *testing.T, method string, metric string, tags []string)
comp/aggregator/diagnosesendermanager/component_mock.go:25
↓ 46 callers
Method
Format
Format transforms the supplied message.Message into a more user-friendly format, for diagnostic purposes.
pkg/logs/diagnostic/format.go:20
↓ 46 callers
Method
GetConfigs
GetConfigs returns the current configs of a given product
pkg/remoteconfig/state/configs.go:50
↓ 46 callers
Method
MarshalEasyJSON
MarshalEasyJSON supports easyjson.Marshaler interface
pkg/security/serializers/serializers_linux_easyjson.go:2411
↓ 46 callers
Method
Port
Port returns the targeted port
pkg/workloadmeta/collectors/internal/remote/generic.go:53
↓ 46 callers
Function
findConnection
(l, r net.Addr, c *network.Connections)
pkg/network/tracer/tracer_test.go:713
↓ 46 callers
Function
skipOverlaps
skipOverlaps returns the next valid offset and a boolean indicating if there was any overlap detected.
pkg/network/tracer/offsetguess/overlaps.go:22
↓ 45 callers
Function
AddRuleExpr
AddRuleExpr adds a rule expression
pkg/security/probe/kfilters/testutil.go:20
↓ 45 callers
Function
NewCompositeTags
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 callers
Function
NewCounterWithOpts
NewCounterWithOpts creates a Counter with the given options for telemetry purpose. See NewCounter()
pkg/telemetry/counter.go:25
↓ 45 callers
Method
NewProcessCacheEntry
NewProcessCacheEntry returns a new process cache entry
pkg/security/resolvers/process/resolver_linux.go:145
↓ 45 callers
Method
Truncate
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 callers
Function
clipPos
(doc, pos)
cmd/agent/gui/views/private/js/codemirror.js:506
↓ 45 callers
Function
mockInferredSpan
()
pkg/serverless/trace/inferredspan/span_enrichment_test.go:1031
↓ 44 callers
Method
Bytes
Bytes returns the raw bytes of the current Attribute's data.
pkg/network/netlink/attribute_scanner.go:108
↓ 44 callers
Method
CommonConfigure
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 callers
Method
Matches
(value string)
pkg/security/secl/compiler/eval/strings.go:127
↓ 44 callers
Method
NewCounter
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 callers
Method
ServiceCheck
(checkName string, status servicecheck.ServiceCheckStatus, hostname string, tags []string, message string)
pkg/aggregator/sender/sender.go:29
↓ 44 callers
Function
benchmarkJSONStream
(b *testing.B, passes int, sharedBuffers bool, numberOfEvents int)
pkg/serializer/serializer_benchmark_test.go:40
↓ 44 callers
Function
convertArray
(in *[]In, convert func(*In) *Out)
pkg/collector/corechecks/sbom/convert.go:91
↓ 44 callers
Function
convertArray
(in *[]In, convert func(*In) *Out)
cmd/agentless-scanner/trivy_sbom_convert.go:89
↓ 44 callers
Function
m
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 44 callers
Function
parseMetricSample
(t *testing.T, overrides map[string]any, rawSample []byte)
comp/dogstatsd/server/parse_metrics_test.go:19
↓ 44 callers
Function
randString
()
pkg/gohai/filesystem/filesystem_nix_test.go:277
↓ 43 callers
Method
API
()
pkg/util/winutil/eventlog/test/test.go:31
↓ 43 callers
Function
CreateDefaultDemultiplexer
CreateDefaultDemultiplexer creates a default demultiplexer for testing
pkg/aggregator/mocksender/mocksender.go:30
↓ 43 callers
Method
Query
Query returns the query that should be used to fetch metrics
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:142
↓ 43 callers
Method
Stop
()
pkg/logs/auditor/auditor.go:57
↓ 42 callers
Method
Append
(ctx *Context, value interface{})
pkg/security/secl/compiler/eval/variables.go:29
↓ 42 callers
Method
GetValue
(id string, tag string)
pkg/security/resolvers/tags/resolver.go:46
↓ 42 callers
Method
IsRH7Kernel
IsRH7Kernel returns whether the kernel is a rh7 kernel
pkg/security/ebpf/kernel/kernel.go:224
↓ 42 callers
Method
Iterate
Iterate iterates over the chained slices in order calling function `f` on each item
pkg/network/slice/chain.go:32
↓ 42 callers
Method
ResolveK8SGroups
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:955
↓ 42 callers
Method
ResolveK8SUID
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:956
↓ 42 callers
Method
ResolveK8SUsername
(ev *Event, e *UserSessionContext)
pkg/security/secl/model/field_handlers_unix.go:957
↓ 42 callers
Method
Start
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 callers
Function
ToHostname
ToHostname converts from a string to a dns.Hostname
pkg/network/dns/types.go:31
↓ 42 callers
Function
getDummyMessageWithLF
(content string)
pkg/logs/internal/decoder/line_handler_test.go:31
↓ 42 callers
Method
isParentPathDiscarder
(rs *rules.RuleSet, eventType model.EventType, field eval.Field, filename string, depth int)
pkg/security/probe/discarders_linux.go:377
↓ 42 callers
Function
list
(config config.Component, cliParams *cliParams)
cmd/agent/subcommands/integrations/command.go:889
↓ 41 callers
Method
Info
Info logs the given arguments, separated by spaces, at the info level
comp/core/log/component.go:38
↓ 41 callers
Method
ResolveProcessArgs
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:966
↓ 41 callers
Method
ResolveProcessArgsTruncated
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:969
↓ 41 callers
Method
ResolveProcessArgv0
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:972
↓ 41 callers
Method
ResolveProcessEnvsTruncated
(ev *Event, e *Process)
pkg/security/secl/model/field_handlers_unix.go:976
↓ 41 callers
Method
Stop
Stop stops the check if it's running
pkg/collector/check/check.go:24
↓ 41 callers
Method
Stop
()
pkg/trace/event/processor.go:110
↓ 41 callers
Method
Swap
(i, j int)
pkg/trace/sampler/signature.go:26
↓ 41 callers
Function
isArithmDeterministic
return whether a arithmetic operation is deterministic
pkg/security/secl/compiler/eval/operators.go:23
↓ 41 callers
Method
read
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 callers
Method
stop
()
pkg/security/tests/cmdwrapper.go:109
↓ 40 callers
Method
AggregationHash
AggregationHash return a hash used as aggregation key
comp/netflow/common/flow.go:131
↓ 40 callers
Function
C
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 40 callers
Method
Name
()
pkg/util/winutil/eventlog/test/test.go:30
↓ 40 callers
Method
NewClient
NewClient returns a client to connect to a remote gRPC server.
pkg/workloadmeta/collectors/internal/remote/generic.go:57
↓ 40 callers
Function
S
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 40 callers
Method
SetContent
([]byte)
pkg/logs/message/message.go:239
↓ 40 callers
Method
SetWithoutSource
SetWithoutSource is used for setting configuration in tests
pkg/config/mock.go:33
↓ 40 callers
Method
Weight
Weight returns the weight of this item
pkg/process/util/api/weighted_queue.go:16
↓ 39 callers
Method
AddRule
(name string)
pkg/compliance/tests/helpers.go:84
↓ 39 callers
Function
CopyStrings
CopyStrings makes a copy of a list of strings
pkg/collector/corechecks/snmp/internal/common/utils.go:35
↓ 39 callers
Method
Match
Match returns true if the rules are equal
pkg/security/secl/model/model.go:394
↓ 39 callers
Function
NewGaugeWithOpts
NewGaugeWithOpts creates a Gauge with the given options for telemetry purpose. See NewGauge()
pkg/telemetry/gauge.go:25
↓ 39 callers
Method
ObfuscateSQLString
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 callers
Method
Publish
(queue, body string)
pkg/network/protocols/amqp/client.go:122
↓ 39 callers
Method
WithInput
(input string, args ...any)
pkg/compliance/tests/helpers.go:159
↓ 39 callers
Function
buildStoreKey
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 callers
Method
computeChanges
computeChanges is used by PullChanges, split for testing
pkg/util/kubernetes/kubelet/podwatcher.go:69
↓ 39 callers
Function
convertField
(s *uint64, t **float64)
pkg/util/containers/metrics/system/util.go:12
↓ 39 callers
Method
getConfig
()
comp/logs/agent/config/config_keys.go:44
↓ 39 callers
Method
set
(v float64, tagsValue ...string)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:52
↓ 38 callers
Function
BuildEndpoints
BuildEndpoints returns the endpoints to send logs.
comp/logs/agent/config/config.go:100
↓ 38 callers
Method
Dec
Dec decrements the Gauge value.
comp/core/telemetry/gauge.go:15
↓ 38 callers
Method
Eval
(ctx *Context)
pkg/security/secl/compiler/eval/evaluators.go:17
↓ 38 callers
Method
GetInt64
(key string)
pkg/config/model/types.go:32
↓ 38 callers
Method
GetTagStats
GetTagStats returns the struct in which the stats will be stored depending of their tags.
pkg/trace/info/stats.go:35
↓ 38 callers
Method
Hostname
Hostname runs hostname command and returns the runtime Agent hostname
test/new-e2e/pkg/utils/e2e/client/agent.go:18
↓ 38 callers
Method
Listen
(newSvc, delSvc chan<- Service)
pkg/autodiscovery/listeners/types.go:55
↓ 38 callers
Method
Post
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 callers
Method
RegisterClient
RegisterClient starts tracking stateful data for the given client If the client is already registered, it does nothing.
pkg/network/state.go:97
↓ 38 callers
Method
getConfigKey
(key string)
comp/logs/agent/config/config_keys.go:48
↓ 38 callers
Function
info
(msg: str)
tasks/kernel_matrix_testing/tool.py:17
↓ 38 callers
Method
normalize
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 callers
Method
AddFileFromFunc
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 callers
Method
Close
()
pkg/logs/tailers/journald/journal_factory.go:25
↓ 37 callers
Method
Done
Done must be called after decoding events so the underlying buffers can be reclaimed.
pkg/network/netlink/consumer.go:108
↓ 37 callers
Function
HostVersion
HostVersion returns the running kernel version of the host
pkg/util/kernel/version.go:44
↓ 37 callers
Function
IsCloudProviderEnabled
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 callers
Method
List
()
pkg/config/settings/api.go:14
↓ 37 callers
Function
NewHashingTagsAccumulatorWithTags
NewHashingTagsAccumulatorWithTags return a new HashingTagsAccumulator, initialized with tags.
pkg/tagset/hashing_tags_accumulator.go:30
↓ 37 callers
Method
Root
()
pkg/security/tests/testdrive.go:28
↓ 37 callers
Method
StoreClosedConnections
StoreClosedConnections stores a batch of closed connections
pkg/network/state.go:109
↓ 37 callers
Function
Tag
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 callers
Method
Value
()
pkg/compliance/metrics/rego.go:112
← previous
next →
301–400 of 32,574, ranked by callers