MCPcopy Create free account

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

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

↓ 3 callersFunctionWithReturnZeroPermStats
WithReturnZeroPermStats configures whether StatsWithPermByPID() returns StatsWithPerm that has zero values on all fields
pkg/process/procutil/process_linux.go:79
↓ 3 callersFunctionWithStartAfterBookmark
WithStartAfterBookmark sets the bookmark for the subscription. The subscription will start reading the event log from the record identified by the boo
pkg/util/winutil/eventlog/subscription/subscription.go:171
↓ 3 callersFunctionWithStatsClient
WithStatsClient replaces the global metrics.StatsClient with c. It also returns a function for restoring the original client.
pkg/trace/testutil/stats.go:86
↓ 3 callersFunctionWithWindowsEventLogAPI
WithWindowsEventLogAPI sets the API implementation used by the subscription
pkg/util/winutil/eventlog/subscription/subscription.go:159
↓ 3 callersMethodWorkloadmetaStreamEntities
Subscribes to added, removed, or changed entities in the Workloadmeta and streams them to clients as events. Can be called through the HTTP gateway, a
pkg/proto/pbgo/core/api.pb.go:352
↓ 3 callersMethodWrite
(p []byte)
pkg/secrets/fetch_secret.go:37
↓ 3 callersMethodWrite
Write writes the stores content in a given writer. Useful for agent's CLI and Flare.
pkg/workloadmeta/dump.go:29
↓ 3 callersMethodWriteHTTP2AggregationsAndTags
(c network.ConnectionStats, builder *model.ConnectionBuilder)
pkg/network/encoding/http2.go:38
↓ 3 callersFunctionWriteHeader
WriteHeader writes the datadog header to the Writer argument to conform to the .dog file format.
comp/dogstatsd/replay/file.go:72
↓ 3 callersMethodWriteTempFile
(t *testing.T, data string)
pkg/compliance/tests/helpers.go:124
↓ 3 callersFunctionXe
(e)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 3 callersFunction_compute_build_size
(ctx, build_exclude=None, flavor=AgentFlavor.base)
tasks/build_tags.py:342
↓ 3 callersFunction_save_release_json
(release_json)
tasks/release.py:320
↓ 3 callersFunctionadd
(name string, tags []string, timestamp time.Time, demux aggregator.Demultiplexer)
cmd/serverless-init/metric/metric.go:26
↓ 3 callersFunctionaddConditionMetrics
addConditionMetrics generates one metric for each possible condition status. For this function to work properly, the last label in the metric descript
pkg/collector/corechecks/cluster/ksm/customresources/utils.go:189
↓ 3 callersMethodaddConfigForService
addConfigForService adds a config for a specified service
pkg/autodiscovery/store.go:94
↓ 3 callersMethodaddEvent
(event *v1.Event)
pkg/collector/corechecks/cluster/kubernetesapiserver/kubernetes_eventbundle.go:42
↓ 3 callersFunctionaddExpvarPythonInitErrors
(msg string)
pkg/collector/python/init.go:235
↓ 3 callersMethodaddFileToMetric
(file string, metric *[]FileStat)
pkg/security/tests/files_generator.go:178
↓ 3 callersMethodaddFilesToTailList
(validatePodContainerID bool, inputFiles, filesToTail []*tailer.File, w *wildcardFileCounter)
pkg/logs/launchers/file/provider/file_provider.go:130
↓ 3 callersFunctionaddProtocol
(stack []model.ProtocolType, proto protocols.ProtocolType)
pkg/network/encoding/protocols.go:51
↓ 3 callersFunctionaddResourceTags
(t *utils.TagList, m map[string]string)
pkg/tagger/collectors/ecs_common.go:15
↓ 3 callersMethodaddSample
(sample *MetricSample, timestamp float64)
pkg/metrics/counter.go:25
↓ 3 callersMethodaddSample
(sample *MetricSample, timestamp float64)
pkg/metrics/historate.go:29
↓ 3 callersMethodaddSpans
(pkg *SampledChunks)
pkg/trace/writer/trace.go:198
↓ 3 callersFunctionaddText
(str)
cmd/agent/gui/views/private/js/codemirror.js:9018
↓ 3 callersFunctionaddToScrollTop
(cm, top)
cmd/agent/gui/views/private/js/codemirror.js:3418
↓ 3 callersFunctionagentHandler
Adds the specific handlers for /agent/ endpoints
cmd/agent/gui/agent.go:33
↓ 3 callersMethodaggregateCounts
(p *pb.ClientStatsPayload, enablePeerTagsAgg bool)
pkg/trace/stats/client_stats_aggregator.go:212
↓ 3 callersMethodall_jobs
Gets all the jobs for a pipeline.
tasks/libs/common/gitlab.py:149
↓ 3 callersFunctionappendFmt
(builder *strings.Builder, format contextFormat, s string, buf []byte)
pkg/config/logs/log.go:521
↓ 3 callersMethodappendSample
Batching data -------------
comp/dogstatsd/server/batch.go:145
↓ 3 callersFunctionapplyModTimeOrdering
(files []*tailer.File)
pkg/logs/launchers/file/provider/file_provider.go:300
↓ 3 callersFunctionarch_to_windres_target
( arch='x64', )
tasks/windows_resources.py:10
↓ 3 callersFunctionassertAggCountsPayload
(t *testing.T, aggCounts *proto.StatsPayload)
pkg/trace/stats/client_stats_aggregator_test.go:101
↓ 3 callersFunctionassertAllRequestsExists
(t *testing.T, monitor *Monitor, requests []*nethttp.Request)
pkg/network/usm/monitor_test.go:771
↓ 3 callersFunctionassertCIDR
(t *testing.T, addr string)
pkg/gohai/network/network_test.go:153
↓ 3 callersFunctionassertConfigChangeDetected
(r *require.Assertions, checker *ChangeChecker, key string, value interface{})
pkg/config/config_change_checker_test.go:27
↓ 3 callersFunctionassertConstantsEqual
(t *testing.T, champion, challenger constantfetch.ConstantFetcher, kv *kernel.Version, ignoreMissing []string)
pkg/security/tests/constants_test.go:146
↓ 3 callersFunctionassertContext
(t *testing.T, cx *Context, name string, tags []string, host string)
pkg/aggregator/context_resolver_test.go:35
↓ 3 callersFunctionassertEqualToMarshalJSON
(t *testing.T, m marshaler.StreamJSONMarshaler, jsonMarshaler marshaler.JSONMarshaler)
pkg/serializer/internal/metrics/service_checks_test.go:94
↓ 3 callersFunctionassertErrorCount
(t *testing.T, c check.Check, count int)
pkg/collector/worker/worker_test.go:111
↓ 3 callersFunctionassertFileNotContains
assertFileNotContains verifies that `filename` does not contain any string in `expectedContents`
test/new-e2e/tests/agent-subcommands/flare/flare_helpers.go:147
↓ 3 callersFunctionassertFipsProxyExpectedConfig
(t *testing.T, expectedBaseHTTPURL, expectedBaseURL string, rng bool, c Config)
pkg/config/config_test.go:805
↓ 3 callersFunctionassertPayload
(assert *assert.Assertions, testSets []*pb.StatsPayload, payloads []*payload)
pkg/trace/writer/stats_test.go:33
↓ 3 callersFunctionassertSNMP
(t *testing.T, input integration.Config, expectedOutput []SNMPConfig)
pkg/snmp/snmpparse/config_snmp_test.go:88
↓ 3 callersMethodassertServices
(expectedServices map[string]wlmListenerSvc)
pkg/autodiscovery/listeners/workloadmeta_test.go:55
↓ 3 callersMethodassert_compliance
This method verifies that all named files have the expected copyright header. If files is not given, this method applies the GLOB_PA
tasks/libs/copyright.py:249
↓ 3 callersFunctionattachEditor
(addTo, data)
cmd/agent/gui/views/private/js/javascript.js:43
↓ 3 callersFunctionattemptObfuscation
attemptObfuscation attempts to obfuscate the SQL query loaded into the tokenizer, using the given set of filters.
pkg/obfuscate/sql.go:349
↓ 3 callersFunctionb
(e,t,n)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 3 callersFunctionbasicDockerContainer
()
pkg/autodiscovery/providers/container_test.go:431
↓ 3 callersFunctionbenchLatencyDNS
bench induced latency for DNS req
pkg/security/tests/latency_test.go:89
↓ 3 callersFunctionbenchmarkOpenSameFile
(b *testing.B, disableFilters bool, rules ...*rules.RuleDefinition)
pkg/security/tests/open_test.go:435
↓ 3 callersFunctionbenchmarkProcessEventsJSON
(b *testing.B, argCount int)
pkg/process/events/model/serialization_test.go:34
↓ 3 callersFunctionbenchmarkProcessEventsMsgPack
(b *testing.B, argCount int)
pkg/process/events/model/serialization_test.go:46
↓ 3 callersFunctionbind
(f)
cmd/agent/gui/views/private/js/codemirror.js:146
↓ 3 callersFunctionbindVectorOptions
(config Config, datatype DataType)
pkg/config/config.go:1999
↓ 3 callersFunctionbitmaskU64ToString
(bitmask uint64, intToStrMap map[uint64]string)
pkg/security/secl/model/consts_common.go:1001
↓ 3 callersMethodbookmarkPersistentCacheKey
()
pkg/collector/corechecks/windows_event_log/check.go:173
↓ 3 callersFunctionbootTime
bootTime returns the system boot time expressed in seconds since the epoch. the value is extracted from "/proc/stat"
pkg/process/procutil/process_linux.go:886
↓ 3 callersFunctionboxIsAfter
(box, x, y, left)
cmd/agent/gui/views/private/js/codemirror.js:2784
↓ 3 callersFunctionbuildBasicTelemetry
()
pkg/network/state_test.go:201
↓ 3 callersFunctionbuildCommandParam
(cmdArg []string)
cmd/serverless-init/initcontainer/initcontainer.go:81
↓ 3 callersFunctionbuildDeniedMetricsSet
buildDeniedMetricsSet adds *_created metrics to the default denied metric rules. It allows us to get kube_node_created and kube_pod_created and deny t
pkg/collector/corechecks/cluster/ksm/kubernetes_state.go:908
↓ 3 callersFunctionbuildEndpoints
buildEndpoints builds endpoints for the logs agent
comp/logs/agent/agent_core_init.go:71
↓ 3 callersFunctionbuildExternalMetricValue
(meta metav1.ObjectMeta, metricName string, metricSelector *metav1.LabelSelector)
pkg/util/kubernetes/autoscalers/autoscalers.go:119
↓ 3 callersMethodbuildID
buildID returns a unique identifier for the ownerInfo object
pkg/clusteragent/admission/mutate/tags.go:55
↓ 3 callersFunctionbuildInstances
buildInstances generates check config instances based on the Prometheus config and the object annotations The second returned value is true if more th
pkg/autodiscovery/common/utils/prometheus.go:26
↓ 3 callersFunctionbuildLogRegistrationRequest
(url string, headerExtID string, headerContentType string, id ID, payload []byte)
pkg/serverless/registration/telemetry_api.go:99
↓ 3 callersFunctionbuildLoggerConfig
(loggerName LoggerName, seelogLogLevel, logFile, syslogURI string, syslogRFC, logToConsole, jsonFormat bool, c
pkg/config/logs/log.go:173
↓ 3 callersFunctionbuildMap
(cfg PipelineConfig)
comp/otelcol/otlp/map_provider.go:71
↓ 3 callersFunctionbuildMetricBlocklist
(userProvidedList []string)
pkg/serverless/metrics/metric.go:135
↓ 3 callersMethodbuildPayloads
buildPayloads splits pb.ClientStatsPayload that have more than maxEntriesPerPayload and then groups them into pb.StatsPayload with less than maxEntrie
pkg/trace/writer/stats.go:180
↓ 3 callersFunctionbuildRegisterRequest
(url string, payload *bytes.Buffer)
pkg/serverless/registration/extension_api.go:98
↓ 3 callersFunctionbuildSecret
(data map[string][]byte)
pkg/clusteragent/admission/controllers/secret/controller_test.go:194
↓ 3 callersFunctionbuildSyslogURI
(agentConfig Config)
pkg/config/legacy/converter.go:311
↓ 3 callersFunctionbuildTCPEndpoints
(coreConfig pkgConfig.Reader, logsConfig *LogsConfigKeys)
comp/logs/agent/config/config.go:140
↓ 3 callersFunctionbuildWorkloadMetaContainer
buildWorkloadMetaContainer generates a workloadmeta.Container from a containerd.Container
pkg/workloadmeta/collectors/internal/containerd/container_builder.go:27
↓ 3 callersFunctionbuild_object_files
( ctx, windows=is_windows, major_version='7', arch=CURRENT_ARCH, kernel_release=None,
tasks/system_probe.py:1251
↓ 3 callersFunctionbyteArrayToGroupAffinity
(data []byte)
pkg/gohai/cpu/cpu_windows_amd64.go:102
↓ 3 callersFunctioncalculatePct
(deltaProc, deltaTime, numCPU float64)
pkg/process/checks/process_windows.go:50
↓ 3 callersFunctioncalculateScrollPos
(cm, rect)
cmd/agent/gui/views/private/js/codemirror.js:3388
↓ 3 callersFunctioncallContainerProvider
callContainerProvider returns the hostname for a specific Provider
pkg/util/hostname/container.go:33
↓ 3 callersMethodcancelCheck
cancelCheck calls Cancel on the passed check, with a timeout
pkg/collector/collector.go:195
↓ 3 callersFunctioncastLicenses
(in *cyclonedx.Licenses)
pkg/collector/corechecks/sbom/convert.go:539
↓ 3 callersFunctioncastLicenses
(in *cyclonedx.Licenses)
cmd/agentless-scanner/trivy_sbom_convert.go:537
↓ 3 callersFunctionchannelRootKey
()
pkg/util/winutil/eventlog/test/windows.go:161
↓ 3 callersFunctioncharCoords
(cm, pos, context, lineObj, bias)
cmd/agent/gui/views/private/js/codemirror.js:2671
↓ 3 callersFunctioncheck
(t *testing.T, in metrics.SketchPoint, pb gogen.SketchPayload_Sketch_Dogsketch)
pkg/serializer/internal/metrics/sketch_series_test.go:27
↓ 3 callersFunctioncheckConflictingOptions
(config Config)
pkg/config/config.go:1535
↓ 3 callersFunctioncheckDropdown
()
cmd/agent/gui/views/private/js/javascript.js:411
↓ 3 callersFunctioncheckIntervalExpired
(lastRun *time.Time, collectionInterval int64)
pkg/collector/corechecks/oracle-dbm/oracle.go:111
↓ 3 callersMethodcheckReset
checkReset checks whether a client reset should be performed, and performs it if so
pkg/trace/config/client.go:52
↓ 3 callersMethodcheckReset
checkReset checks whether a client reset should be performed, and performs it if so
pkg/util/http/client.go:52
↓ 3 callersFunctioncheckSnooping
(t *testing.T, destIP string, destName string, reverseDNS *dnsMonitor)
pkg/network/dns/snooper_test.go:27
↓ 3 callersFunctioncheckStatusCode
(resp *http.Response)
pkg/config/remote/api/http.go:223
↓ 3 callersFunctioncheck_clean_branch_state
Check we are in a clean situation to create a new branch: No uncommitted change, and branch doesn't exist locally or upstream
tasks/utils.py:519
↓ 3 callersFunctioncheck_version
Check Agent version to see if it is valid.
tasks/release.py:730
↓ 3 callersMethodchecksSortedByWorkersNeeded
Note: if there are several checks with the same number of workers needed, they are returned in alphabetical order. When distributing the checks, havin
pkg/clusteragent/clusterchecks/checks_distribution.go:144
← previousnext →5,201–5,300 of 32,574, ranked by callers