Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataDog/datadog-agent
/ functions
Functions
32,574 in github.com/DataDog/datadog-agent
⨍
Functions
32,574
◇
Types & classes
5,280
↳
Endpoints
25
↓ 3 callers
Method
updateFromReader
(reader io.Reader, unmarshalMethod unmarshaller)
pkg/snmp/traps/oid_resolver/oid_resolver.go:177
↓ 3 callers
Function
updateGutterSpace
(cm)
cmd/agent/gui/views/private/js/codemirror.js:4299
↓ 3 callers
Method
updateLeaderIdentity
updateLeaderIdentity sets leaderIdentity
pkg/util/kubernetes/apiserver/leaderelection/leaderelection_engine.go:206
↓ 3 callers
Method
updateLimit
()
pkg/aggregator/internal/limiter/limiter.go:131
↓ 3 callers
Function
updateLineClasses
(cm, lineView)
cmd/agent/gui/views/private/js/codemirror.js:2204
↓ 3 callers
Method
updateRegistry
updateRegistry updates the registry entry matching identifier with new the offset and timestamp
pkg/logs/auditor/auditor.go:230
↓ 3 callers
Method
updateRetryState
(err error, isRetrying chan bool)
pkg/logs/client/http/destination.go:322
↓ 3 callers
Method
updateRetryState
(err error, isRetrying chan bool)
pkg/logs/client/tcp/destination.go:129
↓ 3 callers
Method
updateStack
(testName string)
test/new-e2e/pkg/utils/e2e/e2e_test.go:94
↓ 3 callers
Method
updateTargetTPS
updateTargetTPS updates the targetTPS and all rates
pkg/trace/sampler/coresampler.go:80
↓ 3 callers
Function
updateUnameInfo
(platformInfo *Info, uname *unix.Utsname)
pkg/gohai/platform/platform_linux.go:74
↓ 3 callers
Method
validateBPFSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:157
↓ 3 callers
Method
validateChmodSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:121
↓ 3 callers
Function
validateCollectionTime
(t *testing.T, agg Aggregator[*mockPayloadItem])
test/fakeintake/aggregator/common_test.go:69
↓ 3 callers
Function
validateEnrichMetricTag
(metricTag *profiledefinition.MetricTagConfig)
pkg/collector/corechecks/snmp/internal/configvalidation/config_validate_enrich.go:176
↓ 3 callers
Function
validateInt
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 callers
Function
validateJob
validateJob detects active jobs and adds the `kube_cronjob` tag
pkg/collector/corechecks/cluster/ksm/kubernetes_state_transformers.go:405
↓ 3 callers
Function
validateLocation
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 callers
Method
validateMountSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:223
↓ 3 callers
Function
validateProcessContext
nolint:deadcode,unused
pkg/security/tests/module_tester.go:665
↓ 3 callers
Function
validateReadSize
(size, read int)
pkg/security/secl/model/unmarshallers_linux.go:19
↓ 3 callers
Function
validateValue
(val *int, valueRange *configValueRange)
pkg/collector/corechecks/containerimage/check.go:65
↓ 3 callers
Method
value
()
pkg/process/util/api/weighted_queue.go:220
↓ 3 callers
Function
visibleLines
(display, doc, viewport)
cmd/agent/gui/views/private/js/codemirror.js:3259
↓ 3 callers
Function
visualLineNo
(doc, lineN)
cmd/agent/gui/views/private/js/codemirror.js:799
↓ 3 callers
Function
vmset_name_from_id
(set_id)
tasks/kernel_matrix_testing/vmconfig.py:229
↓ 3 callers
Function
waitForDiscoveredDevices
Wait for discovery to be completed
pkg/collector/corechecks/snmp/snmp_test.go:2536
↓ 3 callers
Function
waitForDiscoveredDevices
(discovery *Discovery, expectedDeviceCount int, timeout time.Duration)
pkg/collector/corechecks/snmp/internal/discovery/discovery_test.go:23
↓ 3 callers
Function
waitForProbeEvent
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 callers
Function
waitUntilListening
(container, retries=20)
test/integration/docker/dsd_listening.py:49
↓ 3 callers
Function
waitWithTimeout
waitWithTimeout waits for a WaitGroup with a specified max timeout. Returns true if waiting timed out.
pkg/serverless/daemon/utils.go:17
↓ 3 callers
Function
walkSlice
(data []interface{}, callback scrubCallback)
pkg/util/scrubber/yaml_scrubber.go:17
↓ 3 callers
Function
warnOnce
(warnMap map[string]bool, key string, format string, params ...interface{})
pkg/util/http/warnings.go:73
↓ 3 callers
Function
we
(i)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 3 callers
Function
widgetTopHeight
(lineObj)
cmd/agent/gui/views/private/js/codemirror.js:2621
↓ 3 callers
Method
withEventType
(string)
pkg/collector/corechecks/containerlifecycle/event.go:22
↓ 3 callers
Function
withFSType
(fstype string)
pkg/security/tests/testmount.go:31
↓ 3 callers
Function
withFlags
(flags uintptr)
pkg/security/tests/testmount.go:37
↓ 3 callers
Function
withModule
(name config.ModuleName, fn func())
cmd/system-probe/api/module/loader.go:56
↓ 3 callers
Method
withObjectID
(string)
pkg/collector/corechecks/containerlifecycle/event.go:21
↓ 3 callers
Method
withObjectKind
(string)
pkg/collector/corechecks/containerlifecycle/event.go:20
↓ 3 callers
Function
wrapAPIServiceFunc
(f func(*v1.APIService) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/apiservice.go:138
↓ 3 callers
Function
wrapCustomResourceDefinition
(f func(*v1.CustomResourceDefinition) *metric.Family)
pkg/collector/corechecks/cluster/ksm/customresources/crd.go:145
↓ 3 callers
Method
wrapError
(err error)
pkg/util/retry/retrier.go:154
↓ 3 callers
Function
wrapOtlpError
(handle http.Handler)
pkg/serverless/daemon/daemon.go:139
↓ 3 callers
Function
wrappedLineExtentChar
(cm, lineObj, preparedMeasure, target)
cmd/agent/gui/views/private/js/codemirror.js:2776
↓ 3 callers
Function
writeConnections
(w http.ResponseWriter, marshaler encoding.Marshaler, cs *network.Connections)
cmd/system-probe/modules/network_tracer.go:296
↓ 2 callers
Function
$e
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 2 callers
Method
APIVersion
()
pkg/network/protocols/kafka/model_linux.go:27
↓ 2 callers
Method
Acc
Acc accumulates the stats from another ReceiverStats struct.
pkg/trace/info/stats.go:48
↓ 2 callers
Function
AccumulateTagsFor
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 callers
Function
ActualLRPFromBBSModel
ActualLRPFromBBSModel creates a new ActualLRP from BBS's ActualLRP model
pkg/util/cloudproviders/cloudfoundry/types.go:195
↓ 2 callers
Method
Add
Add a new value to the count
pkg/logs/internal/status/info.go:49
↓ 2 callers
Method
Add
Add a tailer container to the tracker.
pkg/logs/tailers/tailer_tracker.go:22
↓ 2 callers
Method
Add
Add adds value to cache for specified key It will overwrite any existing value
pkg/util/cache/basic_cache.go:29
↓ 2 callers
Method
AddActivityDumpHandler
AddActivityDumpHandler set the probe activity dump handler
pkg/security/probe/probe_linux.go:372
↓ 2 callers
Function
AddBoolConst
(options *manager.Options, flag bool, name string)
pkg/network/usm/utils/ebpfoptions.go:17
↓ 2 callers
Function
AddColdStartMetric
AddColdStartMetric adds the coldstart metric to the demultiplexer
cmd/serverless-init/metric/metric.go:17
↓ 2 callers
Function
AddContainerCollectAllConfigs
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 callers
Method
AddCustomSensitiveRegex
AddCustomSensitiveRegex adds custom sensitive regex on the DataScrubber object
pkg/orchestrator/redact/data_scrubber.go:180
↓ 2 callers
Method
AddEnglishCounterInstance
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 callers
Function
AddErrorsCount
AddErrorsCount is used to increment the 'Errors' expvar
pkg/collector/runner/expvars/expvars.go:255
↓ 2 callers
Method
AddFullAccessEventHandler
AddFullAccessEventHandler sets a probe event handler for the UnknownEventType which requires access to all the struct fields
pkg/security/probe/probe.go:95
↓ 2 callers
Function
AddIPTranslationToConnection
(conn *ConnectionStats, ReplSrcIP string, ReplDstIP string, ReplSrcPort uint16, ReplDstPort uint16)
pkg/network/state_intrahost_test.go:49
↓ 2 callers
Function
AddNS
AddNS adds a randomly named network namespace
pkg/network/netlink/testutil/conntrack.go:256
↓ 2 callers
Function
AddOverrides
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 callers
Method
AddRule
AddRule adds a rule to the policy
pkg/security/secl/rules/policy.go:40
↓ 2 callers
Function
AddRunsCount
AddRunsCount is used to increment and decrement the 'Runs' expvar
pkg/collector/runner/expvars/expvars.go:227
↓ 2 callers
Function
AddShutdownMetric
AddShutdownMetric adds the shutdown metric to the demultiplexer
cmd/serverless-init/metric/metric.go:22
↓ 2 callers
Method
AddToQuery
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 callers
Method
AddToStore
AddToStore will add ports to store
comp/netflow/portrollup/portrollup.go:86
↓ 2 callers
Function
AddWarningsCount
AddWarningsCount is used to increment the 'Warnings' expvar
pkg/collector/runner/expvars/expvars.go:241
↓ 2 callers
Function
AddrIsZero
AddrIsZero reports whether addr is its zero value
pkg/network/netlink/iputils.go:13
↓ 2 callers
Function
AddrPortWithPort
AddrPortWithPort returns an AddrPort with Addr addrPort.Addr() and port port
pkg/network/netlink/iputils.go:28
↓ 2 callers
Function
AddrToHostPort
AddrToHostPort converts a net.Addr to a (string, int).
pkg/logs/client/tcp/test_utils.go:16
↓ 2 callers
Method
Aggregate
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 callers
Method
AllAgentRuntimeSettingsWithoutDefault
()
pkg/config/model/types.go:52
↓ 2 callers
Method
AllCliSettingsWithoutDefault
()
pkg/config/model/types.go:54
↓ 2 callers
Method
AllEnvVarSettingsWithoutDefault
()
pkg/config/model/types.go:51
↓ 2 callers
Function
AllPidsProcs
AllPidsProcs will return all pids under procRoot
pkg/util/kernel/proc.go:16
↓ 2 callers
Method
AllRemoteSettingsWithoutDefault
()
pkg/config/model/types.go:53
↓ 2 callers
Method
AnnotationsDiffer
AnnotationsDiffer returns whether the Prometheus AD include annotations have changed
pkg/autodiscovery/common/types/prometheus.go:342
↓ 2 callers
Function
AnythingBut
AnythingBut match everything except the argument It builds a mock.argumentMatcher
pkg/aggregator/mocksender/asserts.go:84
↓ 2 callers
Method
Append
Append the given tags to the tag set
pkg/tagset/types.go:12
↓ 2 callers
Method
AppendCIDR
AppendCIDR append a CIDR notation
pkg/security/secl/compiler/eval/cidr.go:46
↓ 2 callers
Method
AppendHashed
Append the tags contained in the given HashedTags instance to the tag set.
pkg/tagset/types.go:14
↓ 2 callers
Method
AppendInt
(v int)
pkg/util/log/zap/zapencoder.go:108
↓ 2 callers
Method
ApplyFilterPolicy
ApplyFilterPolicy is called when a passing policy for an event type is applied
pkg/security/probe/probe_linux.go:992
↓ 2 callers
Function
Arch
Arch returns the kernel architecture value, often used within the kernel `include/arch` directory.
pkg/util/kernel/arch.go:11
↓ 2 callers
Method
AreSeriesEnabled
AreSeriesEnabled returns whether series are enabled for serialization
pkg/serializer/serializer.go:312
↓ 2 callers
Method
AreSketchesEnabled
AreSketchesEnabled returns whether sketches are enabled for serialization
pkg/serializer/serializer.go:350
↓ 2 callers
Method
AssertError
()
pkg/compliance/tests/helpers.go:224
↓ 2 callers
Method
AssertEvent
(t *testing.T, expectedEvent event.Event, allowedDelta time.Duration)
comp/aggregator/diagnosesendermanager/component_mock.go:27
↓ 2 callers
Method
AssertEventMissing
AssertEventMissing assert the expectedEvent was never emitted with the following values: AggregationKey, Priority, SourceTypeName, EventType, Host and
pkg/aggregator/mocksender/asserts.go:78
↓ 2 callers
Method
AssertMonotonicCount
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 callers
Method
AssertNoFileExists
AssertNoFileExists asserts that a file does not exists within the flare
comp/core/flare/helpers/builder_mock.go:75
↓ 2 callers
Function
AssertProcessEvents
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 callers
Function
AssertSucessfulRun
(t *testing.T, pcfg PipelineConfig)
comp/otelcol/otlp/collector_test.go:31
↓ 2 callers
Method
Assign
Assign slice to ConnectionBuffer
pkg/network/buffer.go:35
↓ 2 callers
Function
AttachEndpoint
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
← previous
next →
6,001–6,100 of 32,574, ranked by callers