MCPcopy Create free account

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

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

↓ 3 callersMethodupdateFromReader
(reader io.Reader, unmarshalMethod unmarshaller)
pkg/snmp/traps/oid_resolver/oid_resolver.go:177
↓ 3 callersFunctionupdateGutterSpace
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4299
↓ 3 callersMethodupdateLeaderIdentity
updateLeaderIdentity sets leaderIdentity
pkg/util/kubernetes/apiserver/leaderelection/leaderelection_engine.go:206
↓ 3 callersMethodupdateLimit
()
pkg/aggregator/internal/limiter/limiter.go:131
↓ 3 callersFunctionupdateLineClasses
(cm, lineView)
cmd/agent/gui/views/private/js/codemirror.js:2204
↓ 3 callersMethodupdateRegistry
updateRegistry updates the registry entry matching identifier with new the offset and timestamp
pkg/logs/auditor/auditor.go:230
↓ 3 callersMethodupdateRetryState
(err error, isRetrying chan bool)
pkg/logs/client/http/destination.go:322
↓ 3 callersMethodupdateRetryState
(err error, isRetrying chan bool)
pkg/logs/client/tcp/destination.go:129
↓ 3 callersMethodupdateStack
(testName string)
test/new-e2e/pkg/utils/e2e/e2e_test.go:94
↓ 3 callersMethodupdateTargetTPS
updateTargetTPS updates the targetTPS and all rates
pkg/trace/sampler/coresampler.go:80
↓ 3 callersFunctionupdateUnameInfo
(platformInfo *Info, uname *unix.Utsname)
pkg/gohai/platform/platform_linux.go:74
↓ 3 callersMethodvalidateBPFSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:157
↓ 3 callersMethodvalidateChmodSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:121
↓ 3 callersFunctionvalidateCollectionTime
(t *testing.T, agg Aggregator[*mockPayloadItem])
test/fakeintake/aggregator/common_test.go:69
↓ 3 callersFunctionvalidateEnrichMetricTag
(metricTag *profiledefinition.MetricTagConfig)
pkg/collector/corechecks/snmp/internal/configvalidation/config_validate_enrich.go:176
↓ 3 callersFunctionvalidateInt
validateInt validates the int configuration value at `key` using a custom provided function `valFn`. If `key` is not set or `valFn` returns an error,
cmd/system-probe/config/adjust.go:68
↓ 3 callersFunctionvalidateJob
validateJob detects active jobs and adds the `kube_cronjob` tag
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:405
↓ 3 callersFunctionvalidateLocation
validateLocation validates the location passed as an argument is writable. The location and/or and error if any are returned.
comp/dogstatsd/replay/writer.go:121
↓ 3 callersMethodvalidateMountSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:223
↓ 3 callersFunctionvalidateProcessContext
nolint:deadcode,unused
pkg/security/tests/module_tester.go:665
↓ 3 callersFunctionvalidateReadSize
(size, read int)
pkg/security/secl/model/unmarshallers_linux.go:19
↓ 3 callersFunctionvalidateValue
(val *int, valueRange *configValueRange)
pkg/collector/corechecks/containerimage/check.go:65
↓ 3 callersMethodvalue
()
pkg/process/util/api/weighted_queue.go:220
↓ 3 callersFunctionvisibleLines
(display, doc, viewport)
cmd/agent/gui/views/private/js/codemirror.js:3259
↓ 3 callersFunctionvisualLineNo
(doc, lineN)
cmd/agent/gui/views/private/js/codemirror.js:799
↓ 3 callersFunctionvmset_name_from_id
(set_id)
tasks/kernel_matrix_testing/vmconfig.py:229
↓ 3 callersFunctionwaitForDiscoveredDevices
Wait for discovery to be completed
pkg/collector/corechecks/snmp/snmp_test.go:2536
↓ 3 callersFunctionwaitForDiscoveredDevices
(discovery *Discovery, expectedDeviceCount int, timeout time.Duration)
pkg/collector/corechecks/snmp/internal/discovery/discovery_test.go:23
↓ 3 callersFunctionwaitForProbeEvent
waitForProbeEvent returns the first open event with the provided filename. WARNING: this function may yield a "fatal error: concurrent map writes" err
pkg/security/tests/module_tester.go:1798
↓ 3 callersFunctionwaitUntilListening
(container, retries=20)
test/integration/docker/dsd_listening.py:49
↓ 3 callersFunctionwaitWithTimeout
waitWithTimeout waits for a WaitGroup with a specified max timeout. Returns true if waiting timed out.
pkg/serverless/daemon/utils.go:17
↓ 3 callersFunctionwalkSlice
(data []interface{}, callback scrubCallback)
pkg/util/scrubber/yaml_scrubber.go:17
↓ 3 callersFunctionwarnOnce
(warnMap map[string]bool, key string, format string, params ...interface{})
pkg/util/http/warnings.go:73
↓ 3 callersFunctionwe
(i)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 3 callersFunctionwidgetTopHeight
(lineObj)
cmd/agent/gui/views/private/js/codemirror.js:2621
↓ 3 callersMethodwithEventType
(string)
pkg/collector/corechecks/containerlifecycle/event.go:22
↓ 3 callersFunctionwithFSType
(fstype string)
pkg/security/tests/testmount.go:31
↓ 3 callersFunctionwithFlags
(flags uintptr)
pkg/security/tests/testmount.go:37
↓ 3 callersFunctionwithModule
(name config.ModuleName, fn func())
cmd/system-probe/api/module/loader.go:56
↓ 3 callersMethodwithObjectID
(string)
pkg/collector/corechecks/containerlifecycle/event.go:21
↓ 3 callersMethodwithObjectKind
(string)
pkg/collector/corechecks/containerlifecycle/event.go:20
↓ 3 callersFunctionwrapAPIServiceFunc
(f func(*v1.APIService) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/apiservice.go:138
↓ 3 callersFunctionwrapCustomResourceDefinition
(f func(*v1.CustomResourceDefinition) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/crd.go:145
↓ 3 callersMethodwrapError
(err error)
pkg/util/retry/retrier.go:154
↓ 3 callersFunctionwrapOtlpError
(handle http.Handler)
pkg/serverless/daemon/daemon.go:139
↓ 3 callersFunctionwrappedLineExtentChar
(cm, lineObj, preparedMeasure, target)
cmd/agent/gui/views/private/js/codemirror.js:2776
↓ 3 callersFunctionwriteConnections
(w http.ResponseWriter, marshaler encoding.Marshaler, cs *network.Connections)
cmd/system-probe/modules/network_tracer.go:296
↓ 2 callersFunction$e
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callersMethodAPIVersion
()
pkg/network/protocols/kafka/model_linux.go:27
↓ 2 callersMethodAcc
Acc accumulates the stats from another ReceiverStats struct.
pkg/trace/info/stats.go:48
↓ 2 callersFunctionAccumulateTagsFor
AccumulateTagsFor queries the defaultTagger to get entity tags from cache or sources and appends them to the TagsAccumulator. It can return tags at h
pkg/tagger/global.go:128
↓ 2 callersFunctionActualLRPFromBBSModel
ActualLRPFromBBSModel creates a new ActualLRP from BBS's ActualLRP model
pkg/util/cloudproviders/cloudfoundry/types.go:195
↓ 2 callersMethodAdd
Add a new value to the count
pkg/logs/internal/status/info.go:49
↓ 2 callersMethodAdd
Add a tailer container to the tracker.
pkg/logs/tailers/tailer_tracker.go:22
↓ 2 callersMethodAdd
Add adds value to cache for specified key It will overwrite any existing value
pkg/util/cache/basic_cache.go:29
↓ 2 callersMethodAddActivityDumpHandler
AddActivityDumpHandler set the probe activity dump handler
pkg/security/probe/probe_linux.go:372
↓ 2 callersFunctionAddBoolConst
(options *manager.Options, flag bool, name string)
pkg/network/usm/utils/ebpfoptions.go:17
↓ 2 callersFunctionAddColdStartMetric
AddColdStartMetric adds the coldstart metric to the demultiplexer
cmd/serverless-init/metric/metric.go:17
↓ 2 callersFunctionAddContainerCollectAllConfigs
AddContainerCollectAllConfigs adds a config template containing an empty LogsConfig when `logs_config.container_collect_all` is set. This config will
pkg/autodiscovery/common/utils/container_collect_all.go:17
↓ 2 callersMethodAddCustomSensitiveRegex
AddCustomSensitiveRegex adds custom sensitive regex on the DataScrubber object
pkg/orchestrator/redact/data_scrubber.go:180
↓ 2 callersMethodAddEnglishCounterInstance
AddEnglishCounterInstance returns a PdhSingleInstanceCounter that will fetch the value of a given instance of the given counter. the objectName and co
pkg/util/winutil/pdhutil/pdhcounter.go:205
↓ 2 callersFunctionAddErrorsCount
AddErrorsCount is used to increment the 'Errors' expvar
pkg/collector/runner/expvars/expvars.go:255
↓ 2 callersMethodAddFullAccessEventHandler
AddFullAccessEventHandler sets a probe event handler for the UnknownEventType which requires access to all the struct fields
pkg/security/probe/probe.go:95
↓ 2 callersFunctionAddIPTranslationToConnection
(conn *ConnectionStats, ReplSrcIP string, ReplDstIP string, ReplSrcPort uint16, ReplDstPort uint16)
pkg/network/state_intrahost_test.go:49
↓ 2 callersFunctionAddNS
AddNS adds a randomly named network namespace
pkg/network/netlink/testutil/conntrack.go:256
↓ 2 callersFunctionAddOverrides
AddOverrides provides an externally accessible method for overriding config variables. This method must be called before Load() to be effective.
pkg/config/model/config_overrides.go:33
↓ 2 callersMethodAddRule
AddRule adds a rule to the policy
pkg/security/secl/rules/policy.go:40
↓ 2 callersFunctionAddRunsCount
AddRunsCount is used to increment and decrement the 'Runs' expvar
pkg/collector/runner/expvars/expvars.go:227
↓ 2 callersFunctionAddShutdownMetric
AddShutdownMetric adds the shutdown metric to the demultiplexer
cmd/serverless-init/metric/metric.go:22
↓ 2 callersMethodAddToQuery
Called during (*PdhQuery).CollectQueryData via AddToQuery() for counters that return true from ShouldInit() Must call the appropriate PdhAddCounter/Pd
pkg/util/winutil/pdhutil/pdhcounter.go:58
↓ 2 callersMethodAddToStore
AddToStore will add ports to store
comp/netflow/portrollup/portrollup.go:86
↓ 2 callersFunctionAddWarningsCount
AddWarningsCount is used to increment the 'Warnings' expvar
pkg/collector/runner/expvars/expvars.go:241
↓ 2 callersFunctionAddrIsZero
AddrIsZero reports whether addr is its zero value
pkg/network/netlink/iputils.go:13
↓ 2 callersFunctionAddrPortWithPort
AddrPortWithPort returns an AddrPort with Addr addrPort.Addr() and port port
pkg/network/netlink/iputils.go:28
↓ 2 callersFunctionAddrToHostPort
AddrToHostPort converts a net.Addr to a (string, int).
pkg/logs/client/tcp/test_utils.go:16
↓ 2 callersMethodAggregate
Aggregate aggregates a connection. The connection is only aggregated if: - it is not in the collection - it is in the collection and: - the ip transla
pkg/network/state.go:1061
↓ 2 callersMethodAllAgentRuntimeSettingsWithoutDefault
()
pkg/config/model/types.go:52
↓ 2 callersMethodAllCliSettingsWithoutDefault
()
pkg/config/model/types.go:54
↓ 2 callersMethodAllEnvVarSettingsWithoutDefault
()
pkg/config/model/types.go:51
↓ 2 callersFunctionAllPidsProcs
AllPidsProcs will return all pids under procRoot
pkg/util/kernel/proc.go:16
↓ 2 callersMethodAllRemoteSettingsWithoutDefault
()
pkg/config/model/types.go:53
↓ 2 callersMethodAnnotationsDiffer
AnnotationsDiffer returns whether the Prometheus AD include annotations have changed
pkg/autodiscovery/common/types/prometheus.go:342
↓ 2 callersFunctionAnythingBut
AnythingBut match everything except the argument It builds a mock.argumentMatcher
pkg/aggregator/mocksender/asserts.go:84
↓ 2 callersMethodAppend
Append the given tags to the tag set
pkg/tagset/types.go:12
↓ 2 callersMethodAppendCIDR
AppendCIDR append a CIDR notation
pkg/security/secl/compiler/eval/cidr.go:46
↓ 2 callersMethodAppendHashed
Append the tags contained in the given HashedTags instance to the tag set.
pkg/tagset/types.go:14
↓ 2 callersMethodAppendInt
(v int)
pkg/util/log/zap/zapencoder.go:108
↓ 2 callersMethodApplyFilterPolicy
ApplyFilterPolicy is called when a passing policy for an event type is applied
pkg/security/probe/probe_linux.go:992
↓ 2 callersFunctionArch
Arch returns the kernel architecture value, often used within the kernel `include/arch` directory.
pkg/util/kernel/arch.go:11
↓ 2 callersMethodAreSeriesEnabled
AreSeriesEnabled returns whether series are enabled for serialization
pkg/serializer/serializer.go:312
↓ 2 callersMethodAreSketchesEnabled
AreSketchesEnabled returns whether sketches are enabled for serialization
pkg/serializer/serializer.go:350
↓ 2 callersMethodAssertError
()
pkg/compliance/tests/helpers.go:224
↓ 2 callersMethodAssertEvent
(t *testing.T, expectedEvent event.Event, allowedDelta time.Duration)
comp/aggregator/diagnosesendermanager/component_mock.go:27
↓ 2 callersMethodAssertEventMissing
AssertEventMissing assert the expectedEvent was never emitted with the following values: AggregationKey, Priority, SourceTypeName, EventType, Host and
pkg/aggregator/mocksender/asserts.go:78
↓ 2 callersMethodAssertMonotonicCount
AssertMonotonicCount allows to assert a monotonic count was emitted with given parameters. Additional tags over the ones specified don't make it fail
pkg/aggregator/mocksender/asserts.go:38
↓ 2 callersMethodAssertNoFileExists
AssertNoFileExists asserts that a file does not exists within the flare
comp/core/flare/helpers/builder_mock.go:75
↓ 2 callersFunctionAssertProcessEvents
AssertProcessEvents compares two ProcessEvents. Two events can't be compared using directly assert.Equal due to the embedded time fields
pkg/process/events/model_test.go:18
↓ 2 callersFunctionAssertSucessfulRun
(t *testing.T, pcfg PipelineConfig)
comp/otelcol/otlp/collector_test.go:31
↓ 2 callersMethodAssign
Assign slice to ConnectionBuffer
pkg/network/buffer.go:35
↓ 2 callersFunctionAttachEndpoint
AttachEndpoint attaches an additional endpoint to the trace-agent. It is not thread-safe and should be called before (pkg/trace.*Agent).Run or (*HTTPR
pkg/trace/api/endpoints.go:34
← previousnext →6,001–6,100 of 32,574, ranked by callers