MCPcopy Create free account

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

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

↓ 9 callersMethodincrementEventFilteringStat
(eventType model.EventType, state EventFilteringProfileState, result EventFilteringResult)
pkg/security/security_profile/profile/manager.go:523
↓ 9 callersFunctioninitTracerState
(t testing.TB, tr *Tracer)
pkg/network/tracer/tracer_test.go:994
↓ 9 callersMethodinsert
insert v into a sketch for the given (ts, contextKey) NOTE: ts is truncated to bucketSize
pkg/aggregator/sketch_map.go:29
↓ 9 callersFunctionisEnc
(str string)
pkg/secrets/secrets.go:167
↓ 9 callersMethodisRecentlyAdded
(mountID uint32, inode uint64, timestamp uint64)
pkg/security/probe/discarders_linux.go:185
↓ 9 callersFunctionisServiceAnnotated
isServiceAnnotated returns true if the Service has an annotation with a given key
pkg/autodiscovery/listeners/kube_services.go:67
↓ 9 callersMethodjson
(self)
tasks/unit-tests/git_api_tests.py:16
↓ 9 callersMethodkeep
()
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:36
↓ 9 callersMethodlogError
(format string, params ...interface{})
comp/core/flare/helpers/builder.go:173
↓ 9 callersFunctionmap
(array, f)
cmd/agent/gui/views/private/js/codemirror.js:224
↓ 9 callersFunctionmockDemultiplexer
(config config.Component, log log.Component)
comp/dogstatsd/server/server_bench_test.go:24
↓ 9 callersFunctionnewCgroupMemoryFS
(rootPath string)
pkg/util/cgroups/file_for_test.go:45
↓ 9 callersFunctionnewCheck
Helpers
pkg/collector/runner/runner_test.go:96
↓ 9 callersFunctionnewConfig
(deps dependencies)
comp/core/config/config.go:61
↓ 9 callersFunctionnewCounterExpvar
(subsystem string, name string, tags []string, help string, parent *expvar.Map)
comp/forwarder/defaultforwarder/internal/retry/telemetry.go:24
↓ 9 callersFunctionnewDockerCmdWrapper
(mountSrc, mountDest string, kind string)
pkg/security/tests/cmdwrapper.go:154
↓ 9 callersFunctionnewFixture
(t *testing.T)
pkg/clusteragent/externalmetrics/datadogmetric_controller_test.go:57
↓ 9 callersFunctionnewKSMCheck
(base core.CheckBase, instance *KSMConfig)
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:860
↓ 9 callersFunctionnewRequestRecorder
(t *testing.T)
pkg/trace/api/telemetry_test.go:37
↓ 9 callersFunctionnewReverseDNSCache
(size int, expirationPeriod time.Duration)
pkg/network/dns/cache.go:49
↓ 9 callersFunctionnewSampler
newSampler returns an initialized Sampler
pkg/trace/sampler/coresampler.go:63
↓ 9 callersFunctionnewTestDrive
(tb testing.TB, fsType string, mountOpts []string, mountPoint string)
pkg/security/tests/testdrive.go:40
↓ 9 callersFunctionnewTestServer
()
pkg/trace/telemetry/collector_test.go:220
↓ 9 callersMethodnext
()
pkg/compliance/dbconfig/loader.go:388
↓ 9 callersFunctionnskey
(ns string, pieces ...string)
cmd/system-probe/config/ns.go:45
↓ 9 callersFunctionparseInt
(rawInt []byte)
comp/dogstatsd/server/parse.go:261
↓ 9 callersFunctionparseTypeString
(str string)
pkg/compliance/tools/k8s_types_generator/main.go:737
↓ 9 callersFunctionreadFilteredLines
(t *testing.T, b *BufferedMessageReceiver, filters *Filters, expectedLineCount int)
pkg/logs/diagnostic/message_receiver_test.go:227
↓ 9 callersFunctionreset
()
pkg/util/cloudproviders/gce/gce_test.go:21
↓ 9 callersFunctionroundFloat
round a float64 with 2 decimal precision
pkg/collector/corechecks/system/disk/iostats_nix.go:50
↓ 9 callersFunctionscopeInitCheckContext
(senderManager sender.SenderManager)
pkg/collector/python/test_aggregator.go:265
↓ 9 callersFunctionsearchConnections
(c *network.Connections, predicate func(network.ConnectionStats) bool)
pkg/network/tracer/tracer_test.go:718
↓ 9 callersMethodset
Set stores or updates a template in the cache
pkg/autodiscovery/templatecache.go:34
↓ 9 callersMethodstartExecutionSpan
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 callersMethodstop
(context.Context)
comp/logs/agent/agent.go:189
↓ 9 callersMethodsubscribe
(kind TargetObjKind)
pkg/clusteragent/admission/patch/provider.go:20
↓ 9 callersMethodsymDBProxyHandler
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 callersFunctiontestComputeSignature
(trace pb.Trace, env string)
pkg/trace/sampler/signature_test.go:19
↓ 9 callersMethodtest_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 callersFunctionunmarshalConfig
(instance integration.Data, initConfig integration.Data)
pkg/collector/corechecks/windows_event_log/config.go:87
↓ 9 callersFunctionwrapPayload
(p *proto.ClientStatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:34
↓ 9 callersFunctionxt
(e,t,n)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 8 callersMethodAddCollector
AddCollector schedules a Metadata Collector at the given interval
pkg/metadata/scheduler.go:63
↓ 8 callersMethodAddEventTypeHandler
AddEventTypeHandler registers an event handler
pkg/eventmonitor/eventmonitor.go:100
↓ 8 callersMethodAppendFloat64
(v float64)
pkg/util/log/zap/zapencoder.go:106
↓ 8 callersMethodAppendUint32
(v uint32)
pkg/util/log/zap/zapencoder.go:117
↓ 8 callersMethodAssertEvent
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 callersFunctionBoolTouint64
BoolTouint64 converts a boolean value to an uint64
pkg/security/utils/utils.go:26
↓ 8 callersFunctionCheckStats
CheckStats returns the check stats of a check, if they can be found
pkg/collector/runner/expvars/expvars.go:170
↓ 8 callersMethodCloseSend
CloseSend mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:286
↓ 8 callersMethodCollectFiles
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 callersMethodCombineWith
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 callersMethodCreateProcessNode
CreateProcessNode looks up or inserts the provided entry in the tree
pkg/security/security_profile/activity_tree/activity_tree.go:451
↓ 8 callersMethodDisableDefaultHostname
(disable bool)
pkg/aggregator/sender/sender.go:34
↓ 8 callersFunctionDoPost
DoPost is a wrapper around performing HTTP POST requests
pkg/api/util/doget.go:75
↓ 8 callersFunctionEC2VMStackDef
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 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
pkg/epforwarder/epforwarder_mockgen.go:33
↓ 8 callersFunctionError
Error formats message using the default formats for its operands and writes to log with level = Error
pkg/trace/log/logger.go:116
↓ 8 callersMethodExpire
(now time.Time)
pkg/network/dns/cache.go:165
↓ 8 callersMethodFetch
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 callersMethodFilter
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 callersFunctionFilterByTags
FilterByTags return the payloads that match all the tags
test/fakeintake/aggregator/common.go:136
↓ 8 callersFunctionFindTCPPort
FindTCPPort finds a free TCP port and returns it. If it fails, error will be non-nil.
pkg/trace/testutil/testutil.go:25
↓ 8 callersMethodFinishObject
FinishObject finishes a JSON object (add '}')
pkg/util/json/raw_object_writer.go:46
↓ 8 callersMethodFront
(ctx *Context)
pkg/security/secl/compiler/eval/iterator.go:13
↓ 8 callersFunctionGeneratePayload
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 callersMethodGet
Get returns the internal slice
pkg/tagset/hashing_tags_accumulator.go:72
↓ 8 callersFunctionGetAWSPartitionByRegion
GetAWSPartitionByRegion parses an AWS region and returns an AWS partition
pkg/serverless/trigger/extractor.go:19
↓ 8 callersMethodGetBatch
GetBatch gets a batch of metric samples from the pool
pkg/metrics/metric_sample_pool.go:50
↓ 8 callersMethodGetColdStartTagsForRequestID
Returns whether or not the given request ID is a cold start or is a proactive init
pkg/serverless/executioncontext/executioncontext.go:76
↓ 8 callersMethodGetComm
()
pkg/security/proto/api/api.pb.go:1641
↓ 8 callersFunctionGetConfigmapName
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 callersMethodGetContainers
(cacheValidity time.Duration, previousContainers map[string]*ContainerRateMetrics)
pkg/process/util/containers/containers.go:58
↓ 8 callersMethodGetDiscoveredDeviceConfigs
GetDiscoveredDeviceConfigs returns discovered device configs
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:80
↓ 8 callersMethodGetExecutionInfo
GetExecutionInfo returns the current execution start information
pkg/serverless/invocationlifecycle/invocation_processor.go:15
↓ 8 callersFunctionGetHostname
GetHostname fetches the hostname for current host from the EC2 metadata API
pkg/util/ec2/ec2.go:141
↓ 8 callersMethodGetId
()
pkg/logs/tailers/tailer.go:14
↓ 8 callersFunctionGetInformation
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 callersFunctionGetInterval
GetInterval returns the configured check interval value
pkg/process/checks/interval.go:65
↓ 8 callersMethodGetPIDs
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 callersMethodGetProbeEvent
(action func() error, cb func(event *model.Event) bool, timeout time.Duration, eventTypes ...model.EventType)
pkg/security/tests/module_tester.go:1436
↓ 8 callersFunctionGetProcessMonitor
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 callersMethodGetProtocolStats
()
pkg/network/usm/monitor.go:164
↓ 8 callersFunctionGetProxyTransportFunc
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 callersFunctionGetPythonVersion
GetPythonVersion returns the embedded python version as provided by the embedded Python interpreter. Example: '3.10.6'
pkg/collector/python/version.go:33
↓ 8 callersFunctionGetRoot
GetRoot extracts the root span from a trace
pkg/trace/traceutil/trace.go:53
↓ 8 callersFunctionGetRootNetNamespace
GetRootNetNamespace gets the root network namespace
pkg/util/kernel/netns.go:118
↓ 8 callersMethodGetScanKey
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 callersMethodGetServiceContext
(pid int32)
pkg/process/metadata/parser/service.go:104
↓ 8 callersMethodGetState
(clientID string)
pkg/network/protocols/telemetry/delta.go:20
↓ 8 callersMethodGetStaticTags
GetStaticTags return static tags built from configuration
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:263
↓ 8 callersMethodGetTags
()
test/fakeintake/aggregator/common.go:21
↓ 8 callersFunctionGetWithProvider
GetWithProvider returns the hostname for the Agent and the provider that was use to retrieve it
pkg/util/hostname/providers.go:150
↓ 8 callersMethodHasValidLineage
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 callersFunctionHistogram
Histogram calls Histogram on the global Client, if set.
pkg/trace/metrics/client.go:44
↓ 8 callersFunctionIPNetsMatch
IPNetsMatch returns whether the IPNets match
pkg/security/secl/compiler/eval/cidr.go:153
↓ 8 callersFunctionInfoc
Infoc logs at the info level with context
pkg/util/log/log.go:647
↓ 8 callersFunctionInitializeDecoderForTest
(source *sources.LogSource, parser parsers.Parser)
pkg/logs/internal/decoder/decoder_test.go:27
↓ 8 callersMethodInstallChannel
(channel string)
pkg/util/winutil/eventlog/test/test.go:32
↓ 8 callersMethodInstallSource
(channel string, source string)
pkg/util/winutil/eventlog/test/test.go:34
← previousnext →1,801–1,900 of 32,574, ranked by callers