MCPcopy Create free account

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

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

↓ 7 callersMethodState
()
pkg/config/remote/service/service.go:117
↓ 7 callersMethodStop
Stop stops the sender, this call blocks until inputChan is flushed
pkg/logs/sender/sender.go:56
↓ 7 callersMethodStop
Stop the scheduler. This method is called from the MetaScheduler's Stop method. Note that currently-scheduled configs are _not_ unscheduled when the
pkg/autodiscovery/scheduler/scheduler.go:29
↓ 7 callersMethodStop
Stop HTTP monitoring
pkg/network/usm/monitor.go:180
↓ 7 callersMethodStop
Stop stops the store
pkg/process/events/store.go:31
↓ 7 callersFunctionStrPDU
(oid string, value string)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:23
↓ 7 callersFunctionStrategyFromString
StrategyFromString returns a flush strategy from the given string. Possible values: - end - periodically[,milliseconds]
pkg/serverless/flush/strategy.go:56
↓ 7 callersMethodStreamEntities
(ctx context.Context, in *ProcessStreamEntitiesRequest, opts ...grpc.CallOption)
pkg/proto/pbgo/process/workloadmeta_process.pb.go:827
↓ 7 callersMethodString
String provides a printable version of the check name
pkg/collector/check/stub/stub.go:22
↓ 7 callersMethodStringArray
StringArray returns the open flags as an array of strings
pkg/security/secl/model/consts_common.go:1013
↓ 7 callersFunctionStringValuesContains
StringValuesContains evaluates a string against values
pkg/security/secl/compiler/eval/operators.go:543
↓ 7 callersMethodSubscribe
Subscribe is the generic way to start listening to a specific product update Component can also automatically subscribe to updates by returning a `Lis
comp/remote-config/rcclient/component.go:27
↓ 7 callersMethodTagsToString
TagsToString encodes tags to a single string, in a comma separated format
pkg/logs/message/origin.go:65
↓ 7 callersFunctionTracef
Tracef formats message according to format specifier and writes to log with level = Trace.
pkg/trace/log/logger.go:60
↓ 7 callersMethodTruncate
Truncate retains first n tags in the buffer without discarding the internal buffer
pkg/tagset/hashing_tags_accumulator.go:90
↓ 7 callersMethodUnregister
Unregister a PID if it exists All files that were previously referenced by the given PID will have their reference counters decremented by one. For a
pkg/network/usm/utils/file_registry.go:188
↓ 7 callersMethodUnschedule
Unschedule zero or more configurations that were previously scheduled.
pkg/autodiscovery/scheduler/scheduler.go:24
↓ 7 callersMethodUpdateDeviceIDAndTags
UpdateDeviceIDAndTags updates DeviceID and DeviceIDTags
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:257
↓ 7 callersFunctionV4AddressFromBytes
V4AddressFromBytes creates an Address using the byte representation of an v4 IP
pkg/process/util/address.go:118
↓ 7 callersFunctionV6AddressFromBytes
V6AddressFromBytes creates an Address using the byte representation of an v6 IP
pkg/process/util/address.go:131
↓ 7 callersMethodValidate
Validate ensures all the filter values match field capabilities
pkg/security/secl/rules/capabilities.go:34
↓ 7 callersFunctionWithPermission
WithPermission configures if process collection should fetch fields that require elevated permission or not
pkg/process/procutil/process_linux.go:98
↓ 7 callersFunctionWriteAsJSON
WriteAsJSON marshals the give data argument into JSON and writes it to the `http.ResponseWriter`
cmd/system-probe/utils/utils.go:16
↓ 7 callersFunctionWritePID
WritePID writes the current PID to a file, ensuring that the file doesn't exist or doesn't contain a PID for a running process.
pkg/pidfile/pidfile.go:19
↓ 7 callersFunctionacquireHostnameFallback
acquireHostnameFallback attempts to acquire a hostname for this configuration. It tries to shell out to the infrastructure agent for this, if DD_AGENT
comp/trace/config/setup.go:815
↓ 7 callersMethodadd
add stores a release
pkg/collector/corechecks/cluster/helm/releases_store.go:39
↓ 7 callersMethodaddColumnOids
(oidsToAdd []string)
pkg/collector/corechecks/snmp/internal/checkconfig/config_oid.go:22
↓ 7 callersFunctionaddDefaultQueryReturnValues
()
pkg/collector/corechecks/system/disk/iostats_pdh_windows_test.go:23
↓ 7 callersMethodaddEndpointConfig
addEndpointConfig stores a given endpoint configuration by node name
pkg/clusteragent/clusterchecks/dispatcher_endpoints_configs.go:42
↓ 7 callersMethodaddScalarOids
(oidsToAdd []string)
pkg/collector/corechecks/snmp/internal/checkconfig/config_oid.go:18
↓ 7 callersFunctionaddToString
(path string, separator string, token string)
cmd/serverless-init/initcontainer/instrument.go:80
↓ 7 callersMethodadd_list
(self, name)
tools/agent_QA/board.py:10
↓ 7 callersFunctionalignAggTs
alignAggTs aligns time to the aggregator timestamps. Timestamps from the aggregator are never aligned with concentrator timestamps. This ensures that
pkg/trace/stats/client_stats_aggregator.go:164
↓ 7 callersFunctionapproveFlags
(tableName string, flags ...int)
pkg/security/probe/kfilters/approvers.go:71
↓ 7 callersFunctionassertConnsEqual
(t *testing.T, expected, actual *model.Connections)
pkg/network/encoding/encoding_test.go:614
↓ 7 callersFunctionassertEqualAnyLineBreak
assertEqualAnyLineBreak is an assertion helper to compare strings ignoring the \r character
pkg/process/checks/format_test.go:695
↓ 7 callersFunctionbenchmarkAddBucket
(bucketValue int64, b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:21
↓ 7 callersFunctionbuild
(m *testing.M, outBin, pkg string)
pkg/secrets/fetch_secret_test.go:26
↓ 7 callersFunctionbuildPartialMessage
(r rune, count int)
pkg/logs/internal/parsers/dockerstream/docker_stream_test.go:130
↓ 7 callersFunctionchangeEnd
(change)
cmd/agent/gui/views/private/js/codemirror.js:4526
↓ 7 callersMethodcheckDevice
(job checkDeviceJob)
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:177
↓ 7 callersMethodclone
(self)
tasks/libs/version.py:66
↓ 7 callersMethodclose
()
pkg/network/java/testutil/JavaClientSimulator/src/main/java/Clients/JavaClients.java:136
↓ 7 callersFunctioncloseDatabase
(c *Check, db *sqlx.DB)
pkg/collector/corechecks/oracle-dbm/connection_handling.go:102
↓ 7 callersFunctioncomposeSkips
composeSkips skips if one of the given filters is matched.
pkg/network/tracer/tracer_classification_test.go:104
↓ 7 callersMethodcomputeStats
(payloads transaction.BytesPayloads)
test/benchmarks/dogstatsd/main.go:62
↓ 7 callersMethodconfigure
(aggregates []string, percentiles []int)
pkg/metrics/histogram.go:101
↓ 7 callersFunctioncontains
contains returns whether EnvVar slice contains an env var with a given name
pkg/clusteragent/admission/mutate/common.go:83
↓ 7 callersFunctioncontains
(parent, child)
cmd/agent/gui/views/private/js/codemirror.js:103
↓ 7 callersFunctioncopyObj
(obj, target, overwrite)
cmd/agent/gui/views/private/js/codemirror.js:151
↓ 7 callersFunctioncreateNamedPipeClient
(t *testing.T)
comp/dogstatsd/listeners/named_pipe_windows_test.go:180
↓ 7 callersMethodcreateService
(kep *v1.Endpoints, checkServiceAnnotations bool)
pkg/autodiscovery/listeners/kube_endpoints.go:299
↓ 7 callersFunctioncrossCheckCacheOrphans
(t *testing.T, cc *conntrackCache)
pkg/network/netlink/conntracker_test.go:418
↓ 7 callersFunctiondefaultSourceAndServiceInner
defaultSourceAndServiceInner implements defaultSourceAndService with function callbacks to allow testing. Its behavior differs slightly depending whe
pkg/logs/launchers/container/tailerfactory/defaults.go:40
↓ 7 callersMethoddelimit
(content []byte)
pkg/logs/client/tcp/delimiter.go:14
↓ 7 callersFunctiondeprecateCustom
deprecateCustom logs a deprecation message if `oldkey` is used. It sets `newkey` to the value obtained from `getFn`, but only if `oldkey` is set and `
cmd/system-probe/config/adjust.go:141
↓ 7 callersFunctiondictionaryString
dictionaryString reads an int from decoder dc and returns the string at that index from dict.
pkg/proto/pbgo/trace/decoder_v05.go:17
↓ 7 callersFunctiondisplayWidth
(cm)
cmd/agent/gui/views/private/js/codemirror.js:2355
↓ 7 callersFunctiondone
(e)
cmd/agent/gui/views/private/js/codemirror.js:7431
↓ 7 callersFunctionendOperation
(cm)
cmd/agent/gui/views/private/js/codemirror.js:3707
↓ 7 callersMethodensureConntrack
(ino uint64, pid int)
pkg/network/tracer/cached_conntrack.go:128
↓ 7 callersFunctioneventParseString
(value *C.char, fieldName string)
pkg/collector/python/aggregator.go:96
↓ 7 callersFunctionextractTagsMetadata
extractTagsMetadata returns tags (client tags + host tag) and information needed to query tagger (origins, cardinality). The following tables explain
comp/dogstatsd/server/enrich.go:69
↓ 7 callersFunctionextractTraceContextFromSNSSQSEvent
(firstRecord events.SQSMessage)
pkg/serverless/trace/inferredspan/propagation.go:68
↓ 7 callersFunctionfactory
()
pkg/collector/corechecks/cluster/helm/helm.go:89
↓ 7 callersFunctionfilterConnections
(conns []ConnectionStats, keep func(c *ConnectionStats) bool)
pkg/network/state.go:236
↓ 7 callersFunctionfindViewIndex
(cm, n)
cmd/agent/gui/views/private/js/codemirror.js:3018
↓ 7 callersFunctionformatIO
(fp *procutil.Stats, lastIO *procutil.IOCountersStat, before time.Time)
pkg/process/checks/process.go:484
↓ 7 callersFunctionfromContainer
for testing purposes
pkg/util/hostname/container.go:48
↓ 7 callersFunctionfuzzTracesAPI
fuzzTracesAPI allows fuzzing multiple trace APIs. The caller has to provide the targeted API version, the content type and the functions to encode and
pkg/trace/api/fuzz_test.go:89
↓ 7 callersMethodgetAReference
returns any of the existing references for the imageID. Returns empty if the ID is not referenced.
pkg/workloadmeta/collectors/internal/containerd/image.go:155
↓ 7 callersMethodgetAll
getAll returns all the releases stored for the given helmStorage
pkg/collector/corechecks/cluster/helm/releases_store.go:72
↓ 7 callersFunctiongetBetween
(doc, start, end)
cmd/agent/gui/views/private/js/codemirror.js:416
↓ 7 callersFunctiongetCIVisibilityDir
(dir string)
test/new-e2e/system-probe/test-runner/main.go:188
↓ 7 callersMethodgetClient
(clientID string)
pkg/network/state.go:659
↓ 7 callersFunctiongetClientConfig
(timeout time.Duration)
pkg/util/kubernetes/apiserver/apiserver.go:168
↓ 7 callersFunctiongetCtx
The following are helpers around bun to quickly execute SQL query for use in protocol classification tests.
pkg/network/protocols/postgres/utils.go:66
↓ 7 callersMethodgetCurrentMemSizeInBytes
only used for testing GetCurrentMemSizeInBytes gets the current memory usage in bytes
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue_test.go:24
↓ 7 callersMethodgetDbusConnection
()
pkg/collector/corechecks/systemd/systemd.go:265
↓ 7 callersFunctiongetDefaultRolesMapping
()
cmd/agentless-scanner/main.go:521
↓ 7 callersMethodgetEntityByKind
(kind Kind, id string)
pkg/workloadmeta/store.go:730
↓ 7 callersMethodgetEntityByKind
(kind workloadmeta.Kind, id string)
pkg/workloadmeta/testing/store.go:278
↓ 7 callersFunctiongetEventFromFile
Helper function for reading test file
pkg/serverless/daemon/routes_test.go:331
↓ 7 callersFunctiongetExpvarMapKeys
(m *expvar.Map)
pkg/collector/runner/expvars/expvars_test.go:59
↓ 7 callersFunctiongetFieldFromMap
keyV1 is key name from cgroup V1 keyV2 is key name from cgroup V2
pkg/util/containers/metrics/docker/collector_linux.go:169
↓ 7 callersMethodgetGroup
(index int)
pkg/security/security_profile/activity_tree/paths_reducer.go:41
↓ 7 callersMethodgetImageID
(imageName string)
pkg/workloadmeta/collectors/internal/containerd/image.go:132
↓ 7 callersFunctiongetInt
(key string)
pkg/security/probe/config/config.go:274
↓ 7 callersFunctiongetProfileDefinitions
(profilesFolder string, isUserProfile bool)
pkg/collector/corechecks/snmp/internal/profile/profile_yaml.go:54
↓ 7 callersMethodgetRepoDigests
(imageID string)
pkg/workloadmeta/collectors/internal/containerd/image.go:145
↓ 7 callersMethodgetRepoTags
(imageID string)
pkg/workloadmeta/collectors/internal/containerd/image.go:137
↓ 7 callersMethodgetRequestID
getRequestID generates a unique identifier (string representation of 64 bits integer) that is composed as follows: 1. 22 bits of the seconds in the cu
pkg/process/runner/submitter.go:502
↓ 7 callersFunctiongetScanKey
(path string, source *sources.LogSource)
pkg/logs/launchers/file/launcher_test.go:665
↓ 7 callersFunctiongetSymDBConf
(url string)
pkg/trace/api/symdb_test.go:228
↓ 7 callersMethodgetTemplates
getTemplates takes a path and returns a slice of templates if it finds sufficient data under this path to build one.
pkg/autodiscovery/providers/zookeeper.go:167
↓ 7 callersFunctiongetTestStatsWithStart
(start time.Time)
pkg/trace/stats/client_stats_aggregator_test.go:73
↓ 7 callersFunctionglob
(dir, filePattern string, filterFn func(path string) bool)
test/new-e2e/system-probe/test-runner/main.go:82
↓ 7 callersFunctionheadersCarrier
headersCarrier returns the tracer.TextMapReader used to extract trace context from a Headers field of form map[string]string.
pkg/serverless/trace/propagation/carriers.go:176
↓ 7 callersFunctioninitStatus
()
pkg/logs/status/status_test.go:22
↓ 7 callersFunctionisApmInstrumentationEnabled
isApmInstrumentationEnabled indicates if Single Step Instrumentation is enabled for the namespace in the cluster Single Step Instrumentation is enable
pkg/clusteragent/admission/mutate/common.go:230
← previousnext →2,301–2,400 of 32,574, ranked by callers