MCPcopy Create free account

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

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

↓ 12 callersMethodbase
()
pkg/network/protocols/telemetry/metric.go:105
↓ 12 callersFunctionbenchmarkAutoMultiLineHandler
(b *testing.B, logs int, line string)
pkg/logs/internal/decoder/line_handler_benchmark_test.go:37
↓ 12 callersFunctionbuildLabelSelectors
buildLabelSelectors returns the mutating webhooks object selector based on the configuration
pkg/clusteragent/admission/controllers/webhook/common.go:51
↓ 12 callersFunctionbuildTaggerEntityID
(entityID workloadmeta.EntityID)
pkg/tagger/collectors/workloadmeta_extract.go:695
↓ 12 callersFunctioncheck_and_get_stack
(stack)
tasks/kernel_matrix_testing/init_kmt.py:85
↓ 12 callersMethodcommit
(timestamp float64)
pkg/aggregator/check_sampler.go:171
↓ 12 callersFunctioncreateTestSpansWithEventRate
(eventRate float64)
pkg/trace/event/extractor_metric_test.go:16
↓ 12 callersFunctiondefaultLabelJoins
defaultLabelJoins returns a map that contains the default label joins configuration
pkg/collector/corechecks/cluster/ksm/kubernetes_state_defaults.go:136
↓ 12 callersFunctiondocker_exec
(ctx, cmd, user="root")
tasks/kmt.py:220
↓ 12 callersMethodencode
(payload []byte)
pkg/logs/sender/content_encoding.go:16
↓ 12 callersFunctionexpectResponses
expectResponses creates a new payload for the test server. The test server will respond with the given status codes, in the given order, for each subs
pkg/trace/writer/testserver.go:30
↓ 12 callersMethodexpireContexts
expireContexts cleans up the contexts that haven't been tracked since the given timestamp and returns the associated contextKeys. keep can be used to
pkg/aggregator/context_resolver.go:226
↓ 12 callersFunctionextractContextString
(format contextFormat, contextList []interface{})
pkg/config/logs/log.go:481
↓ 12 callersFunctionfakeEnvWithValue
(name, value string)
pkg/clusteragent/admission/mutate/test_utils.go:17
↓ 12 callersFunctionfakePodWithAnnotation
(k, v string)
pkg/clusteragent/admission/mutate/test_utils.go:89
↓ 12 callersFunctionfakePodWithNamespaceAndLabel
(namespace, k, v string)
pkg/clusteragent/admission/mutate/test_utils.go:172
↓ 12 callersMethodflushOnTime
flushOnTime flushes all buckets up to flushTs, except the last one.
pkg/trace/stats/client_stats_aggregator.go:97
↓ 12 callersFunctiongenerateEndpointsIntegration
(name, nodename string, metricsExcluded bool)
pkg/clusteragent/clusterchecks/dispatcher_test.go:32
↓ 12 callersFunctiongetARNResource
(arn arn.ARN)
cmd/agentless-scanner/main.go:1164
↓ 12 callersFunctiongetCheckStatsExpvarMap
(t require.TestingT)
pkg/collector/runner/expvars/expvars_test.go:46
↓ 12 callersMethodgetClusterCheckConfigs
getClusterCheckConfigs returns configurations dispatched to a given node
pkg/clusteragent/clusterchecks/dispatcher_nodes.go:28
↓ 12 callersMethodgetCustomKubeUtil
()
pkg/util/kubernetes/kubelet/kubelet_test.go:168
↓ 12 callersFunctiongetDogStatsDWorkerAndPipelineCount
(vCPUs int)
pkg/aggregator/demultiplexer.go:143
↓ 12 callersFunctiongetDummyMessage
(content string)
pkg/logs/internal/decoder/line_handler_test.go:27
↓ 12 callersMethodgetStatus
getStatus allows to query the health status of the agent
pkg/status/health/health.go:131
↓ 12 callersFunctionget_gitlab_token
()
tasks/libs/common/gitlab.py:315
↓ 12 callersFunctionhasHandler
(emitter, type)
cmd/agent/gui/views/private/js/codemirror.js:1175
↓ 12 callersFunctionhtons
(a uint16)
pkg/network/tracer/offsetguess/tracer.go:228
↓ 12 callersMethodinit
()
pkg/network/java/testutil/JavaClientSimulator/src/main/java/Clients/JavaClients.java:61
↓ 12 callersFunctionisEC2UUID
isEC2UUID returns true if the hypervisor or product UUID starts by "ec2". This doesn't tell us on which instances the agent is running but let us know
pkg/util/ec2/dmi.go:59
↓ 12 callersFunctionkretprobeOrFexit
(funcName string, fentry bool, options ...psbOption)
pkg/security/ebpf/probes/builder.go:41
↓ 12 callersFunctionkubeNsName
(ns, name string)
pkg/autodiscovery/providers/kube_services_file_test.go:97
↓ 12 callersMethodloadConfigFileMeta
(name string)
pkg/compliance/k8sconfig/loader.go:166
↓ 12 callersMethodlogWithLevel
(lvl string, msg string)
pkg/trace/log/buflogger.go:28
↓ 12 callersFunctionmakeSpanLinkSlice
(t *testing.T, traceId, spanId, traceState string, attrs map[string]string, dropped uint32)
pkg/trace/api/otlp_test.go:1874
↓ 12 callersFunctionmodelEvents
(objIDs ...string)
pkg/collector/corechecks/containerlifecycle/queue_test.go:27
↓ 12 callersFunctionnewCheck
(t *testing.T, id string, doErr bool, runFunc func(checkid.ID))
pkg/collector/worker/worker_test.go:101
↓ 12 callersFunctionnewFakeDatadogMetric
(ns, name, query string, status datadoghq.DatadogMetricStatus)
pkg/clusteragent/externalmetrics/datadogmetric_controller_test.go:123
↓ 12 callersFunctionnewFakeEndpointAddress
(nodeName string, pod v1.Pod)
pkg/util/kubernetes/apiserver/metadata_controller_test.go:495
↓ 12 callersFunctionnewMessage
(content []byte, source *sources.LogSource, status string)
pkg/logs/internal/processor/processor_test.go:302
↓ 12 callersFunctionnewSource
(ruleType, replacePlaceholder, pattern string)
pkg/logs/internal/processor/processor_test.go:298
↓ 12 callersFunctionnewTempFs
(inT testing.TB)
pkg/logs/launchers/file/provider/file_provider_test.go:32
↓ 12 callersFunctionnewTestArtifacts
()
pkg/remoteconfig/state/testingutils_test.go:81
↓ 12 callersFunctionnewTestService
(t *testing.T, api *mockAPI, uptane *mockUptane, clock clock.Clock)
pkg/config/remote/service/service_test.go:110
↓ 12 callersFunctionnewWatcher
()
pkg/util/kubernetes/kubelet/podwatcher_test.go:526
↓ 12 callersMethodparse
(data []byte, initData []byte, getLocalServers func() ([]string, error))
pkg/collector/corechecks/net/ntp.go:75
↓ 12 callersMethodparseMetricMessage
NOTE(remy): for performance purpose, we may need to revisit this method to deal with both a metricSamples slice and a lateMetricSamples slice, in orde
comp/dogstatsd/server/server.go:715
↓ 12 callersMethodparseStatus
parseStatus retrieves status info from "status" file for a process in procfs
pkg/process/procutil/process_linux.go:475
↓ 12 callersMethodprocessContainerMetric
(metricType, metricName string, metricFam *prom.MetricFamily, labels []string, sender sender.Sender)
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:140
↓ 12 callersFunctionprocessMessage
(id string, message *containerdevents.Envelope)
pkg/collector/corechecks/containers/containerd/events.go:98
↓ 12 callersFunctionreportHttpCallbackEvents
(eventInfo *etw.DDEtwEventInfo, willBeProcessed bool)
pkg/network/protocols/http/etw_http_service.go:1117
↓ 12 callersFunctionsecAgentKey
(sub string)
cmd/security-agent/subcommands/start/command.go:380
↓ 12 callersFunctionselectWrapper
(c *Check, s T, sql string, binds ...interface{})
pkg/collector/corechecks/oracle-dbm/sql_wrappers.go:18
↓ 12 callersMethodsendHTTPTransactions
(transactions []*transaction.HTTPTransaction)
comp/forwarder/defaultforwarder/default_forwarder.go:476
↓ 12 callersMethodset
(ip string, err error)
pkg/clusteragent/clusterchecks/common_test.go:69
↓ 12 callersFunctionsetupFipsEndpoints
setupFipsEndpoints overwrites the Agent endpoint for outgoing data to be sent to the local FIPS proxy. The local FIPS proxy will be in charge of forwa
pkg/config/config.go:1635
↓ 12 callersFunctionsignTargets
(key keys.Signer, targets *data.Targets)
pkg/remoteconfig/state/testingutils_test.go:118
↓ 12 callersFunctionsleep
()
test/integration/serverless/src/log.js:20
↓ 12 callersMethodstart
(timeStamp time.Time)
pkg/serverless/appsec/limiter_test.go:285
↓ 12 callersMethodstop
()
pkg/serverless/appsec/limiter_test.go:289
↓ 12 callersMethodtick
(timeStamp time.Time)
pkg/serverless/appsec/limiter_test.go:295
↓ 12 callersMethodtoUpdate
()
pkg/config/remote/uptane/client_test.go:397
↓ 12 callersMethodupdate
(now time.Time)
pkg/network/netlink/circuit_breaker.go:110
↓ 12 callersFunctionwhichNonFatal
whichNonFatal is "which" which returns an error instead of fatal nolint:deadcode,unused
pkg/security/tests/module_tester.go:379
↓ 12 callersFunctionwrapCronJobFunc
(f func(*batchv1beta1.CronJob) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/cronjob.go:313
↓ 11 callersMethodAddColumnValue
AddColumnValue add column value to metadata store
pkg/collector/corechecks/snmp/internal/metadata/store.go:40
↓ 11 callersFunctionAddGlobalWarning
AddGlobalWarning keeps track of a warning message to display on the status.
pkg/logs/status/status.go:131
↓ 11 callersMethodAddr
Addr returns the host:port address to listen on.
comp/netflow/config/config.go:142
↓ 11 callersMethodAssertEventPlatformEvent
(t *testing.T, expectedRawEvent []byte, expectedEventType string)
comp/aggregator/diagnosesendermanager/component_mock.go:28
↓ 11 callersMethodConnections
(kind string)
pkg/collector/corechecks/net/network.go:97
↓ 11 callersFunctionCreateTestPacket
CreateTestPacket generates a sample SNMP version 2c packet for a trap.
pkg/snmp/traps/packet/test_helpers.go:113
↓ 11 callersFunctionDeregister
Deregister a component from the healthcheck
pkg/status/health/global.go:27
↓ 11 callersMethodDeserialize
Deserialize deserializes from bytes.
comp/forwarder/defaultforwarder/internal/retry/http_transactions_serializer.go:107
↓ 11 callersFunctionFakeIntakeStackDef
FakeIntakeStackDef creates a stack definition containing a virtual machine the Agent and the fake intake. See [ec2vm.Params] for available options fo
test/new-e2e/pkg/utils/e2e/stack_definition.go:207
↓ 11 callersMethodForEach
ForEach invokes the specified function for every key-value pair in the database.
pkg/util/trivy/db.go:41
↓ 11 callersMethodFullName
FullName returns a string that contains the collector name and version.
pkg/collector/corechecks/cluster/orchestrator/collectors/collector.go:83
↓ 11 callersMethodGetADIdentifiers
tagger entity name
pkg/autodiscovery/listeners/types.go:29
↓ 11 callersFunctionGetAPIEndpoints
GetAPIEndpoints returns the list of api endpoints from the config
pkg/process/runner/endpoint/endpoints.go:18
↓ 11 callersMethodGetAllContainers
()
pkg/workloadmeta/collectors/internal/podman/podman.go:31
↓ 11 callersMethodGetChildren
()
pkg/security/security_profile/activity_tree/process_node.go:26
↓ 11 callersMethodGetContainerIDForPID
GetContainerIDForPID returns a container ID for given PID. ("", nil) will be returned if no error but the containerd ID was not found.
pkg/util/containers/metrics/provider/collector_types.go:38
↓ 11 callersMethodGetContainerNetworkStats
(containerNS, containerID string, cacheValidity time.Duration)
pkg/util/containers/metrics/provider/collector_types.go:21
↓ 11 callersMethodGetCurrentState
GetCurrentState gets the current state of the execution context
pkg/serverless/executioncontext/executioncontext.go:57
↓ 11 callersMethodGetEvaluator
GetEvaluator returns an evaluator for the given field
pkg/security/secl/compiler/eval/model.go:11
↓ 11 callersMethodGetFeature
GetFeature returns the feature at the given point.
pkg/network/tracer/testutil/grpc/server.go:82
↓ 11 callersMethodGetNumberAndPre
GetNumberAndPre returns a string containing version number and the pre only, e.g. `0.0.0-beta.1`
pkg/version/version.go:89
↓ 11 callersFunctionGetServerIP
GetServerIP returns the IP address of the test DNS server. The test DNS server returns canned responses for several known domains that are used in int
pkg/network/tracer/testutil/testdns/test_dns_server.go:31
↓ 11 callersMethodGetServiceID
GetServiceID returns the service entity name
pkg/autodiscovery/common_test.go:28
↓ 11 callersFunctionGetpid
Getpid returns the current process ID in the host namespace
pkg/security/utils/proc.go:29
↓ 11 callersFunctionInfoStackDepth
InfoStackDepth logs at the info level and the current stack depth plus the additional given one
pkg/util/log/log.go:768
↓ 11 callersMethodInt63
()
pkg/serverless/random/rand.go:42
↓ 11 callersMethodIsFull
IsFull returns true if the buffer is full.
pkg/logs/sender/message_buffer.go:52
↓ 11 callersMethodLookupId
(uid string)
pkg/process/checks/user_nix.go:64
↓ 11 callersMethodMovingAvg
MovingAvg Gets the moving average of values within the time frame
pkg/util/statstracker/stats_tracker.go:99
↓ 11 callersFunctionNewBufferContext
NewBufferContext initialize the default compression buffers
pkg/serializer/marshaler/marshaler.go:71
↓ 11 callersFunctionNewClient
(opts Options)
pkg/network/protocols/mysql/client.go:30
↓ 11 callersFunctionNewClient
(opts Options)
pkg/network/protocols/kafka/client.go:33
↓ 11 callersFunctionNewDeviceCheck
NewDeviceCheck returns a new DeviceCheck
pkg/collector/corechecks/snmp/internal/devicecheck/devicecheck.go:64
↓ 11 callersFunctionNewJSONPayloadBuilder
NewJSONPayloadBuilder is not implemented when zlib is not available.
pkg/serializer/internal/stream/json_payload_builder_nozlib.go:33
↓ 11 callersFunctionNewLambdaLogCollector
(out chan<- *logConfig.ChannelMessage, demux aggregator.Demultiplexer, extraTags *Tags, logsEnabled bool, enha
pkg/serverless/logs/logs_collector.go:64
← previousnext →1,301–1,400 of 32,574, ranked by callers