MCPcopy Create free account

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

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

↓ 14 callersMethodnamespacedName
()
pkg/collector/corechecks/cluster/helm/release.go:42
↓ 14 callersFunctionnewTranslation
(domain string)
pkg/network/dns/cache_test.go:353
↓ 14 callersMethodput
Put resets the slice of floats and puts it back in the pool.
comp/dogstatsd/server/float64_list_pool.go:59
↓ 14 callersFunctionrequire
Remove all substrings that don't match the given regex pattern
test/integration/serverless/log_normalize.py:176
↓ 14 callersMethodreset
reset prepares the scanner for use. It must be called before calling s.step.
pkg/obfuscate/json_scanner.go:97
↓ 14 callersMethodrule
( self, name, command, description=None, depfile=None, generat
tasks/libs/ninja_syntax.py:59
↓ 14 callersFunctionrun
(call string)
rtloader/test/aggregator/aggregator.go:112
↓ 14 callersFunctionrun
(call string)
rtloader/test/uutil/uutil.go:68
↓ 14 callersMethodrun
(groupID int32, collectRealTime bool)
pkg/process/checks/process.go:206
↓ 14 callersMethodrunControllerSync
(leader bool, datadogMetricID string, expectedError error)
pkg/clusteragent/externalmetrics/datadogmetric_controller_test.go:82
↓ 14 callersFunctionrunInOp
(cm, f)
cmd/agent/gui/views/private/js/codemirror.js:3834
↓ 14 callersFunctionsecNS
secNS adds `runtime_security_config` namespace to configuration key
cmd/system-probe/config/ns.go:36
↓ 14 callersMethodsetErr
(format string, args ...interface{})
pkg/obfuscate/sql_tokenizer.go:256
↓ 14 callersFunctionskip
(dAtA []byte)
pkg/proto/pbgo/trace/span_vtproto.pb.go:911
↓ 14 callersFunctiontestConfig
()
pkg/network/dns/snooper_test.go:446
↓ 14 callersFunctiontsMalformed
tsMalformed returns a new info.TagStats structure containing the given malformed stats.
pkg/trace/agent/normalizer_test.go:54
↓ 13 callersMethodAccept
()
pkg/trace/api/listener_test.go:32
↓ 13 callersMethodAccepted
Failed returns the number of connections to which the server responded with a 2xx HTTP status code.
pkg/trace/writer/testserver.go:121
↓ 13 callersMethodAddMessage
AddMessage adds a message to the buffer if there is still some free space, returns true if the message was added.
pkg/logs/sender/message_buffer.go:29
↓ 13 callersMethodAddStringField
AddStringField adds a new field of type string
pkg/util/json/raw_object_writer.go:52
↓ 13 callersMethodAsString
AsString convert to string value
pkg/networkdevice/metadata/payload_constants.go:58
↓ 13 callersFunctionClear
Clear metrics WARNING: Only intended for tests
pkg/network/protocols/telemetry/registry.go:65
↓ 13 callersMethodClientGetConfigs
(context.Context, *pbgo.ClientGetConfigsRequest)
pkg/config/remote/client.go:47
↓ 13 callersMethodConfigFileUsed
()
pkg/config/model/types.go:46
↓ 13 callersFunctionDetermineServiceName
(serviceMapping map[string]string, specificKey string, genericKey string, defaultValue string)
pkg/serverless/trace/inferredspan/span_enrichment.go:53
↓ 13 callersMethodDump
Dump lists the content of the store, for debugging purposes.
pkg/workloadmeta/types.go:120
↓ 13 callersMethodExists
Exists checks if a connection exists in the conntrack table based on matches to `conn.Origin` or `conn.Reply`.
pkg/network/netlink/conntrack.go:25
↓ 13 callersFunctionFileExists
FileExists returns true if a file exists and is accessible, false otherwise
pkg/util/filesystem/file.go:14
↓ 13 callersMethodFind
Find returns a `USMConnectionData` object associated to given `network.ConnectionStats` The returned object will include all USM aggregation associate
pkg/network/encoding/usm.go:87
↓ 13 callersMethodGet
(source, dest util.Address, netns uint32)
pkg/network/route_cache.go:92
↓ 13 callersMethodGet
(key string)
pkg/config/settings/api.go:12
↓ 13 callersMethodGetContainerStats
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:16
↓ 13 callersFunctionGetFileGroup
GetFileGroup returns the file group.
pkg/compliance/utils/inputs_files.go:30
↓ 13 callersFunctionGetFileUser
GetFileUser returns the file user.
pkg/compliance/utils/inputs_files.go:19
↓ 13 callersFunctionGetInoForNs
GetInoForNs gets the inode number for the given network namespace
pkg/util/kernel/netns.go:141
↓ 13 callersFunctionGetIntegrationConfigFromFile
GetIntegrationConfigFromFile returns an instance of integration.Config if `fpath` points to a valid config file
pkg/autodiscovery/providers/config_reader.go:347
↓ 13 callersMethodGetNumber
GetNumber returns a string containing version numbers only, e.g. `0.0.0`
pkg/version/version.go:84
↓ 13 callersMethodGetTags
()
pkg/logs/internal/tag/provider.go:23
↓ 13 callersMethodInit
(context.Context)
pkg/tagger/interface.go:26
↓ 13 callersMethodInitWithOptions
(bytecode io.ReaderAt, opts manager.Options)
pkg/network/telemetry/telemetry_manager.go:30
↓ 13 callersMethodIsIncluded
IsIncluded returns whether the given env variable name is included
pkg/util/containers/env_vars_filter.go:81
↓ 13 callersFunctionIsNotFound
IsNotFound returns true if the specified error was created by NewNotFound.
pkg/errors/errors.go:44
↓ 13 callersMethodIsSuse12Kernel
IsSuse12Kernel returns whether the kernel is a sles 12 kernel
pkg/security/ebpf/kernel/kernel.go:244
↓ 13 callersMethodLoadPolicies
([]MacroFilter, []RuleFilter)
pkg/security/secl/rules/policy_provider.go:19
↓ 13 callersMethodMsgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/core/remoteconfig_gen.go:1895
↓ 13 callersFunctionNewBufferedMessageReceiver
NewBufferedMessageReceiver creates a new MessageReceiver. It takes an optional Formatter as a parameter, and defaults to using logFormatter if not sup
pkg/logs/diagnostic/message_receiver.go:44
↓ 13 callersFunctionNewPool
NewPool creates a new pool with a specified buffer size
comp/dogstatsd/packets/pool.go:31
↓ 13 callersFunctionNewPoolManager
NewPoolManager creates a PoolManager to manage the underlying genericPool.
comp/dogstatsd/packets/pool_manager.go:33
↓ 13 callersFunctionNewSerializer
NewSerializer returns a new Serializer initialized
pkg/serializer/serializer.go:133
↓ 13 callersFunctionNewTelemetry
(protocol string)
pkg/network/protocols/http/telemetry.go:52
↓ 13 callersFunctionNewThrottled
NewThrottled returns a new throttled logger. The returned logger will allow up to n calls in a time period of length d.
pkg/trace/log/throttled.go:16
↓ 13 callersFunctionOr
Or operator
pkg/security/secl/compiler/eval/operators.go:37
↓ 13 callersMethodParse
(obj interface{})
pkg/workloadmeta/collectors/internal/kubeapiserver/reflector_store.go:24
↓ 13 callersFunctionParseLambdaPayload
ParseLambdaPayload removes extra data sent by the proxy that surrounds a JSON payload. For example, for `a5a{"event":"aws_lambda"...}0` it would remov
pkg/serverless/invocationlifecycle/trace.go:186
↓ 13 callersFunctionR
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 13 callersFunctionRegister
Register registers a service listener factory
pkg/autodiscovery/listeners/types.go:71
↓ 13 callersFunctionRegisterProvider
RegisterProvider adds a loader to the providers catalog
pkg/autodiscovery/providers/providers.go:19
↓ 13 callersMethodRelease
Release the event
pkg/security/secl/model/model.go:330
↓ 13 callersFunctionReset
Reset clears all stats collected so far (useful in testing)
pkg/collector/runner/expvars/expvars.go:65
↓ 13 callersMethodReset
Reset resets client's internal records.
pkg/trace/teststatsd/statsd.go:53
↓ 13 callersFunctionResetClusterName
ResetClusterName resets the clustername, which allows it to be detected again. Used for tests
pkg/util/kubernetes/clustername/clustername.go:181
↓ 13 callersMethodSet
Set updates a metadata value in the payload. The given value will be stored in the cache without being copied. It is up to the caller to make sure the
comp/metadata/inventoryagent/component.go:20
↓ 13 callersMethodSet
Set sets an entity in the store.
pkg/workloadmeta/testing/store.go:217
↓ 13 callersMethodSet
(key string, value string)
pkg/config/settings/api.go:13
↓ 13 callersFunctionSetTopLevel
SetTopLevel sets the top-level attribute of the span.
pkg/trace/traceutil/span.go:54
↓ 13 callersMethodStop
Stop and clean up resources for the underlying connection
pkg/process/net/common.go:40
↓ 13 callersFunctionTestBuildModes
(t *testing.T, modes []BuildMode, name string, fn func(t *testing.T))
pkg/ebpf/ebpftest/buildmode_linux.go:33
↓ 13 callersMethodTracef
Tracef logs the given formatted arguments at the trace level
comp/core/log/component.go:30
↓ 13 callersMethodType
Type returns the type of the underlying ebpf tracer that is currently loaded
pkg/network/tracer/connection/tracer.go:74
↓ 13 callersMethodUnmarshalMsg
UnmarshalMsg implements msgp.Unmarshaler
pkg/proto/pbgo/core/remoteconfig_gen.go:1853
↓ 13 callersFunctionUnmarshalString
UnmarshalString unmarshal string
pkg/security/secl/model/utils.go:54
↓ 13 callersFunctionUnstructuredIntoWPA
UnstructuredIntoWPA converts an unstructured into a WPA
pkg/util/kubernetes/apiserver/util.go:102
↓ 13 callersMethodUnsubscribe
(ch chan []types.EntityEvent)
pkg/tagger/interface.go:36
↓ 13 callersMethodUpdateHits
(method string)
pkg/util/cloudproviders/cloudfoundry/cccache_test.go:46
↓ 13 callersMethodVersion
Version returns the version of the check if available
pkg/collector/check/check.go:65
↓ 13 callersMethodWalk
Walk iterates through the entire tree and call the provided callback on each entry
pkg/security/resolvers/process/resolver_linux.go:1295
↓ 13 callersMethod_safe_value
(self, part)
tasks/libs/version.py:13
↓ 13 callersMethodaddNow
addNow adds the given input into the concentrator. Callers must guard!
pkg/trace/stats/concentrator.go:217
↓ 13 callersFunctionaddToAccumulator
(a *timeIntervalAccumulator, unixTime int64, value int64)
comp/forwarder/defaultforwarder/internal/retry/time_interval_accumulator_test.go:105
↓ 13 callersFunctionassertAsyncWorkerCount
(t *testing.T, count int)
pkg/collector/runner/runner_test.go:111
↓ 13 callersFunctionbindEnvAndSetLogsConfigKeys
(config Config, prefix string)
pkg/config/config.go:1825
↓ 13 callersMethodclean
()
comp/core/flare/helpers/builder.go:169
↓ 13 callersFunctioncloneTags
cloneTags clones a []string of tags. The underlying sender methods take ownership of the []string, and might modify it in-place. If the caller is st
pkg/collector/corechecks/safesender.go:33
↓ 13 callersMethodclose
(self)
tasks/libs/ninja_syntax.py:189
↓ 13 callersFunctioncreateEvent
(count int32, namespace, objname, objkind, objuid, component, hostname, reason, message, typ string, timestamp
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_eventbundle_test.go:22
↓ 13 callersFunctionexclude
Remove all substrings matching regex pattern
test/integration/serverless/log_normalize.py:169
↓ 13 callersFunctionexpectSumAndDuration
( r *require.Assertions, sum int64, duration time.Duration, expectedSum int64, expectedDuration int)
comp/forwarder/defaultforwarder/internal/retry/time_interval_accumulator_test.go:111
↓ 13 callersFunctionfakeEnv
(name string)
pkg/clusteragent/admission/mutate/test_utils.go:35
↓ 13 callersFunctionfulfillDepsWithConfigOverride
(t testing.TB, overrides map[string]interface{})
comp/dogstatsd/server/server_test.go:61
↓ 13 callersMethodgetFakePayloads
(endpoint string)
test/fakeintake/client/client.go:170
↓ 13 callersMethodgetFilesCount
GetFileCount returns the current files count.
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue.go:145
↓ 13 callersFunctiongetPointer
getPointer returns an interface{} representing the data to which pointer v refers.
pkg/util/atomicstats/reporter.go:269
↓ 13 callersFunctiongetRuntime
(websiteOS string, getenv func(string) string)
pkg/trace/traceutil/azure.go:95
↓ 13 callersFunctionget_build_flags
Build the common value for both ldflags and gcflags, and return an env accordingly. We need to invoke external processes here so this functi
tasks/utils.py:114
↓ 13 callersFunctionhashProcess
(pid int32, createTime int64)
pkg/process/metadata/workloadmeta/extractor.go:194
↓ 13 callersFunctionlineHandlerChans
()
pkg/logs/internal/decoder/line_handler_test.go:35
↓ 13 callersFunctionmakeConnections
(n int)
pkg/process/checks/net_test.go:31
↓ 13 callersFunctionmakeProcessModel
(t *testing.T, process *procutil.Process)
pkg/process/checks/process_common_test.go:58
↓ 13 callersFunctionmakeTranslatedConn
makes a translation where from -> to is shows as transFrom -> from
pkg/network/netlink/conntracker_test.go:441
↓ 13 callersFunctionnewAWSConfig
(ctx context.Context, region string, assumedRole *arn.ARN)
cmd/agentless-scanner/main.go:1871
← previousnext →1,101–1,200 of 32,574, ranked by callers