MCPcopy Create free account

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

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

↓ 4 callersMethodincResource
(resource string, val int)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_telemetry.go:46
↓ 4 callersFunctionincrementEnhancedMetric
incrementEnhancedMetric sends an enhanced metric with a value of 1 to the metrics channel
pkg/serverless/metrics/enhanced_metrics.go:236
↓ 4 callersMethodincrementErrors
(drop bool)
pkg/logs/client/tcp/destination.go:119
↓ 4 callersFunctionindent
(count int, s string)
pkg/compliance/tests/helpers.go:328
↓ 4 callersFunctionindexOf
(s string, db []string)
pkg/process/checks/net_test.go:231
↓ 4 callersFunctioninitExtraHeaders
initExtraHeaders initializes the global extraHeaders variables. Not part of the `init` function body to ease testing
pkg/serializer/serializer.go:66
↓ 4 callersFunctioninjectAllEnvs
()
pkg/clusteragent/admission/mutate/auto_instrumentation_test.go:851
↓ 4 callersFunctioninjectConfig
injectConfig injects DD_AGENT_HOST and DD_ENTITY_ID into a pod template if needed
pkg/clusteragent/admission/mutate/config.go:87
↓ 4 callersFunctioninsertAttributes
(attr pcommon.Map, from map[string]interface{})
pkg/trace/testutil/otlp.go:150
↓ 4 callersMethodinsertSnapshottedSocket
(family uint16, ip net.IP, port uint16, stats *Stats, newEvent func() *model.Event)
pkg/security/security_profile/activity_tree/process_node_snapshot.go:269
↓ 4 callersFunctioninstall
copied from go\pkg\mod\golang.org\x\sys@v0.4.0\windows\svc\mgr\mgr_test.go
pkg/util/winutil/service_test.go:20
↓ 4 callersFunctionintoCoordSystem
(cm, lineObj, rect, context, includeWidgets)
cmd/agent/gui/views/private/js/codemirror.js:2632
↓ 4 callersFunctionipFromAddr
(a util.Address)
pkg/network/netlink/conntracker.go:446
↓ 4 callersFunctionipRouteGet
(t *testing.T, from, dest string, iif *net.Interface)
pkg/network/tracer/tracer_linux_test.go:1400
↓ 4 callersFunctionisClosedConnError
isConnClosedError returns true if the error is related to a closed connection, for more details, see: https://golang.org/src/internal/poll/fd.go#L18.
pkg/logs/launchers/listener/errors.go:14
↓ 4 callersMethodisContainerEntry
isContainerEntry returns true if the entry comes from a docker container.
pkg/logs/tailers/journald/docker.go:25
↓ 4 callersMethodisDCAEnabled
()
pkg/workloadmeta/collectors/internal/kubemetadata/kubemetadata.go:286
↓ 4 callersFunctionisDbVersionLessThan
(c *Check, v string)
pkg/collector/corechecks/oracle-dbm/oracle.go:360
↓ 4 callersFunctionisDefaultHostname
(hostname string, useWindowsPrefix bool)
pkg/util/ec2/ec2.go:200
↓ 4 callersMethodisEmpty
isEmpty returns whether the queue is empty. isEmpty is not thread-safe, the caller must lock the queue.
pkg/collector/corechecks/containerlifecycle/queue.go:95
↓ 4 callersFunctionisIPV4
(tup *driver.ConnTupleType)
pkg/network/protocols/http/model_windows.go:27
↓ 4 callersFunctionisIpv6
(ip net.IP)
pkg/network/testutil/ping.go:76
↓ 4 callersFunctionisLockForLE
isLockForLE returns true if the Endpoints object is used for leader election.
pkg/autodiscovery/listeners/kube_endpoints.go:409
↓ 4 callersFunctionisManagedByHelm
(object metav1.Object)
pkg/collector/corechecks/cluster/helm/helm.go:453
↓ 4 callersMethodisMonitored
isMonitored verifies if a unit should be monitored.
pkg/collector/corechecks/systemd/systemd.go:503
↓ 4 callersFunctionisPrebuilt
(cfg *config.Config)
pkg/network/tracer/tracer_linux_test.go:1538
↓ 4 callersFunctionisRequestIncludedOnce
(allStats map[http.Key]*http.RequestStats, req *nethttp.Request)
pkg/network/usm/monitor_test.go:930
↓ 4 callersMethodisRunning
()
pkg/collector/corechecks/containers/containerd/events.go:416
↓ 4 callersFunctionisSetAndNotEmpty
(config coreConfig.Reader, key string)
comp/logs/agent/config/config_keys.go:52
↓ 4 callersMethodisSetAndNotEmpty
(key string)
comp/logs/agent/config/config_keys.go:56
↓ 4 callersFunctionisWordChar
(ch, helper)
cmd/agent/gui/views/private/js/codemirror.js:255
↓ 4 callersFunctionis_root
()
tasks/system_probe.py:1375
↓ 4 callersFunctioniterateMaps
(maps map[string]*ebpf.Map, mapFn func(mapid uint32, name string))
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:120
↓ 4 callersFunctioniterateProgs
(progs map[string]*ebpf.Program, mapFn func(progid uint32, name string))
pkg/collector/corechecks/ebpf/probe/ebpfcheck/names.go:130
↓ 4 callersFunctionjobMetric
jobMetric sends a gauge for job status
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:469
↓ 4 callersMethodjobs
Gets one page of the jobs for a pipeline. per_page cannot exceed 100.
tasks/libs/common/gitlab.py:162
↓ 4 callersFunctionkeyValueExists
(connectionData *USMConnectionData[K, V], key K, value V)
pkg/network/encoding/usm_test.go:109
↓ 4 callersFunctionlabelsMapperOverride
labelsMapperOverride allows overriding the default label mapping for a given metric depending on the metric family. Current use-cases: - `phase` tag s
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:978
↓ 4 callersFunctionlineLength
(line)
cmd/agent/gui/views/private/js/codemirror.js:869
↓ 4 callersFunctionlinesFor
(start, end)
cmd/agent/gui/views/private/js/codemirror.js:4616
↓ 4 callersMethodlistEntitiesByKind
(kind workloadmeta.Kind)
pkg/workloadmeta/testing/store.go:295
↓ 4 callersFunctionloadPythonInfo
(config config.Component, cliParams *cliParams)
cmd/agent/subcommands/integrations/command.go:181
↓ 4 callersMethodlogAndAdvance
(offset uint64, next GuessWhat)
pkg/network/tracer/offsetguess/conntrack.go:211
↓ 4 callersMethodlogErrorAndSetStatus
(err error)
pkg/logs/tailers/windowsevent/tailer.go:185
↓ 4 callersFunctionlogTracePipe
(t *testing.T, filterFn func(ev *TraceEvent) bool)
pkg/ebpf/ebpftest/bpfdebug_linux.go:74
↓ 4 callersFunctionlogWarnings
For now we simply logs warnings from gohai.
pkg/metadata/inventories/host_metadata.go:71
↓ 4 callersFunctionloop
( o )
cmd/agent/gui/views/private/js/codemirror.js:1523
↓ 4 callersFunctionlt
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 4 callersFunctionmakeAnnotations
(metricName string, labels map[string]string)
pkg/util/kubernetes/apiserver/hpa_controller_test.go:164
↓ 4 callersFunctionmakeChangeFromHistory
(doc, type, allowSelectionOnly)
cmd/agent/gui/views/private/js/codemirror.js:5187
↓ 4 callersFunctionmakeChangeSingleDoc
(doc, change, selAfter, spans)
cmd/agent/gui/views/private/js/codemirror.js:5276
↓ 4 callersMethodmakeFileSource
makeFileSource makes a new LogSource with Config.Type=="file" to log the given source.
pkg/logs/launchers/container/tailerfactory/file.go:49
↓ 4 callersFunctionmakeSnmpPacket
(trap gosnmp.SnmpTrap)
pkg/snmp/traps/forwarder/forwarder_test.go:42
↓ 4 callersFunctionmakeURLs
(t *testing.T, ss ...string)
pkg/trace/api/profiles_test.go:23
↓ 4 callersMethodmapServices
mapServices maps each pod (endpoint) to the metadata associated with it. It is on a per node basis to avoid mixing up the services pods are actually c
pkg/util/kubernetes/apiserver/services_kubelet.go:132
↓ 4 callersMethodmapToStatUint64
(instance string, v uint64, fn func(pid int32, proc *Stats, instance string, v uint64))
pkg/process/procutil/process_windows.go:331
↓ 4 callersFunctionmapToString
(m map[string]string)
pkg/workloadmeta/utils.go:27
↓ 4 callersFunctionmatchRegExList
(regexList []*regexp.Regexp, s string)
pkg/diagnose/runner.go:143
↓ 4 callersFunctionmatchedRuleToProto
(r *model.MatchedRule)
pkg/security/security_profile/activity_tree/activity_tree_proto_enc_v1.go:270
↓ 4 callersFunctionmaxPos
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:500
↓ 4 callersFunctionmaxUint64
(a, b uint64)
pkg/network/event_common.go:470
↓ 4 callersFunctionminPos
(a, b)
cmd/agent/gui/views/private/js/codemirror.js:501
↓ 4 callersFunctionmockMetadataRequest
(t *testing.T)
pkg/util/cloudproviders/gce/gce_tags_test.go:61
↓ 4 callersFunctionmsgpTraces
(t *testing.T, traces pb.Traces)
pkg/trace/api/api_test.go:1050
↓ 4 callersMethodname
()
pkg/logs/sender/content_encoding.go:15
↓ 4 callersFunctionnewAWSLimits
(ec2Rate, ebsListBlockRate, ebsGetBlockRate rate.Limit)
cmd/agentless-scanner/main.go:2657
↓ 4 callersFunctionnewAutoscalerFixture
(t *testing.T)
pkg/clusteragent/externalmetrics/autoscaler_watcher_test.go:54
↓ 4 callersFunctionnewCheckSender
( id checkid.ID, defaultHostname string, itemsOut chan<- senderItem, serviceCheckOut chan<- servicecheck.S
pkg/aggregator/sender.go:96
↓ 4 callersMethodnewCondition
(status bool, updateTime metav1.Time, conditionType datadoghq.DatadogMetricConditionType, prevCondition *datad
pkg/clusteragent/externalmetrics/model/datadogmetricinternal.go:270
↓ 4 callersFunctionnewContainerFilters
newContainerFilters instantiates the required container filters for AD listeners
pkg/autodiscovery/listeners/common.go:69
↓ 4 callersFunctionnewDNSFormatter
(conns *network.Connections, ipc ipCache)
pkg/network/encoding/dns.go:27
↓ 4 callersFunctionnewDNSStatkeeper
(timeout time.Duration, maxStats int64)
pkg/network/dns/stats.go:77
↓ 4 callersFunctionnewExecTestEventWithAncestors
newExecTestEventWithAncestors returns a new exec test event with a process cache entry populated with the input list. A final `systemd` node is append
pkg/security/security_profile/activity_tree/activity_tree_test.go:108
↓ 4 callersFunctionnewExecutionContextWithTime
()
pkg/serverless/invocationlifecycle/trace_test.go:26
↓ 4 callersFunctionnewFakeWatermarkPodAutoscaler
(name, ns string, uid types.UID, metricName string, labels map[string]string)
pkg/util/kubernetes/apiserver/wpa_controller_test.go:194
↓ 4 callersFunctionnewFixture
(t *testing.T)
pkg/clusteragent/admission/controllers/secret/controller_test.go:165
↓ 4 callersFunctionnewFlowAccumulator
(aggregatorFlushInterval time.Duration, aggregatorFlowContextTTL time.Duration, portRollupThreshold int, portR
comp/netflow/flowaggregator/flowaccumulator.go:54
↓ 4 callersFunctionnewForConfig
(config kubeletClientConfig, timeout time.Duration)
pkg/util/kubernetes/kubelet/kubelet_client.go:54
↓ 4 callersFunctionnewGeometricRateLimiter
(config geometricRateLimiterConfig)
comp/dogstatsd/listeners/ratelimit/geometric_rate_limiter.go:27
↓ 4 callersFunctionnewInodeDiscarders
(erpc *erpc.ERPC, dentryResolver *dentry.Resolver)
pkg/security/probe/discarders_linux.go:168
↓ 4 callersFunctionnewIstioTestMonitor
(t *testing.T)
pkg/network/usm/istio_test.go:198
↓ 4 callersFunctionnewMetrics
( histogramMetricName string, histogramDataPoint pmetric.HistogramDataPoint, numberMetricName string, numb
comp/otelcol/otlp/internal/serializerexporter/exporter_test.go:234
↓ 4 callersFunctionnewOnDiskRetryQueueTest
(t *testing.T, a *assert.Assertions)
comp/forwarder/defaultforwarder/internal/retry/transaction_retry_queue_test.go:175
↓ 4 callersFunctionnewPacketPoolManagerUDS
(cfg config.Component)
comp/dogstatsd/listeners/uds_common_test.go:43
↓ 4 callersFunctionnewProcessingRule
helpers -
pkg/logs/internal/processor/processor_test.go:287
↓ 4 callersFunctionnewQueue
newQueue returns a new *queue.
pkg/collector/corechecks/containerlifecycle/queue.go:22
↓ 4 callersFunctionnewRawObjectWriterTest
()
pkg/util/json/raw_object_writer_test.go:15
↓ 4 callersFunctionnewResourceValuesAggregator
(ddMetricPrefix, ddMetricSuffix, ksmMetricName string, allowedLabels, allowedResources []string)
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:118
↓ 4 callersFunctionnewResourcesProvider
(deps dependencies)
comp/metadata/resources/resourcesimpl/resources.go:61
↓ 4 callersFunctionnewScanTask
(t string, resourceARN, hostname string, actions []string, roles rolesMapping, mode diskMode)
cmd/agentless-scanner/main.go:1060
↓ 4 callersFunctionnewStructuredMessage
(content []byte, source *sources.LogSource, status string)
pkg/logs/internal/processor/processor_test.go:306
↓ 4 callersFunctionnewSubmitterDepsWithConfig
(t *testing.T, config ddconfig.Config)
pkg/process/runner/submitter_test.go:336
↓ 4 callersFunctionnewTagStore
()
pkg/tagger/remote/tagstore.go:28
↓ 4 callersFunctionnewTargetStore
(db *transactionalStore, cacheKey string)
pkg/config/remote/uptane/target_store.go:20
↓ 4 callersFunctionnewTestOnDiskRetryQueue
(t *testing.T, a *assert.Assertions, path string, maxSizeInBytes int64)
comp/forwarder/defaultforwarder/internal/retry/on_disk_retry_queue_test.go:129
↓ 4 callersFunctionnewTimeIntervalAccumulator
`historyDuration` and `bucketDuration` are rounded to second.
comp/forwarder/defaultforwarder/internal/retry/time_interval_accumulator.go:29
↓ 4 callersFunctionnewTimestampContextResolver
(cache *tags.Store, contextsLimiter *limiter.Limiter, tagsLimiter *tags_limiter.Limiter)
pkg/aggregator/context_resolver.go:184
↓ 4 callersFunctionnewTracer
newTracer is an internal function used by tests primarily (and NewTracer above)
pkg/network/tracer/tracer.go:117
↓ 4 callersMethodnextField
()
pkg/network/proc_net.go:98
↓ 4 callersFunctionninja_ebpf_co_re_program
(nw, infile, outfile, variables=None)
tasks/system_probe.py:128
← previousnext →4,301–4,400 of 32,574, ranked by callers