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
↓ 9 callers
Method
incrementEventFilteringStat
(eventType model.EventType, state EventFilteringProfileState, result EventFilteringResult)
pkg/security/security_profile/profile/manager.go:523
↓ 9 callers
Function
initTracerState
(t testing.TB, tr *Tracer)
pkg/network/tracer/tracer_test.go:994
↓ 9 callers
Method
insert
insert v into a sketch for the given (ts, contextKey) NOTE: ts is truncated to bucketSize
pkg/aggregator/sketch_map.go:29
↓ 9 callers
Function
isEnc
(str string)
pkg/secrets/secrets.go:167
↓ 9 callers
Method
isRecentlyAdded
(mountID uint32, inode uint64, timestamp uint64)
pkg/security/probe/discarders_linux.go:185
↓ 9 callers
Function
isServiceAnnotated
isServiceAnnotated returns true if the Service has an annotation with a given key
pkg/autodiscovery/listeners/kube_services.go:67
↓ 9 callers
Method
json
(self)
tasks/unit-tests/git_api_tests.py:16
↓ 9 callers
Method
keep
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:36
↓ 9 callers
Method
logError
(format string, params ...interface{})
comp/core/flare/helpers/builder.go:173
↓ 9 callers
Function
map
(array, f)
cmd/agent/gui/views/private/js/codemirror.js:224
↓ 9 callers
Function
mockDemultiplexer
(config config.Component, log log.Component)
comp/dogstatsd/server/server_bench_test.go:24
↓ 9 callers
Function
newCgroupMemoryFS
(rootPath string)
pkg/util/cgroups/file_for_test.go:45
↓ 9 callers
Function
newCheck
Helpers
pkg/collector/runner/runner_test.go:96
↓ 9 callers
Function
newConfig
(deps dependencies)
comp/core/config/config.go:61
↓ 9 callers
Function
newCounterExpvar
(subsystem string, name string, tags []string, help string, parent *expvar.Map)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:24
↓ 9 callers
Function
newDockerCmdWrapper
(mountSrc, mountDest string, kind string)
pkg/security/tests/cmdwrapper.go:154
↓ 9 callers
Function
newFixture
(t *testing.T)
pkg/clusteragent/externalmetrics/datadogmetric_controller_test.go:57
↓ 9 callers
Function
newKSMCheck
(base core.CheckBase, instance *KSMConfig)
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:860
↓ 9 callers
Function
newRequestRecorder
(t *testing.T)
pkg/trace/api/telemetry_test.go:37
↓ 9 callers
Function
newReverseDNSCache
(size int, expirationPeriod time.Duration)
pkg/network/dns/cache.go:49
↓ 9 callers
Function
newSampler
newSampler returns an initialized Sampler
pkg/trace/sampler/coresampler.go:63
↓ 9 callers
Function
newTestDrive
(tb testing.TB, fsType string, mountOpts []string, mountPoint string)
pkg/security/tests/testdrive.go:40
↓ 9 callers
Function
newTestServer
()
pkg/trace/telemetry/collector_test.go:220
↓ 9 callers
Method
next
()
pkg/compliance/dbconfig/loader.go:388
↓ 9 callers
Function
nskey
(ns string, pieces ...string)
cmd/system-probe/config/ns.go:45
↓ 9 callers
Function
parseInt
(rawInt []byte)
comp/dogstatsd/server/parse.go:261
↓ 9 callers
Function
parseTypeString
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:737
↓ 9 callers
Function
readFilteredLines
(t *testing.T, b *BufferedMessageReceiver, filters *Filters, expectedLineCount int)
pkg/logs/diagnostic/message_receiver_test.go:227
↓ 9 callers
Function
reset
()
pkg/util/cloudproviders/gce/gce_test.go:21
↓ 9 callers
Function
roundFloat
round a float64 with 2 decimal precision
pkg/collector/corechecks/system/disk/iostats_nix.go:50
↓ 9 callers
Function
scopeInitCheckContext
(senderManager sender.SenderManager)
pkg/collector/python/test_aggregator.go:265
↓ 9 callers
Function
searchConnections
(c *network.Connections, predicate func(network.ConnectionStats) bool)
pkg/network/tracer/tracer_test.go:718
↓ 9 callers
Method
set
Set stores or updates a template in the cache
pkg/autodiscovery/templatecache.go:34
↓ 9 callers
Method
startExecutionSpan
startExecutionSpan records information from the start of the invocation. It should be called at the start of the invocation.
pkg/serverless/invocationlifecycle/trace.go:45
↓ 9 callers
Method
stop
(context.Context)
comp/logs/agent/agent.go:189
↓ 9 callers
Method
subscribe
(kind TargetObjKind)
pkg/clusteragent/admission/patch/provider.go:20
↓ 9 callers
Method
symDBProxyHandler
symDBProxyHandler returns an http.Handler proxying requests to the logs intake. If the logs intake url cannot be parsed, the returned handler will alw
pkg/trace/api/symdb.go:30
↓ 9 callers
Function
testComputeSignature
(trace pb.Trace, env string)
pkg/trace/sampler/signature_test.go:19
↓ 9 callers
Method
test_project_found
Checks if a project can be found. This is useful for testing access permissions to projects.
tasks/libs/common/gitlab.py:31
↓ 9 callers
Function
unmarshalConfig
(instance integration.Data, initConfig integration.Data)
pkg/collector/corechecks/windows_event_log/config.go:87
↓ 9 callers
Function
wrapPayload
(p *proto.ClientStatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:34
↓ 9 callers
Function
xt
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 8 callers
Method
AddCollector
AddCollector schedules a Metadata Collector at the given interval
pkg/metadata/scheduler.go:63
↓ 8 callers
Method
AddEventTypeHandler
AddEventTypeHandler registers an event handler
pkg/eventmonitor/eventmonitor.go:100
↓ 8 callers
Method
AppendFloat64
(v float64)
pkg/util/log/zap/zapencoder.go:106
↓ 8 callers
Method
AppendUint32
(v uint32)
pkg/util/log/zap/zapencoder.go:117
↓ 8 callers
Method
AssertEvent
AssertEvent assert the expectedEvent was emitted with the following values: AggregationKey, Priority, SourceTypeName, EventType, Host and a Ts range w
pkg/aggregator/mocksender/asserts.go:67
↓ 8 callers
Function
BoolTouint64
BoolTouint64 converts a boolean value to an uint64
pkg/security/utils/utils.go:26
↓ 8 callers
Function
CheckStats
CheckStats returns the check stats of a check, if they can be found
pkg/collector/runner/expvars/expvars.go:170
↓ 8 callers
Method
CloseSend
CloseSend mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:286
↓ 8 callers
Method
CollectFiles
CollectFiles takes a 'LogSource' and produces a list of tailers matching this source with ordering defined by 'wildcardOrder'
pkg/logs/launchers/file/provider/file_provider.go:242
↓ 8 callers
Method
CombineWith
CombineWith merges the data in 2 RequestStats objects newStats is kept as it is, while the method receiver gets mutated
pkg/network/protocols/http/stats.go:157
↓ 8 callers
Method
CreateProcessNode
CreateProcessNode looks up or inserts the provided entry in the tree
pkg/security/security_profile/activity_tree/activity_tree.go:451
↓ 8 callers
Method
DisableDefaultHostname
(disable bool)
pkg/aggregator/sender/sender.go:34
↓ 8 callers
Function
DoPost
DoPost is a wrapper around performing HTTP POST requests
pkg/api/util/doget.go:75
↓ 8 callers
Function
EC2VMStackDef
EC2VMStackDef creates a stack definition containing a virtual machine. See [ec2vm.Params] for available options. [ec2vm.Params]: https://pkg.go.dev/g
test/new-e2e/pkg/utils/e2e/stack_definition.go:49
↓ 8 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/epforwarder/epforwarder_mockgen.go:33
↓ 8 callers
Function
Error
Error formats message using the default formats for its operands and writes to log with level = Error
pkg/trace/log/logger.go:116
↓ 8 callers
Method
Expire
(now time.Time)
pkg/network/dns/cache.go:165
↓ 8 callers
Method
Fetch
Fetch attempts to fetch the value, returning the result or the last successful value, or an error if no attempt has ever been successful. No special
pkg/util/cachedfetch/fetcher.go:52
↓ 8 callers
Method
Filter
Filter the given token so that a `nil` slice is returned if the token is in the token filtered list.
pkg/obfuscate/sql.go:128
↓ 8 callers
Function
FilterByTags
FilterByTags return the payloads that match all the tags
test/fakeintake/aggregator/common.go:136
↓ 8 callers
Function
FindTCPPort
FindTCPPort finds a free TCP port and returns it. If it fails, error will be non-nil.
pkg/trace/testutil/testutil.go:25
↓ 8 callers
Method
FinishObject
FinishObject finishes a JSON object (add '}')
pkg/util/json/raw_object_writer.go:46
↓ 8 callers
Method
Front
(ctx *Context)
pkg/security/secl/compiler/eval/iterator.go:13
↓ 8 callers
Function
GeneratePayload
GeneratePayload generates a new payload. The last span of a generated trace is the "root" of that trace
pkg/trace/testutil/generate.go:36
↓ 8 callers
Method
Get
Get returns the internal slice
pkg/tagset/hashing_tags_accumulator.go:72
↓ 8 callers
Function
GetAWSPartitionByRegion
GetAWSPartitionByRegion parses an AWS region and returns an AWS partition
pkg/serverless/trigger/extractor.go:19
↓ 8 callers
Method
GetBatch
GetBatch gets a batch of metric samples from the pool
pkg/metrics/metric_sample_pool.go:50
↓ 8 callers
Method
GetColdStartTagsForRequestID
Returns whether or not the given request ID is a cold start or is a proactive init
pkg/serverless/executioncontext/executioncontext.go:76
↓ 8 callers
Method
GetComm
()
pkg/security/proto/api/api.pb.go:1641
↓ 8 callers
Function
GetConfigmapName
GetConfigmapName returns the name of the ConfigMap used to store the state of the Custom Metrics Provider
pkg/clusteragent/custommetrics/store_configmap.go:42
↓ 8 callers
Method
GetContainers
(cacheValidity time.Duration, previousContainers map[string]*ContainerRateMetrics)
pkg/process/util/containers/containers.go:58
↓ 8 callers
Method
GetDiscoveredDeviceConfigs
GetDiscoveredDeviceConfigs returns discovered device configs
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:80
↓ 8 callers
Method
GetExecutionInfo
GetExecutionInfo returns the current execution start information
pkg/serverless/invocationlifecycle/invocation_processor.go:15
↓ 8 callers
Function
GetHostname
GetHostname fetches the hostname for current host from the EC2 metadata API
pkg/util/ec2/ec2.go:141
↓ 8 callers
Method
GetId
()
pkg/logs/tailers/tailer.go:14
↓ 8 callers
Function
GetInformation
GetInformation returns an InfoStat object, filled in with various operating system metadata. This returns an empty host.InfoStat if gopsutil fails.
comp/metadata/host/utils/host_nix.go:29
↓ 8 callers
Function
GetInterval
GetInterval returns the configured check interval value
pkg/process/checks/interval.go:65
↓ 8 callers
Method
GetPIDs
GetPIDs returns the list of pids in this cgroup. This call MAY have a caching layer as retrieving PIDs may be costly. - When running in host PID names
pkg/util/cgroups/cgroup.go:33
↓ 8 callers
Method
GetProbeEvent
(action func() error, cb func(event *model.Event) bool, timeout time.Duration, eventTypes ...model.EventType)
pkg/security/tests/module_tester.go:1436
↓ 8 callers
Function
GetProcessMonitor
GetProcessMonitor create a monitor (only once) that register to netlink process events. This monitor can monitor.Subscribe(callback, filter) callback
pkg/process/monitor/process_monitor.go:139
↓ 8 callers
Method
GetProtocolStats
()
pkg/network/usm/monitor.go:164
↓ 8 callers
Function
GetProxyTransportFunc
GetProxyTransportFunc return a proxy function for a http.Transport that would return the right proxy depending on the configuration.
pkg/util/http/transport.go:117
↓ 8 callers
Function
GetPythonVersion
GetPythonVersion returns the embedded python version as provided by the embedded Python interpreter. Example: '3.10.6'
pkg/collector/python/version.go:33
↓ 8 callers
Function
GetRoot
GetRoot extracts the root span from a trace
pkg/trace/traceutil/trace.go:53
↓ 8 callers
Function
GetRootNetNamespace
GetRootNetNamespace gets the root network namespace
pkg/util/kernel/netns.go:118
↓ 8 callers
Method
GetScanKey
GetScanKey returns a key used by the scanner to index the scanned file. The string uniquely identifies this File, even if sources for multiple contai
pkg/logs/tailers/file/file.go:39
↓ 8 callers
Method
GetServiceContext
(pid int32)
pkg/process/metadata/parser/service.go:104
↓ 8 callers
Method
GetState
(clientID string)
pkg/network/protocols/telemetry/delta.go:20
↓ 8 callers
Method
GetStaticTags
GetStaticTags return static tags built from configuration
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:263
↓ 8 callers
Method
GetTags
()
test/fakeintake/aggregator/common.go:21
↓ 8 callers
Function
GetWithProvider
GetWithProvider returns the hostname for the Agent and the provider that was use to retrieve it
pkg/util/hostname/providers.go:150
↓ 8 callers
Method
HasValidLineage
HasValidLineage returns false if, from the entry, we cannot ascend the ancestors list to PID 1 or if a new is having a missing parent
pkg/security/secl/model/process_cache_entry_unix.go:63
↓ 8 callers
Function
Histogram
Histogram calls Histogram on the global Client, if set.
pkg/trace/metrics/client.go:44
↓ 8 callers
Function
IPNetsMatch
IPNetsMatch returns whether the IPNets match
pkg/security/secl/compiler/eval/cidr.go:153
↓ 8 callers
Function
Infoc
Infoc logs at the info level with context
pkg/util/log/log.go:647
↓ 8 callers
Function
InitializeDecoderForTest
(source *sources.LogSource, parser parsers.Parser)
pkg/logs/internal/decoder/decoder_test.go:27
↓ 8 callers
Method
InstallChannel
(channel string)
pkg/util/winutil/eventlog/test/test.go:32
↓ 8 callers
Method
InstallSource
(channel string, source string)
pkg/util/winutil/eventlog/test/test.go:34
← previous
next →
1,801–1,900 of 32,574, ranked by callers