MCPcopy Create free account

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

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

↓ 3 callersMethodParse
Parse - Transforms the SECL `Expression` into its AST representation
pkg/security/secl/compiler/eval/rule.go:166
↓ 3 callersFunctionParseCmdLineArgs
ParseCmdLineArgs parses command line arguments to a slice
pkg/process/procutil/process_windows.go:574
↓ 3 callersFunctionParseConnections
ParseConnections return the Connections from payload
test/fakeintake/aggregator/connectionsAggregator.go:56
↓ 3 callersFunctionParseContainerPayload
ParseContainerPayload parses an api.Payload into a list of ContainerPayload
test/fakeintake/aggregator/containerAggregator.go:38
↓ 3 callersFunctionParseMetricFromRaw
ParseMetricFromRaw parses a metric from raw prometheus text
pkg/util/kubernetes/kubelet/kubelet_common.go:67
↓ 3 callersFunctionParseMetricSeries
ParseMetricSeries return the parsed metrics from payload
test/fakeintake/aggregator/metricAggregator.go:38
↓ 3 callersFunctionParseProcessDiscoveryPayload
ParseProcessDiscoveryPayload parses an api.Payload into a list of ProcessDiscoveryPayload
test/fakeintake/aggregator/processDiscoveryAggregator.go:38
↓ 3 callersFunctionParseProcessPayload
ParseProcessPayload parses an api.Payload into a list of ProcessPayload
test/fakeintake/aggregator/processAggregator.go:38
↓ 3 callersFunctionParseStorageFormats
ParseStorageFormats returns a list of storage formats from a list of strings
pkg/security/config/dump.go:126
↓ 3 callersFunctionParseV1MetricSeries
ParseV1MetricSeries return the parsed metrics from payload
test/fakeintake/aggregator/metricAggregatorV1.go:79
↓ 3 callersFunctionPathPatternMatch
PathPatternMatch pattern builder for files
pkg/security/utils/path.go:19
↓ 3 callersFunctionPidExists
PidExists returns true if the pid is still alive
pkg/process/procutil/process_posix.go:13
↓ 3 callersFunctionPodUIDToEntityName
PodUIDToEntityName returns a prefixed entity name from a pod UID
pkg/util/kubernetes/kubelet/kubelet_common.go:43
↓ 3 callersFunctionPosWithInfo
(line, ch, sticky, outside, xRel)
cmd/agent/gui/views/private/js/codemirror.js:2738
↓ 3 callersMethodPostMsgpack
PostMsgpack encodes data using msgpack and posts it to the given path. The agent must be started using RunAgent. Example: r.PostMsgpack("/v0.5/stats"
cmd/trace-agent/test/runner.go:112
↓ 3 callersMethodPreStart
PreStart is called before the start of the provided eBPF manager. Additional initialisation steps, such as starting an event consumer, should be perfo
pkg/network/protocols/protocols.go:38
↓ 3 callersMethodPrepareFilePath
(path string)
comp/core/flare/helpers/builder.go:303
↓ 3 callersMethodPrint
Print prints the report in a human readable format
pkg/security/tests/module_stresser.go:142
↓ 3 callersMethodProcess
Process is called after core process (regardless of encountered error)
pkg/collector/corechecks/containers/docker/check_network.go:78
↓ 3 callersFunctionProcessMessageNetFlowAdditionalFields
ProcessMessageNetFlowAdditionalFields collects additional fields from netflow packet using the given config
comp/netflow/goflowlib/additionalfields/netflow.go:87
↓ 3 callersFunctionProductListToString
ProductListToString converts a product list to string list
pkg/config/remote/data/product.go:33
↓ 3 callersFunctionProtoDecodeActivityTree
ProtoDecodeActivityTree decodes an ActivityTree structure
pkg/security/security_profile/activity_tree/activity_tree_proto_dec_v1.go:20
↓ 3 callersMethodRSS
RSS returns the RSS used by the group.
pkg/gohai/processes/gops/process_group.go:38
↓ 3 callersFunctionRandomSpanID
RandomSpanID generates a random span ID
pkg/trace/testutil/span.go:263
↓ 3 callersMethodRate
Rate wraps Sender.Rate
pkg/collector/corechecks/snmp/internal/report/report_metrics.go:245
↓ 3 callersMethodReadInConfig
()
pkg/config/model/types.go:115
↓ 3 callersFunctionReadLines
ReadLines reads a file line by line
pkg/util/filesystem/file.go:20
↓ 3 callersFunctionReadSecretFile
ReadSecretFile reads the given secret file
cmd/secrethelper/providers/file.go:26
↓ 3 callersMethodReadState
ReadState reads the tagger state from the end of the capture file. The internal offset of the reader is not modified by this operation.
comp/dogstatsd/replay/reader.go:211
↓ 3 callersMethodReceiveAndDiscard
ReceiveAndDiscard reads netlink messages off the socket & discards them. If the NLMSG_DONE flag is found in one of the messages, returns true.
pkg/network/netlink/socket.go:157
↓ 3 callersMethodRecordBytes
RecordBytes reports bytes to the source expvars Since `container_collect_all` reports all docker logs as a single source (even though the source is ov
pkg/logs/sources/source.go:150
↓ 3 callersMethodReducePath
ReducePath reduces a path according to the predefined heuristics
pkg/security/security_profile/activity_tree/paths_reducer.go:65
↓ 3 callersMethodRefresh
Refresh trigger a new payload to be send while still respecting the minimal interval between two updates.
comp/metadata/inventoryagent/component.go:26
↓ 3 callersFunctionRegisterCheck
RegisterCheck adds a check to the catalog
pkg/collector/corechecks/loader.go:26
↓ 3 callersFunctionRegisterCollector
RegisterCollector registers given collector
pkg/sbom/collectors/collectors.go:27
↓ 3 callersMethodRegisterDirPerm
RegisterDirPerm add the current permissions for all the files in a directory to the flare's permissions.log.
comp/core/flare/types/types.go:127
↓ 3 callersMethodRegisterEBPFTelemetry
RegisterEBPFTelemetry initializes the maps for holding telemetry info
pkg/network/telemetry/ebpf_telemetry.go:65
↓ 3 callersMethodRelease
Release a record
pkg/security/probe/eventstream/reorderer/perf.go:28
↓ 3 callersMethodReloadAllCheckInstances
ReloadAllCheckInstances completely restarts a check with a new configuration
pkg/collector/collector.go:273
↓ 3 callersMethodRemoveClient
RemoveClient stops tracking stateful data for a given client
pkg/network/state.go:100
↓ 3 callersFunctionRemoveGlobalWarning
RemoveGlobalWarning loses track of a warning message that does not need to be displayed on the status anymore.
pkg/logs/status/status.go:142
↓ 3 callersMethodRemoveMessage
RemoveMessage removes a message
comp/logs/agent/config/messages.go:47
↓ 3 callersMethodRemoveSource
(channel string, name string)
pkg/util/winutil/eventlog/test/test.go:35
↓ 3 callersMethodRemoveStack
()
test/new-e2e/system-probe/system-probe-test-env.go:253
↓ 3 callersFunctionRequireMarshallJSON
RequireMarshallJSON checks that - calling the AsJSON function succeeds - the object returned generates a json without error - the JSON can be unmarsha
pkg/gohai/utils/test_helpers.go:42
↓ 3 callersMethodReset
Reset resets the state of the store so that newEntities are the only entities stored. This function sends events to the subscribers in the following c
pkg/workloadmeta/types.go:133
↓ 3 callersMethodResetTo
ResetTo makes the current AttributeScanner ready for another netlink message
pkg/network/netlink/attribute_scanner.go:126
↓ 3 callersFunctionResolve
Resolve takes a template and a service and generates a config with valid connection info and relevant tags.
pkg/autodiscovery/configresolver/configresolver.go:71
↓ 3 callersMethodResolveFilePath
ResolveFilePath resolves the inode to a full path
pkg/security/probe/field_handlers_linux.go:40
↓ 3 callersMethodResolveFilesystem
ResolveFilesystem returns the name of the filesystem
pkg/security/resolvers/mount/resolver.go:213
↓ 3 callersMethodResolveFromCache
ResolveFromCache resolves path from the cache
pkg/security/resolvers/dentry/resolver.go:290
↓ 3 callersMethodResolveFromERPC
ResolveFromERPC resolves the path of the provided inode / mount id / path id
pkg/security/resolvers/dentry/resolver.go:516
↓ 3 callersMethodResolveFromMap
ResolveFromMap resolves the path of the provided inode / mount id / path id
pkg/security/resolvers/dentry/resolver.go:353
↓ 3 callersMethodResolveImageName
(ctx context.Context, image string)
pkg/util/docker/client.go:25
↓ 3 callersMethodResolveInputs
(ctx context.Context, rule *Rule)
pkg/compliance/resolver.go:103
↓ 3 callersMethodResolveMount
ResolveMount returns the mount
pkg/security/resolvers/mount/resolver.go:470
↓ 3 callersMethodResolveMountRoot
(ev *model.Event, e *model.Mount)
pkg/security/resolvers/path/resolver.go:26
↓ 3 callersMethodResolveNameFromERPC
ResolveNameFromERPC resolves the name of the provided inode / mount id / path id
pkg/security/resolvers/dentry/resolver.go:469
↓ 3 callersMethodResolveNameFromMap
ResolveNameFromMap resolves the name of the provided inode
pkg/security/resolvers/dentry/resolver.go:248
↓ 3 callersMethodResolvePackage
ResolvePackage returns the Package that owns the provided file. Make sure the internal fields of "file" are properly resolved.
pkg/security/resolvers/sbom/resolver.go:344
↓ 3 callersMethodResolveProcessArgv
ResolveProcessArgv resolves the unscrubbed args of the process as an array. Use with caution.
pkg/security/probe/field_handlers_linux.go:189
↓ 3 callersFunctionResultToScalarValues
ResultToScalarValues converts result to scalar values
pkg/collector/corechecks/snmp/internal/valuestore/gosnmp_value.go:37
↓ 3 callersFunctionResultValueStoreAsString
ResultValueStoreAsString used to format ResultValueStore for debug/trace logging
pkg/collector/corechecks/snmp/internal/valuestore/values.go:110
↓ 3 callersFunctionRetry
Retry retries a callback up to `retries`-times in a `retryDuration` period of time, and bails out if the limit is reached.
pkg/collector/check/retry.go:26
↓ 3 callersMethodRoundTrip
RoundTrip makes an HTTP round trip measuring request count and timing.
pkg/trace/api/transports.go:37
↓ 3 callersMethodRoute
(source, dest util.Address, netns uint32)
pkg/network/route_cache.go:98
↓ 3 callersMethodRun
Run is the Scheduler main loop. This doesn't block but waits for the queues to be ready before returning.
pkg/collector/scheduler/scheduler.go:156
↓ 3 callersMethodRun
Run executes the check
pkg/collector/corechecks/net/network.go:120
↓ 3 callersMethodRun
Run is the main goroutine for the handler. It has to be called in a goroutine with a cancellable context.
pkg/clusteragent/clusterchecks/handler.go:94
↓ 3 callersMethodRun
Run starts the controller to process Secret events after sync'ing the informer's cache.
pkg/clusteragent/admission/controllers/secret/controller.go:75
↓ 3 callersMethodRunControllerLoop
RunControllerLoop is the public method to trigger the lifecycle loop of the External Metrics store
pkg/util/kubernetes/apiserver/controller_util.go:86
↓ 3 callersFunctionRunOffsetGuessing
(cfg *config.Config, buf bytecode.AssetReader, newGuesser func() (OffsetGuesser, error))
pkg/network/tracer/offsetguess/offsetguess.go:165
↓ 3 callersMethodRunSelfTest
()
pkg/security/agent/client.go:41
↓ 3 callersFunctionRunStdOut
Enumerate registered Diagnose suites and get their diagnoses for human consumption
pkg/diagnose/runner.go:351
↓ 3 callersMethodRunTest
(t *testing.T, name string, fnc func(t *testing.T, kind wrapperType, cmd func(bin string, args []string, envs
pkg/security/tests/cmdwrapper.go:131
↓ 3 callersMethodRunning
Return true is the subscription is active (started), false otherwise (stopped)
pkg/util/winutil/eventlog/subscription/subscription.go:42
↓ 3 callersFunctionSampleByRate
SampleByRate returns whether to keep a trace, based on its ID and a sampling rate. This assumes that trace IDs are nearly uniformly distributed.
pkg/trace/sampler/sampler.go:73
↓ 3 callersMethodSaveNetworkNamespaceHandle
SaveNetworkNamespaceHandle inserts the provided process network namespace in the list of tracked network. Returns true if a new entry was added.
pkg/security/resolvers/netns/resolver.go:237
↓ 3 callersMethodSaveSecurityProfile
(ctx context.Context, in *SecurityProfileSaveParams, opts ...grpc.CallOption)
pkg/security/proto/api/api_grpc.pb.go:61
↓ 3 callersMethodScheduleConfig
ScheduleConfig adds a config to `Schedule`
pkg/autodiscovery/integration/config.go:492
↓ 3 callersFunctionScrubYamlString
ScrubYamlString scrubs credentials from the given YAML string by loading the data and scrubbing the object instead of the serialized string, using the
pkg/util/scrubber/default.go:278
↓ 3 callersMethodSearch
Search returns the index of element x if found or -1 otherwise. SSBytes is expected to be sorted.
pkg/process/util/ss_bytes.go:32
↓ 3 callersFunctionSearchProcsForEnvVariable
SearchProcsForEnvVariable returns values of the given env variable name it returns a slice since a value could be found in more than one process
pkg/serverless/proc/proc.go:60
↓ 3 callersMethodSecret
Secret runs the secret command
test/new-e2e/pkg/utils/e2e/client/agent.go:42
↓ 3 callersFunctionSendErrorsEnhancedMetric
SendErrorsEnhancedMetric sends an enhanced metric representing an error at a given time
pkg/serverless/metrics/enhanced_metrics.go:221
↓ 3 callersFunctionSendInvocationEnhancedMetric
SendInvocationEnhancedMetric sends an enhanced metric representing an invocation at the current time
pkg/serverless/metrics/enhanced_metrics.go:231
↓ 3 callersMethodSendIterableSeries
SendIterableSeries serializes a list of series and sends the payload to the forwarder
pkg/serializer/serializer.go:317
↓ 3 callersMethodSendRemoteConfigMutateEvent
(event ApmRemoteConfigEvent)
pkg/clusteragent/telemetry/collector.go:73
↓ 3 callersMethodSendRemoteConfigPatchEvent
(event ApmRemoteConfigEvent)
pkg/clusteragent/telemetry/collector.go:72
↓ 3 callersMethodSendSamplesWithoutAggregation
SendSamplesWithoutAggregation pushes metrics in the no-aggregation pipeline: a pipeline where the metrics are not sampled and sent as-is. This is the
pkg/aggregator/demultiplexer.go:50
↓ 3 callersMethodSendSketch
(sketches metrics.SketchesSource)
pkg/serializer/serializer.go:96
↓ 3 callersFunctionSendTimeoutEnhancedMetric
SendTimeoutEnhancedMetric sends an enhanced metric representing a timeout at the current time
pkg/serverless/metrics/enhanced_metrics.go:226
↓ 3 callersFunctionSendTo
SendTo sends a flare file to the backend. This is part of the "helpers" package while all the code is moved to components. When possible use the "Send
comp/core/flare/helpers/send_flare.go:225
↓ 3 callersMethodServeHTTP
ServeHTTP is used to handle HTTP requests.
pkg/util/ecs/metadata/testutil/dummy_ecs.go:73
↓ 3 callersMethodSet
Set `DatadogMetricInternal` for id
pkg/clusteragent/externalmetrics/store.go:111
↓ 3 callersMethodSet
Set updates strings for a given namespace and pod name.
pkg/clusteragent/api/v1/types.go:83
↓ 3 callersMethodSet
Set changes the value of the runtime setting
pkg/config/settings/runtime_setting_log_level.go:52
↓ 3 callersMethodSetAutodetectProfile
SetAutodetectProfile sets the profile to the provided auto-detected metrics and tags. This overwrites any preexisting profile but does not affect Requ
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:228
↓ 3 callersMethodSetBookmark
Set the subscription to "StartAfterBookmark"
pkg/util/winutil/eventlog/subscription/subscription.go:57
↓ 3 callersFunctionSetCacheStats
SetCacheStats alias for pkgorchestratormodel.SetCacheStats
pkg/orchestrator/aliases.go:84
← previousnext →5,001–5,100 of 32,574, ranked by callers