MCPcopy Create free account

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

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

MethodAsJSON
AsJSON returns an interface which can be marshalled to a JSON and contains the value of non-errored fields.
pkg/gohai/filesystem/filesystem.go:35
MethodAsJSON
AsJSON collects the processes information. Returns an object which can be converted to a JSON or an error if nothing could be collected. Tries to coll
pkg/gohai/processes/processes.go:50
MethodAsString
AsString convert to string value
pkg/networkdevice/metadata/payload_constants.go:25
MethodAssertHistogramBucket
(t *testing.T, method string, metric string, value int64, lowerBound float64, upperBound float64, monotonic bo
comp/aggregator/diagnosesendermanager/component_mock.go:23
FunctionAssertMetricCallsMatch
AssertMetricCallsMatch is a helper function which allows us to assert that, for a given test and a given set of expected metrics, ONLY the expected me
pkg/collector/corechecks/containers/kubelet/common/testing/utils.go:213
MethodAssertMetricInRange
AssertMetricInRange allows to assert a metric was emitted with given parameters, with a value in a given range. Additional tags over the ones specifie
pkg/aggregator/mocksender/asserts.go:50
MethodAssertMonotonicCount
(t *testing.T, method string, metric string, value float64, hostname string, tags []string, flushFirstValue bo
comp/aggregator/diagnosesendermanager/component_mock.go:22
MethodAttach
Attach prepares a streaming endpoint to attach to a running container.
internal/third_party/kubernetes/pkg/kubelet/cri/remote/fake/fake_runtime.go:235
MethodAuthFuncOverride
AuthFuncOverride implements the `grpc_auth.ServiceAuthFuncOverride` interface which allows override of the AuthFunc registered with the unary intercep
cmd/agent/api/grpc.go:61
FunctionAuthInterceptor
AuthInterceptor is a gRPC interceptor that extracts an auth token from the request headers, and validates it using the provided func.
pkg/util/grpc/auth.go:25
FunctionAvg
()
pkg/collector/corechecks/system/cpu/load_test.go:24
FunctionB
()
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
MethodBeforeCacheCheck
BeforeCacheCheck is a handler called before cache lookup.
pkg/collector/corechecks/cluster/orchestrator/processors/k8s/pod.go:43
MethodBeforeCacheCheck
(ctx *processors.ProcessorContext, resource, resourceModel interface{})
pkg/collector/corechecks/cluster/orchestrator/processors/k8s/base.go:17
MethodBeforeMarshalling
(ctx *processors.ProcessorContext, resource, resourceModel interface{})
pkg/collector/corechecks/cluster/orchestrator/processors/k8s/base.go:21
MethodBeforeTest
BeforeTest is executed right before the test starts and receives the suite and test names as input. This function is called by [testify Suite]. If yo
test/new-e2e/pkg/utils/e2e/e2e.go:451
FunctionBenchmarkAddBucket1
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:77
FunctionBenchmarkAddBucket10
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:78
FunctionBenchmarkAddBucket100
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:79
FunctionBenchmarkAddBucket1000
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:80
FunctionBenchmarkAddBucket10000
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:81
FunctionBenchmarkAddBucket1000000
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:82
FunctionBenchmarkAddBucket10000000
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:83
FunctionBenchmarkAddBucketWide1e10
(b *testing.B)
pkg/aggregator/check_sampler_bench_test.go:85
FunctionBenchmarkAgentTraceProcessing
(b *testing.B)
pkg/trace/agent/agent_test.go:1500
FunctionBenchmarkAgentTraceProcessingWithFiltering
(b *testing.B)
pkg/trace/agent/agent_test.go:1507
FunctionBenchmarkAgentTraceProcessingWithWorstCaseFiltering
worst case scenario: spans are tested against multiple rules without any match. this means we won't compesate the overhead of TestFilteredByTagsing by
pkg/trace/agent/agent_test.go:1517
FunctionBenchmarkAllPidsProcs
(b *testing.B)
pkg/util/kernel/proc_linux_test.go:70
FunctionBenchmarkAppendMsgAgentPayload
(b *testing.B)
pkg/proto/pbgo/trace/agent_payload_gen_test.go:43
FunctionBenchmarkAppendMsgClient
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:43
FunctionBenchmarkAppendMsgClientAgent
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:101
FunctionBenchmarkAppendMsgClientGetConfigsRequest
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:159
FunctionBenchmarkAppendMsgClientGetConfigsResponse
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:217
FunctionBenchmarkAppendMsgClientGroupedStats
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:44
FunctionBenchmarkAppendMsgClientState
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:275
FunctionBenchmarkAppendMsgClientStatsBucket
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:157
FunctionBenchmarkAppendMsgClientStatsPayload
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:270
FunctionBenchmarkAppendMsgClientTracer
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:333
FunctionBenchmarkAppendMsgConfigMetas
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:391
FunctionBenchmarkAppendMsgConfigState
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:449
FunctionBenchmarkAppendMsgDelegatedMeta
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:507
FunctionBenchmarkAppendMsgDirectorMetas
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:565
FunctionBenchmarkAppendMsgFile
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:623
FunctionBenchmarkAppendMsgFileMetaState
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:681
FunctionBenchmarkAppendMsgGetStateConfigResponse
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:739
FunctionBenchmarkAppendMsgLatestConfigsRequest
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:797
FunctionBenchmarkAppendMsgLatestConfigsResponse
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:855
FunctionBenchmarkAppendMsgOrgDataResponse
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:913
FunctionBenchmarkAppendMsgOrgStatusResponse
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:971
FunctionBenchmarkAppendMsgRemoteConfigKey
(b *testing.B)
pkg/proto/msgpgo/key_gen_test.go:44
FunctionBenchmarkAppendMsgSpan
(b *testing.B)
pkg/proto/pbgo/trace/span_gen_test.go:43
FunctionBenchmarkAppendMsgStatsPayload
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:383
FunctionBenchmarkAppendMsgTargetFileHash
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:1029
FunctionBenchmarkAppendMsgTargetFileMeta
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:1087
FunctionBenchmarkAppendMsgTopMeta
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:1145
FunctionBenchmarkAppendMsgTrace
(b *testing.B)
pkg/proto/pbgo/trace/trace_gen_test.go:43
FunctionBenchmarkAppendMsgTraceChunk
(b *testing.B)
pkg/proto/pbgo/trace/tracer_payload_gen_test.go:43
FunctionBenchmarkAppendMsgTracerPayload
(b *testing.B)
pkg/proto/pbgo/trace/tracer_payload_gen_test.go:101
FunctionBenchmarkAppendMsgTracerPredicateV1
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:1203
FunctionBenchmarkAppendMsgTracerPredicates
(b *testing.B)
pkg/proto/pbgo/core/remoteconfig_gen_test.go:1261
FunctionBenchmarkAppendMsgTraces
(b *testing.B)
pkg/proto/pbgo/trace/trace_gen_test.go:101
FunctionBenchmarkApplyOrdering
(b *testing.B)
pkg/logs/launchers/file/provider/file_provider_test.go:492
FunctionBenchmarkArray
(b *testing.B)
pkg/security/secl/compiler/eval/eval_test.go:1415
FunctionBenchmarkAutoMultiLineHandler1
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:80
FunctionBenchmarkAutoMultiLineHandler10
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:81
FunctionBenchmarkAutoMultiLineHandler100
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:84
FunctionBenchmarkAutoMultiLineHandler1000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:87
FunctionBenchmarkAutoMultiLineHandler10000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:90
FunctionBenchmarkAutoMultiLineHandler100000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:93
FunctionBenchmarkAutoMultiLineHandlerMatch1
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:97
FunctionBenchmarkAutoMultiLineHandlerMatch10
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:100
FunctionBenchmarkAutoMultiLineHandlerMatch100
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:103
FunctionBenchmarkAutoMultiLineHandlerMatch1000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:106
FunctionBenchmarkAutoMultiLineHandlerMatch10000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:109
FunctionBenchmarkAutoMultiLineHandlerMatch100000
(b *testing.B)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:112
FunctionBenchmarkBuffer
(b *testing.B)
pkg/network/buffer_test.go:13
FunctionBenchmarkBufferFlush
(b *testing.B)
comp/dogstatsd/packets/assembler_test.go:149
FunctionBenchmarkByteKey
(b *testing.B)
pkg/network/event_test.go:245
FunctionBenchmarkBytes
(b *testing.B)
pkg/process/util/address_test.go:179
FunctionBenchmarkCPU
(b *testing.B)
pkg/trace/watchdog/info_test.go:135
FunctionBenchmarkCache
(b *testing.B)
pkg/process/procutil/data_scrubber_test.go:504
FunctionBenchmarkCompactWhitespaces
(b *testing.B)
pkg/obfuscate/obfuscate_test.go:135
FunctionBenchmarkComplex
(b *testing.B)
pkg/security/secl/compiler/eval/eval_test.go:1458
FunctionBenchmarkComputeSpanHash
(b *testing.B)
pkg/trace/sampler/signature_test.go:185
FunctionBenchmarkConnectionReset
(b *testing.B)
pkg/network/encoding/format_test.go:84
FunctionBenchmarkConnectionsGet
(b *testing.B)
pkg/network/state_test.go:31
FunctionBenchmarkConntrackExists
(b *testing.B)
pkg/network/netlink/conntrack_integration_test.go:71
FunctionBenchmarkCreateMarshalersBySourceType
(b *testing.B)
pkg/serializer/internal/metrics/events_test.go:338
FunctionBenchmarkCreateMarshalersSeveralSourceTypes
(b *testing.B)
pkg/serializer/internal/metrics/events_test.go:353
FunctionBenchmarkCreateSingleMarshaler
(b *testing.B)
pkg/serializer/internal/metrics/events_test.go:310
FunctionBenchmarkCreateSingleMarshalerOneEventBySource
(b *testing.B)
pkg/serializer/internal/metrics/events_test.go:314
FunctionBenchmarkDNSCacheGet
(b *testing.B)
pkg/network/dns/cache_test.go:292
FunctionBenchmarkDecodeClientGroupedStats
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:108
FunctionBenchmarkDecodeClientStatsBucket
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:221
FunctionBenchmarkDecodeClientStatsPayload
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:334
FunctionBenchmarkDecodeMultipleMessages
(b *testing.B)
pkg/network/netlink/decoding_test.go:68
FunctionBenchmarkDecodeRemoteConfigKey
(b *testing.B)
pkg/proto/msgpgo/key_gen_test.go:108
FunctionBenchmarkDecodeSingleMessage
(b *testing.B)
pkg/network/netlink/decoding_test.go:52
FunctionBenchmarkDecodeStatsPayload
(b *testing.B)
pkg/proto/pbgo/trace/stats_gen_test.go:447
FunctionBenchmarkDecoderJSON
(b *testing.B)
pkg/trace/api/api_test.go:943
← previousnext →16,301–16,400 of 32,574, ranked by callers