MCPcopy Create free account

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

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

↓ 5 callersFunctionStop
Stop stops the profiler if running - idempotent; this function is thread-safe.
pkg/util/profiling/profiling.go:90
↓ 5 callersMethodStop
()
comp/logs/agent/component.go:38
↓ 5 callersMethodStop
Stop closes the UDP connection and stops listening
comp/dogstatsd/listeners/udp.go:139
↓ 5 callersMethodStop
Stop stops the server
pkg/logs/client/http/test_utils.go:98
↓ 5 callersMethodStop
Stop stops the tailer.
pkg/logs/launchers/listener/udp.go:60
↓ 5 callersMethodStop
Stop stops the tailer
pkg/logs/tailers/journald/tailer.go:97
↓ 5 callersMethodStop
()
pkg/serverless/trace/cold_start_span_creator.go:67
↓ 5 callersMethodStop
()
pkg/network/tracer/connection/tracer.go:317
↓ 5 callersMethodStop
Stop stops the TraceWriter and attempts to flush whatever is left in the senders buffers.
pkg/trace/writer/trace.go:129
↓ 5 callersMethodStop
Stop stops reporting stats
pkg/trace/sampler/rare_sampler.go:93
↓ 5 callersMethodStop
()
pkg/epforwarder/epforwarder.go:200
↓ 5 callersMethodStopAllActivityDumps
()
pkg/security/tests/module_tester.go:2242
↓ 5 callersMethodStopCheck
StopCheck invokes the `Stop` method on a check if it's running. If the check is not running, this is a noop
pkg/collector/runner/runner.go:259
↓ 5 callersFunctionStringArrayContains
StringArrayContains evaluates array of strings against a value
pkg/security/secl/compiler/eval/operators.go:442
↓ 5 callersFunctionStringArrayContainsWrapper
StringArrayContainsWrapper makes use of operator overrides
pkg/security/secl/compiler/eval/eval.go:331
↓ 5 callersMethodTagValues
TagValues returns a map with the number of traces that have been observed for each priority tag
pkg/trace/info/stats.go:354
↓ 5 callersMethodTaggerStreamEntities
subscribes to added, removed, or changed entities in the Tagger and streams them to clients as events. can be called through the HTTP gateway, and eve
pkg/proto/pbgo/core/api.pb.go:298
↓ 5 callersMethodTagsPayload
TagsPayload returns the raw tag payload of the origin.
pkg/logs/message/origin.go:39
↓ 5 callersFunctionTiming
Timing calls Timing on the global Client, if set.
pkg/trace/metrics/client.go:52
↓ 5 callersMethodToString
ToString used for logging CheckConfig without sensitive information
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:301
↓ 5 callersMethodTotalCalls
TotalCalls returns the total number of calls the callback has received
pkg/network/usm/utils/testutils.go:53
↓ 5 callersFunctionTraceChunkWithSpans
TraceChunkWithSpans wraps `spans` with pb.TraceChunk
pkg/trace/testutil/trace.go:152
↓ 5 callersMethodTransform
([]*v1.Event)
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_apiserver.go:96
↓ 5 callersMethodType
Type returns the Attribute.Type field of the current netlink attribute pointed to by the scanner.
pkg/network/netlink/attribute_scanner.go:97
↓ 5 callersFunctionUniqInPlace
UniqInPlace sorts and remove duplicates from elements in place The returned slice is a subslice of elements
pkg/util/sort/sort_uniq.go:14
↓ 5 callersMethodUnlockSet
UnlockSet sets the new DatadogMetricInternal value and releases the lock (previously acquired by `LockRead`)
pkg/clusteragent/externalmetrics/store.go:155
↓ 5 callersFunctionUnmarshal
Unmarshal unmarshals a payload string into a generic interface
pkg/serverless/trigger/events.go:168
↓ 5 callersMethodUnsetForSource
(key string, source Source)
pkg/config/model/types.go:89
↓ 5 callersMethodUpdateRTStatus
(statuses []*model.CollectorStatus)
pkg/process/runner/runner.go:387
↓ 5 callersFunctionV
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callersMethodValidate
Validate returns whether a patch request is applicable
pkg/clusteragent/admission/patch/patch_request.go:54
↓ 5 callersFunctionValidateEnrichMetrics
ValidateEnrichMetrics will validate MetricsConfig and enrich it. Example of enrichment: - storage of compiled regex pattern
pkg/collector/corechecks/snmp/internal/configvalidation/config_validate_enrich.go:66
↓ 5 callersFunctionValueStringSetter
ValueStringSetter returns a function which stores a string and an error in the given Value
pkg/gohai/utils/value_helpers.go:21
↓ 5 callersFunctionWithConfigMissingOK
WithConfigMissingOK returns an option which sets configMissingOK
comp/core/config/params.go:105
↓ 5 callersMethodWithEventTypeEnabled
WithEventTypeEnabled set event types enabled
pkg/security/secl/rules/opts.go:49
↓ 5 callersMethodWithLegacyFields
WithLegacyFields set legacy fields
pkg/security/secl/compiler/eval/opts.go:100
↓ 5 callersMethodWithTags
WithTags returns SimpleGauge for this metric with the given tag values.
comp/core/telemetry/gauge.go:25
↓ 5 callersMethodWithValues
WithValues returns SimpleCounter for this metric with the given tag values.
comp/core/telemetry/counter.go:33
↓ 5 callersMethodWrite
Write buffers Writes from our stdout/stderr fd, and sends to the channel once we've received newlines.
cmd/serverless-init/log/channel_writer.go:36
↓ 5 callersFunctionYAMLCheckExist
YAMLCheckExist check a property/value from a YAML exist (jq style syntax)
pkg/util/jsonquery/yaml.go:53
↓ 5 callersMethodactiveClients
activeClients returns the list of active clients
pkg/config/remote/service/clients.go:95
↓ 5 callersMethodadd
(filePath string)
comp/core/flare/helpers/perm_info_win.go:193
↓ 5 callersFunctionaddClass
(node, cls)
cmd/agent/gui/views/private/js/codemirror.js:129
↓ 5 callersFunctionaddFlushCount
(name string, value int64)
pkg/aggregator/aggregator.go:82
↓ 5 callersMethodaddServiceCheck
addServiceCheck adds the service check to the slice of current service checks
pkg/aggregator/aggregator.go:436
↓ 5 callersMethodagentConfigUpdateCallback
(updates map[string]state.RawConfig, applyStateCallback func(string, state.ApplyStatus))
comp/remote-config/rcclient/rcclient.go:110
↓ 5 callersFunctionappendPDBTag
(tags []string, pdb sql.NullString)
pkg/collector/corechecks/oracle-dbm/oracle.go:353
↓ 5 callersFunctionappendTags
(str *strings.Builder, tags string)
pkg/trace/api/otlp.go:311
↓ 5 callersFunctionapplyReverseLexicographicalOrdering
(files []*tailer.File)
pkg/logs/launchers/file/provider/file_provider.go:318
↓ 5 callersFunctionask
(question: str)
tasks/kernel_matrix_testing/tool.py:9
↓ 5 callersFunctionassertEqualStreamEntitiesResponse
(t *testing.T, expected, actual *pbgo.ProcessStreamResponse)
pkg/process/metadata/workloadmeta/grpc_test.go:312
↓ 5 callersFunctionassertFileContains
assertFileContains verifies that `filename` contains every string in `expectedContents`
test/new-e2e/tests/agent-subcommands/flare/flare_helpers.go:135
↓ 5 callersFunctionassertIP
(t *testing.T, input string, snmpConfigList []SNMPConfig, expectedOutput SNMPConfig)
pkg/snmp/snmpparse/config_snmp_test.go:271
↓ 5 callersMethodassertLeadershipMessage
(t *testing.T, expected state)
pkg/clusteragent/clusterchecks/handler_test.go:28
↓ 5 callersFunctionassertLoadedConfigsMatch
assertLoadedConfigsMatch asserts that the set of loaded configs on the given configManager matches the given functions.
pkg/autodiscovery/configmgr_test.go:54
↓ 5 callersFunctionassertReqGetEvent
(t *testing.T, events *[]OnboardingEvent)
pkg/trace/telemetry/collector_test.go:245
↓ 5 callersFunctionassertTagInfoListEqual
(t *testing.T, expectedUpdates []*TagInfo, updates []*TagInfo)
pkg/tagger/collectors/workloadmeta_test.go:1397
↓ 5 callersFunctionbenchmarkSplitPayloadsSketchesNew
(b *testing.B, numPoints int)
pkg/serializer/internal/metrics/sketch_benchmark_test.go:35
↓ 5 callersFunctionbenchmarkSplitPayloadsSketchesSplit
(b *testing.B, numPoints int)
pkg/serializer/internal/metrics/sketch_benchmark_test.go:20
↓ 5 callersFunctionbitmaskToString
(bitmask int, intToStrMap map[int]string)
pkg/security/secl/model/consts_common.go:974
↓ 5 callersFunctionbuildDatadogQueryForExternalMetric
(metricName string, labels map[string]string)
pkg/clusteragent/externalmetrics/utils.go:81
↓ 5 callersFunctionbuildDockerFilter
buildDockerFilter creates a filter.Args object from an even number of strings, used as key, value pairs An empty "catch-all" filter can be created by
pkg/util/docker/util_docker.go:20
↓ 5 callersFunctionbuildErrorResponse
(responseError error)
test/fakeintake/server/http.go:30
↓ 5 callersFunctionbuildHistogramAggregates
(agentConfig Config)
pkg/config/legacy/converter.go:364
↓ 5 callersFunctionbuildHistogramPercentiles
(agentConfig Config)
pkg/config/legacy/converter.go:395
↓ 5 callersFunctionbuildKey
buildKey creates a key for referencing a nested field.
comp/otelcol/otlp/map_provider.go:22
↓ 5 callersFunctionbuildMessage
(r rune, count int)
pkg/logs/internal/parsers/dockerstream/docker_stream_test.go:134
↓ 5 callersFunctionbuildURL
buildURL buils a url from a config endpoint.
pkg/logs/client/http/destination.go:356
↓ 5 callersFunctionbuild_messagetable
Build the header and resource for the MESSAGETABLE shared between agent binaries.
tasks/windows_resources.py:22
↓ 5 callersFunctionbuild_rc
To be done after the PR created by release.create-rc is merged, with the same options as release.create-rc. k8s_deployments - when set t
tasks/release.py:1135
↓ 5 callersFunctioncapturePayloadAsTags
(value interface{}, targetSpan *pb.Span, key string, depth int, maxDepth int)
pkg/serverless/invocationlifecycle/trace.go:227
↓ 5 callersFunctioncatalogContains
(t *testing.T, cat *serviceKeyCatalog, has map[ServiceSignature]Signature)
pkg/trace/sampler/catalog_test.go:116
↓ 5 callersFunctionchangeLine
(doc, handle, changeType, op)
cmd/agent/gui/views/private/js/codemirror.js:5430
↓ 5 callersFunctioncharWidth
(display)
cmd/agent/gui/views/private/js/codemirror.js:2933
↓ 5 callersMethodcheckByte
(exists []byte, bs []byte, i int, val byte)
pkg/logs/internal/framer/docker_stream.go:67
↓ 5 callersFunctionclassTest
(cls)
cmd/agent/gui/views/private/js/codemirror.js:50
↓ 5 callersFunctionclearCaches
(cm)
cmd/agent/gui/views/private/js/codemirror.js:2602
↓ 5 callersFunctioncollapsedSpanAtEnd
(line)
cmd/agent/gui/views/private/js/codemirror.js:747
↓ 5 callersMethodcompleteInferredSpan
completeInferredSpan finishes the inferred span and passes it as an API payload to be processed by the trace agent
pkg/serverless/invocationlifecycle/trace.go:151
↓ 5 callersMethodconsumePayloads
(results *api.WeightedQueue, fwd forwarder.Forwarder)
pkg/process/runner/submitter.go:326
↓ 5 callersMethodcontrollerActivated
(controller string)
pkg/util/cgroups/cgroupv2.go:43
↓ 5 callersFunctionconvertRawTraceContext
(rawTrace *rawTraceContext)
pkg/serverless/trace/inferredspan/propagation.go:158
↓ 5 callersFunctioncountPoolSize
(p *PoolManager)
comp/dogstatsd/packets/pool_manager_test.go:14
↓ 5 callersFunctioncounterIncWithTag
(counter telemetry.Counter, err error)
pkg/network/route_cache.go:370
↓ 5 callersMethodcreateCgroupV1
for cgroup v1 only
pkg/util/cgroups/file_for_test.go:76
↓ 5 callersMethodcreateCgroupV2
for cgroup v2 only
pkg/util/cgroups/file_for_test.go:83
↓ 5 callersMethodcreateDevice
(deviceDigest checkconfig.DeviceDigest, subnet *snmpSubnet, deviceIP string, writeCache bool)
pkg/collector/corechecks/snmp/internal/discovery/discovery.go:211
↓ 5 callersFunctioncreateDropPrioritySorter
()
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue_test.go:171
↓ 5 callersFunctioncreateEvents
(sourceTypeNames ...string)
pkg/serializer/internal/metrics/events_test.go:215
↓ 5 callersFunctioncreateHTTPTransactionCollectionTests
(endpoints ...string)
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue_test.go:106
↓ 5 callersFunctioncreateJavaTempFile
(t *testing.T, dir string)
pkg/network/usm/ebpf_javatls_test.go:25
↓ 5 callersFunctioncreateSetEvent
(container containerd.Container, namespace string, containerdClient cutil.ContainerdItf)
pkg/workloadmeta/collectors/internal/containerd/event_builder.go:67
↓ 5 callersFunctioncreateTempFile
(t *testing.T, content string, callback func(filename string))
pkg/collector/corechecks/net/ntp_local_defined_server_nowindows_test.go:23
↓ 5 callersFunctioncreateTempTestFile
(t *testing.T, name string)
pkg/network/usm/utils/file_registry_test.go:160
↓ 5 callersFunctiondecryptConfig
(conf integration.Config)
pkg/autodiscovery/secrets.go:20
↓ 5 callersFunctiondefaultAnnotationsAsTags
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_defaults.go:242
↓ 5 callersMethoddelete
remove the check from the list
pkg/collector/collector.go:220
↓ 5 callersMethoddeleteReference
(imageName string, imageID string)
pkg/workloadmeta/collectors/internal/containerd/image.go:100
↓ 5 callersMethoddetectMetricsToMonitor
(sess session.Session)
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:232
↓ 5 callersMethoddetermineConnectionIntraHost
(connections slice.Chain[ConnectionStats])
pkg/network/state.go:865
← previousnext →3,301–3,400 of 32,574, ranked by callers