MCPcopy Create free account

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

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

↓ 13 callersMethodnewCheck
(instanceConfig []byte)
pkg/collector/corechecks/windows_event_log/check_test.go:114
↓ 13 callersFunctionnewChecksDistribution
(workersPerRunner map[string]int)
pkg/clusteragent/clusterchecks/checks_distribution.go:43
↓ 13 callersFunctionnewDomainForwarderForTest
(config config.Component, log log.Component, connectionResetInterval time.Duration)
comp/forwarder/defaultforwarder/domain_forwarder_test.go:335
↓ 13 callersFunctionnewTestArtifactInfo
()
pkg/util/trivy/cache_test.go:341
↓ 13 callersFunctionnewTestBench
(t *testing.T)
pkg/compliance/tests/helpers.go:56
↓ 13 callersFunctionrandomSampledSpans
randomSampledSpans returns a set of spans sampled spans and events events.
pkg/trace/writer/trace_test.go:134
↓ 13 callersMethodreadData
()
pkg/util/cloudproviders/cloudfoundry/cccache.go:662
↓ 13 callersMethodregister
register a component with the default 30 seconds timeout, returns a token
pkg/status/health/health.go:48
↓ 13 callersFunctionremoveChildrenAndAdd
(parent, e)
cmd/agent/gui/views/private/js/codemirror.js:67
↓ 13 callersFunctionsetupTest
(t *testing.T)
pkg/util/http/warnings_mock.go:12
↓ 13 callersMethodshouldSkipConnection
shouldSkipConnection returns whether or not the tracer should ignore a given connection: - Local DNS (*:53) requests if configured (default: true)
pkg/network/tracer/tracer_shared.go:16
↓ 13 callersFunctiontagScan
(scan *scanTask, rest ...string)
cmd/agentless-scanner/main.go:1678
↓ 13 callersMethodupdate
update updates the uptane client
pkg/config/remote/uptane/client.go:113
↓ 13 callersMethodupdateExternalMetrics
()
pkg/util/kubernetes/apiserver/controller_util.go:177
↓ 13 callersFunctionvalidateActivityDumpOutputs
(t *testing.T, test *testModule, expectedFormats []string, outputFiles []string, activityDumpValidator func(a
pkg/security/tests/activity_dumps_common.go:34
↓ 13 callersMethodvalidateChownSchema
nolint:deadcode,unused
pkg/security/tests/schemas.go:127
↓ 13 callersFunctionwaitForOpenProbeEvent
nolint:deadcode,unused
pkg/security/tests/module_tester.go:1808
↓ 13 callersFunctionwaitForTrace
waitForTrace waits on the out channel until it times out or receives an pb.AgentPayload. If the latter happens it will call fn.
cmd/trace-agent/test/testsuite/hostname_test.go:100
↓ 13 callersFunctionwithLabels
(pod *corev1.Pod, labels map[string]string)
pkg/clusteragent/admission/mutate/test_utils.go:74
↓ 12 callersMethodAccept
Accept accepts a group of payloads into the current chunk
pkg/process/util/chunking.go:85
↓ 12 callersMethodAddCheck
AddCheck adds a check to the list of running checks if the check isn't already added. Method returns a boolean if the addition was successful.
pkg/collector/runner/tracker/tracker.go:48
↓ 12 callersMethodAddStandard
AddStandard adds a new standard tag to the list, or replace if already exists. It adds the standard tag to the low cardinality tag list as well. It wi
pkg/tagger/utils/taglist.go:72
↓ 12 callersMethodAddr
()
pkg/process/metadata/workloadmeta/grpc.go:108
↓ 12 callersMethodAllSettings
()
pkg/config/model/types.go:48
↓ 12 callersFunctionBuildJSONPayload
Build serializes a metadata payload and sends it to the forwarder
pkg/serializer/internal/stream/test_helper.go:16
↓ 12 callersMethodClose
Close closes the connection
pkg/security/agent/client.go:178
↓ 12 callersFunctionEntityForEndpoints
EntityForEndpoints builds entity strings for Endpoints
pkg/util/kubernetes/apiserver/endpoints.go:41
↓ 12 callersFunctionErrorc
Errorc logs at the error level with context and returns an error containing the formated log message
pkg/util/log/log.go:719
↓ 12 callersMethodEventPlatformEvent
(rawEvent []byte, eventType string)
pkg/aggregator/sender/sender.go:32
↓ 12 callersMethodEvtClearLog
(ChannelPath string)
pkg/util/winutil/eventlog/api/types.go:203
↓ 12 callersMethodExtract
Extract detects the process language, creates a process entity, and sends that entity to WorkloadMeta
pkg/process/metadata/workloadmeta/extractor.go:89
↓ 12 callersFunctionFetchAuthToken
FetchAuthToken gets the authentication token from the auth token file & creates one if it doesn't exist Requires that the config has been set up befor
pkg/api/security/security.go:119
↓ 12 callersFunctionFlush
Flush flushes the underlying inner log
pkg/util/log/log.go:820
↓ 12 callersFunctionFolder
Folder returns the folder under which the executable is located, after having resolved all symlinks to the executable. Unlike os.Executable and osext.
pkg/util/executable/executable.go:39
↓ 12 callersMethodGetArtifact
(artifactID string)
pkg/util/trivy/cache.go:568
↓ 12 callersFunctionGetClusterAgentEndpoint
GetClusterAgentEndpoint provides a validated https endpoint from configuration keys in datadog.yaml: 1st. configuration key "cluster_agent.url" (or th
pkg/util/clusteragent/clusteragent.go:216
↓ 12 callersFunctionGetDefaultCoreBundleParams
GetDefaultCoreBundleParams returns the default params for the Core Bundle (config loaded from the "datadog" file, without secrets and logger disabled)
cmd/agent/command/command.go:47
↓ 12 callersFunctionGetDistPath
GetDistPath returns the fully qualified path to the 'dist' directory
cmd/agent/common/path/path_windows.go:78
↓ 12 callersFunctionGetDockerUtil
GetDockerUtil returns a ready to use DockerUtil. It is backed by a shared singleton.
pkg/util/docker/global.go:48
↓ 12 callersFunctionGetFullSampleContainerEntry
GetFullSampleContainerEntry returns a sample MockContainerEntry with
pkg/util/containers/metrics/mock/mock_samples.go:16
↓ 12 callersMethodGetHits
(method string)
pkg/util/cloudproviders/cloudfoundry/cccache_test.go:55
↓ 12 callersMethodGetLocalPodList
(ctx context.Context)
pkg/util/kubernetes/kubelet/kubelet_interface.go:21
↓ 12 callersMethodGetMeta
GetMeta implements go-tuf's LocalStore.GetTarget See https://pkg.go.dev/github.com/DataDog/go-tuf/client#LocalStore
pkg/config/remote/uptane/local_store.go:83
↓ 12 callersMethodGetMetadata
()
pkg/security/proto/api/api.pb.go:1837
↓ 12 callersMethodGetPointCount
()
comp/forwarder/defaultforwarder/transaction/transaction.go:220
↓ 12 callersMethodGetProfileManagers
GetProfileManagers returns the security profile managers
pkg/security/probe/probe_linux.go:1730
↓ 12 callersFunctionGetProgramDataDir
GetProgramDataDir returns the current programdatadir, usually c:\programdata\Datadog
pkg/util/winutil/shutil.go:28
↓ 12 callersFunctionGetUnmarshaler
GetUnmarshaler returns the appropriate Unmarshaler based on the given content type
pkg/network/encoding/encoding.go:90
↓ 12 callersFunctionIPFormat
IPFormat takes a binary ip representation and returns a string type
pkg/util/winutil/etw/etw-utils.go:316
↓ 12 callersFunctionInitStatus
InitStatus initialize a status builder
pkg/logs/status/test_utils.go:19
↓ 12 callersFunctionInjectSecrets
InjectSecrets inject a value for an handle into the secrets cache. This allows to use secrets in tests.
pkg/secrets/secrets_mock.go:15
↓ 12 callersMethodIntegration
Integration run integration command and returns the output
test/new-e2e/pkg/utils/e2e/client/agent.go:36
↓ 12 callersFunctionIsEqualFlowContext
IsEqualFlowContext check if the flow and another flow have equal values for all fields used in `AggregationHash`. This method is used for hash collisi
comp/netflow/common/flow.go:147
↓ 12 callersMethodIsOpen
IsOpen returns true when the circuit breaker trips and remain unchanched until Reset() is called.
pkg/network/netlink/circuit_breaker.go:83
↓ 12 callersMethodIsStatic
()
pkg/security/secl/compiler/eval/evaluators.go:20
↓ 12 callersMethodIsSuse15Kernel
IsSuse15Kernel returns whether the kernel is a sles 15 kernel
pkg/security/ebpf/kernel/kernel.go:249
↓ 12 callersMethodKeys
Keys returns the cached keys. Required for the cache cleaning logic.
pkg/util/trivy/cache.go:101
↓ 12 callersMethodMap
Map returns a MapResult
comp/dogstatsd/mapper/mapper.go:117
↓ 12 callersFunctionNewBytesPayloadWithoutMetaData
NewBytesPayloadWithoutMetaData creates a new instance of BytesPayload without metadata.
comp/forwarder/defaultforwarder/transaction/bytes_payload.go:24
↓ 12 callersFunctionNewCollector
NewCollector returns either collector, or a noop implementation if instrumentation telemetry is disabled
pkg/trace/telemetry/collector.go:96
↓ 12 callersFunctionNewConnectionBuffer
NewConnectionBuffer creates a ConnectionBuffer with initial size `size`.
pkg/network/buffer.go:16
↓ 12 callersMethodNewCounter
NewCounter creates a Counter with default options for telemetry purpose.
comp/core/telemetry/component.go:37
↓ 12 callersFunctionNewDestinationsContext
NewDestinationsContext returns an initialized DestinationsContext
pkg/logs/client/destinations_context.go:22
↓ 12 callersFunctionNewFlowAggregator
NewFlowAggregator returns a new FlowAggregator
comp/netflow/flowaggregator/aggregator.go:80
↓ 12 callersFunctionNewHistogram
NewHistogram creates a Histogram with default options for telemetry purpose. Current implementation used: Prometheus Histogram
pkg/telemetry/histogram.go:33
↓ 12 callersFunctionNewNodeIDFromPtr
NewNodeIDFromPtr returns a new NodeID based on a pointer value
pkg/security/utils/graph.go:108
↓ 12 callersFunctionNewTestConcentrator
(now time.Time)
pkg/trace/stats/concentrator_test.go:30
↓ 12 callersFunctionNewTestTicker
(tokens, maxTokens int64)
pkg/serverless/appsec/limiter_test.go:278
↓ 12 callersFunctionPacket
(pdus ...gosnmp.SnmpPDU)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:51
↓ 12 callersMethodPing
Ping is a mock method
pkg/util/docker/fake/system_api_client.go:45
↓ 12 callersMethodReadFile
(path string)
test/new-e2e/tests/agent-platform/common/test_client.go:35
↓ 12 callersFunctionRun
Run executes a cobra command and handles the results. It is intended for use in `main` functions, supplying the necessary error-handling and exiting
cmd/internal/runcmd/runcmd.go:23
↓ 12 callersFunctionScrubBytes
ScrubBytes scrubs credentials from the given slice of bytes, using the default scrubber.
pkg/util/scrubber/default.go:266
↓ 12 callersMethodSetCheckService
(service string)
pkg/aggregator/sender/sender.go:36
↓ 12 callersMethodSetEnabled
SetEnabled start collecting log messages for diagnostics. Returns true if state was successfully changed
pkg/logs/diagnostic/message_receiver.go:73
↓ 12 callersFunctionSetFlavor
SetFlavor sets the Agent flavor
pkg/util/flavor/flavor.go:35
↓ 12 callersMethodSetPathnameStr
SetPathnameStr set and mark as resolved
pkg/security/secl/model/model_unix.go:435
↓ 12 callersMethodStart
Start initialize and runs the forwarder.
comp/forwarder/defaultforwarder/default_forwarder.go:348
↓ 12 callersMethodStop
Stop all the component of a forwarder and free resources
comp/forwarder/defaultforwarder/default_forwarder.go:376
↓ 12 callersMethodStop
()
comp/dogstatsd/listeners/types.go:11
↓ 12 callersMethodStop
Stop is called before the provided eBPF manager is stopped. Cleanup steps, such as stopping events consumers, should be performed here. Note that sin
pkg/network/protocols/protocols.go:49
↓ 12 callersMethodSysProbeObject
SysProbeObject returns the wrapper sysconfig
comp/core/sysprobeconfig/component.go:33
↓ 12 callersFunctionT
(e,t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 12 callersMethodTags
Tags returns tags for the context.
pkg/aggregator/context_resolver.go:32
↓ 12 callersFunctionTestBundle
TestBundle is an helper to test Bundle. This function checks that all components built with fx.Provide inside a bundle can be instanciated. To do so,
pkg/util/fxutil/test.go:166
↓ 12 callersMethodTick
Tick updates to the utilization during intervals where no check were started or stopped. Produces one value on the Output channel.
pkg/collector/worker/utilization_tracker.go:126
↓ 12 callersMethodTrace
(v ...interface{})
pkg/trace/log/logger.go:35
↓ 12 callersMethodTrailer
Trailer mocks base method.
pkg/proto/pbgo/mocks/core/api_mockgen.pb.go:372
↓ 12 callersFunctionUIntPtrToFloatPtr
UIntPtrToFloatPtr converts a uint64 value to float64 and returns a pointer.
pkg/util/pointer/pointer.go:15
↓ 12 callersMethodURL
()
test/fakeintake/server/server.go:136
↓ 12 callersMethodUnmarshalJSON
UnmarshalJSON unmarshals the given bytes in a LogMessage object.
pkg/serverless/logs/parse.go:93
↓ 12 callersMethodUpdate
(evtapi.EventRecordHandle)
pkg/util/winutil/eventlog/bookmark/bookmark.go:22
↓ 12 callersMethodUpdate
Update updates the uptane client and rollbacks in case of error
pkg/config/remote/uptane/client.go:92
↓ 12 callersFunctionValidHostname
ValidHostname determines whether the passed string is a valid hostname. In case it's not, the returned error contains the details of the failure.
pkg/util/hostname/validate/validate.go:31
↓ 12 callersMethodWarn
Warn logs the given arguments, separated by spaces, at the warn level, and returns an error containing the messages.
comp/core/log/component.go:44
↓ 12 callersFunctionWithStartAtOldestRecord
WithStartAtOldestRecord will start the subscription from the oldest record in the event log. https://learn.microsoft.com/en-us/windows/win32/api/winev
pkg/util/winutil/eventlog/subscription/subscription.go:179
↓ 12 callersFunctiona
(t)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 12 callersFunctiona
(e)
cmd/agent/gui/views/private/js/purify.min.js:2
↓ 12 callersFunctionadd
(left, top, width, bottom)
cmd/agent/gui/views/private/js/codemirror.js:3081
↓ 12 callersMethodaddEvents
(event containerdEvent)
pkg/collector/corechecks/containers/containerd/events.go:410
← previousnext →1,201–1,300 of 32,574, ranked by callers