MCPcopy Create free account

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

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

↓ 4 callersFunctionNewEventStreamMapStats
NewEventStreamMapStats returns a new MapStats correctly initialized
pkg/security/probe/eventstream/monitor.go:42
↓ 4 callersFunctionNewEventType
NewEventType returns the EventType associated with a string
pkg/process/events/model/model_common.go:40
↓ 4 callersFunctionNewFileConfigProvider
NewFileConfigProvider creates a new FileConfigProvider.
pkg/autodiscovery/providers/file.go:22
↓ 4 callersFunctionNewFileNode
NewFileNode returns a new FileActivityNode instance
pkg/security/security_profile/activity_tree/file_node.go:44
↓ 4 callersFunctionNewFileRegistry
(programName string)
pkg/network/usm/utils/file_registry.go:82
↓ 4 callersMethodNewGauge
NewGauge creates a Gauge with default options for telemetry purpose.
comp/core/telemetry/component.go:47
↓ 4 callersFunctionNewGosnmpSession
NewGosnmpSession creates a new session
pkg/collector/corechecks/snmp/internal/session/session.go:75
↓ 4 callersFunctionNewGzipContentEncoding
NewGzipContentEncoding creates a new Gzip content type
pkg/logs/sender/content_encoding.go:38
↓ 4 callersFunctionNewHistorate
NewHistorate returns a newly-initialized historate
pkg/metrics/historate.go:23
↓ 4 callersFunctionNewIntVariable
NewIntVariable returns a new integer variable
pkg/security/secl/compiler/eval/variables.go:67
↓ 4 callersFunctionNewIterableSketches
NewIterableSketches creates a new instance of *IterableSketches `callback` is called in the context of the sender's goroutine each time `Append` is c
pkg/metrics/iterable_skeches.go:16
↓ 4 callersFunctionNewKlogRedirectLogger
NewKlogRedirectLogger creates a new KlogRedirectLogger with provided stack depth
pkg/util/log/klog_redirect.go:23
↓ 4 callersFunctionNewLogReporter
NewLogReporter instantiates a new log LogReporter
pkg/compliance/reporter.go:40
↓ 4 callersFunctionNewLogStatus
NewLogStatus creates a new log status.
pkg/logs/internal/status/status.go:29
↓ 4 callersFunctionNewMapFromYAMLString
NewMapFromYAMLString creates a confmap.Conf from a YAML-formatted configuration string. Adapted from: https://github.com/open-telemetry/opentelemetry-
comp/otelcol/otlp/internal/configutils/utils.go:22
↓ 4 callersFunctionNewMappedInfo
NewMappedInfo creates a new MappedInfo instance
pkg/logs/internal/status/info.go:76
↓ 4 callersFunctionNewMessageWithSource
NewMessageWithSource constructs an unstructured message with content, status and a log source.
pkg/logs/message/message.go:176
↓ 4 callersFunctionNewMetricsRetriever
NewMetricsRetriever returns a new MetricsRetriever
pkg/clusteragent/externalmetrics/metrics_retriever.go:46
↓ 4 callersFunctionNewMockLogsIntake
NewMockLogsIntake creates a TCP server that mimics the logs backend and returns a Listener. The intake only accepts one connection and then exits.
pkg/logs/client/mock/mock.go:16
↓ 4 callersFunctionNewMultiDomainResolver
NewMultiDomainResolver initializes a MultiDomainResolver with its API keys and base destination
pkg/config/resolver/domain_resolver.go:103
↓ 4 callersFunctionNewMultiLineParser
NewMultiLineParser returns a new MultiLineParser.
pkg/logs/internal/decoder/line_parser.go:85
↓ 4 callersFunctionNewOption
NewOption creates a new instance of Option[T] with a value set. A call to Get() will returns (value, true)
pkg/util/optional/optional.go:17
↓ 4 callersFunctionNewPathsReducer
NewPathsReducer returns a new PathsReducer
pkg/security/security_profile/activity_tree/paths_reducer.go:58
↓ 4 callersFunctionNewPointCountTelemetry
NewPointCountTelemetry creates a new instance of PointCountTelemetry.
comp/forwarder/defaultforwarder/internal/retry/point_count_telemetry.go:27
↓ 4 callersFunctionNewProcessProbe
NewProcessProbe returns a Probe object
pkg/process/procutil/process_fallback.go:18
↓ 4 callersFunctionNewProvider
NewProvider returns a new Provider
pkg/logs/pipeline/provider.go:48
↓ 4 callersFunctionNewRawBucket
NewRawBucket opens a new calculation bucket for time ts and initializes it properly
pkg/trace/stats/statsraw.go:111
↓ 4 callersFunctionNewReadCloserMock
(r io.Reader, closer func() error)
pkg/logs/tailers/docker/reader_test.go:31
↓ 4 callersFunctionNewResolver
NewResolver returns the default inputs resolver that is able to resolve any kind of supported inputs. It holds a small cache for loaded file metadata
pkg/compliance/resolver.go:133
↓ 4 callersFunctionNewResourceLog
NewResourceLog returns a ResourceLog.
pkg/compliance/data.go:180
↓ 4 callersFunctionNewRule
NewRule returns a new rule
pkg/security/secl/compiler/eval/rule.go:45
↓ 4 callersFunctionNewRuntimeCompilationConstantFetcher
NewRuntimeCompilationConstantFetcher creates a RuntimeCompilationConstantFetcher
pkg/security/probe/constantfetch/runtime_compiled.go:40
↓ 4 callersFunctionNewSecurityProfile
NewSecurityProfile creates a new instance of Security Profile
pkg/security/security_profile/profile/profile.go:73
↓ 4 callersFunctionNewServer
NewServer returns a new instance of the gRPC server.
pkg/network/tracer/testutil/grpc/server.go:223
↓ 4 callersFunctionNewState
NewState creates a new network state
pkg/network/state.go:192
↓ 4 callersFunctionNewStats
NewStats returns a new check stats instance
pkg/collector/check/stats/stats.go:122
↓ 4 callersFunctionNewString
NewString creates a new sysctl.String `procRoot` points to the procfs root, e.g. /proc `sysctl` is the path for the sysctl, e.g. /proc/sys/<sysctl> `
pkg/network/config/sysctl/sysctl.go:30
↓ 4 callersFunctionNewStructuredMessage
NewStructuredMessage creates a new message that had some structure the moment it has been captured through a tailer. e.g. a journald message which is
pkg/logs/message/message.go:200
↓ 4 callersFunctionNewTempFolder
NewTempFolder creates a new temporary folder
pkg/util/testutil/tempfolder.go:20
↓ 4 callersFunctionNewTestDockerClient
(reader io.ReadCloser, err error)
pkg/logs/tailers/docker/tailer_test.go:290
↓ 4 callersMethodNewTimeoutError
NewTimeoutError returns a new timeout error with the metrics collected during the test
pkg/security/tests/module_tester.go:1227
↓ 4 callersFunctionNewTokenTicker
NewTokenTicker is a utility function that allocates a token ticker, initializes necessary fields and returns it
pkg/serverless/appsec/limiter.go:35
↓ 4 callersFunctionNewTracer
NewTracer creates a Tracer
pkg/network/tracer/tracer.go:102
↓ 4 callersFunctionNewUDSDatagramListener
NewUDSDatagramListener returns an idle UDS datagram Statsd listener
comp/dogstatsd/listeners/uds_datagram.go:26
↓ 4 callersFunctionNewURLQuantizer
NewURLQuantizer returns a new instance of a URLQuantizer
pkg/network/protocols/http/quantization.go:20
↓ 4 callersFunctionNewWindowsToolhelpProbe
NewWindowsToolhelpProbe provides an implementation of a process probe based on Toolhelp API
pkg/process/procutil/process_windows_toolhelp.go:71
↓ 4 callersFunctionNormalizeName
NormalizeName normalizes a span name and returns an error describing the reason (if any) why the name was modified.
pkg/trace/traceutil/normalize.go:41
↓ 4 callersFunctionNormalizeService
NormalizeService normalizes a span service and returns an error describing the reason (if any) why the name was modified.
pkg/trace/traceutil/normalize.go:59
↓ 4 callersFunctionObjPDU
(oid string, value string)
pkg/collector/corechecks/snmp/internal/session/fake_session_test.go:27
↓ 4 callersMethodOffsets
(cfg *config.Config)
pkg/network/tracer/offsetguess/tracer.go:1113
↓ 4 callersMethodOnInvokeStart
OnInvokeStart is the hook triggered when an invocation has started
pkg/serverless/invocationlifecycle/invocation_processor.go:11
↓ 4 callersMethodPID
PID returns the process ID of the trace-agent. If the trace-agent is not running as a child process of this program, it will be 0.
cmd/trace-agent/test/agent.go:105
↓ 4 callersFunctionParseCIDR
ParseCIDR converts an IP/CIDR notation to an IPNet object
pkg/security/secl/compiler/eval/cidr.go:77
↓ 4 callersFunctionParseCheckRunPayload
ParseCheckRunPayload return the parsed checkRun from payload
test/fakeintake/aggregator/checkRunAggregator.go:41
↓ 4 callersFunctionParseCronJobForJob
ParseCronJobForJob gets the cronjob name from a job, or returns an empty string if no parent cronjob is found. https://github.com/kubernetes/kubernete
pkg/util/kubernetes/helpers.go:47
↓ 4 callersFunctionParseJSON
ParseJSON parses the data formatted in JSON returns an error if the parsing failed.
comp/logs/agent/config/parser.go:18
↓ 4 callersFunctionParseLogPayload
ParseLogPayload return the parsed logs from payload
test/fakeintake/aggregator/logAggregator.go:42
↓ 4 callersMethodParseRule
ParseRule parses a SECL rule.
pkg/security/secl/compiler/ast/secl.go:88
↓ 4 callersFunctionParseStorageFormat
ParseStorageFormat returns a storage format from a string input
pkg/security/config/dump.go:111
↓ 4 callersFunctionParseUnicodeString
ParseUnicodeString takes a slice of bytes and converts it to a string
pkg/util/winutil/etw/etw-utils.go:255
↓ 4 callersFunctionParseVersion
ParseVersion parses a string in the format of x.x.x to a Version
pkg/util/kernel/version.go:62
↓ 4 callersMethodPostStatus
PostStatus handles status reports from the node agents
pkg/clusteragent/clusterchecks/handler_api.go:72
↓ 4 callersMethodProcess
(ctx context.Context, config config.Component, log log.Component, client *http.Client)
comp/forwarder/defaultforwarder/transaction/transaction.go:214
↓ 4 callersMethodQuantizeRedisString
QuantizeRedisString returns a quantized version of a Redis query. TODO(gbbr): Refactor this method to use the tokenizer and remove "compactWhitespace
pkg/obfuscate/redis.go:27
↓ 4 callersMethodRead
Read implements the io.Reader interface.
pkg/util/prometheus/reader.go:25
↓ 4 callersFunctionReadInitialState
ReadInitialState reads the /proc filesystem and determines which ports are being listened on
pkg/network/port.go:34
↓ 4 callersMethodReadLine
ReadLine reads a line
pkg/security/tests/trace_pipe.go:92
↓ 4 callersMethodRealtime
Realtime indicates if this check only runs in real-time mode
pkg/process/checks/checks.go:50
↓ 4 callersMethodRebuildMetadataMetricsAndTags
RebuildMetadataMetricsAndTags rebuilds c.Metrics, c.Metadata, c.MetricTags, and c.OidConfig by merging data from requested metrics/tags and the curren
pkg/collector/corechecks/snmp/internal/checkconfig/config.go:241
↓ 4 callersMethodRegister
Register a new scheduler to receive configurations. Previously scheduled configurations that have not subsequently been unscheduled can be replayed w
pkg/autodiscovery/scheduler/meta.go:41
↓ 4 callersMethodRegisterDomain
RegisterDomain registers a domain name.
comp/forwarder/defaultforwarder/internal/retry/file_removal_policy.go:59
↓ 4 callersMethodRegisterProbeEventHandler
(cb onProbeEventHandler)
pkg/security/tests/module_tester.go:1424
↓ 4 callersMethodRemoveAccessToOtherUsers
RemoveAccessToOtherUsers on Windows this function calls RestrictAccessToUser
pkg/util/filesystem/permission_windows.go:75
↓ 4 callersMethodRemoveChunk
RemoveChunk removes a chunk by its index.
pkg/proto/pbgo/trace/trace.go:19
↓ 4 callersMethodRemoveExpiredClients
RemoveExpiredClients removes expired clients from the state
pkg/network/state.go:103
↓ 4 callersMethodRemoveSource
RemoveSource removes a source. All of the subscribers registered for this source's type (src.Config.Type) will be notified of its removal.
pkg/logs/sources/sources.go:71
↓ 4 callersMethodReplace
Replace replaces the source with a new one
pkg/logs/sources/replaceable_source.go:31
↓ 4 callersFunctionReplaceFlagSubCommandPosArg
ReplaceFlagSubCommandPosArg replaces a subcomand sub-positional argument in the for `--foo=bar` with `--foo bar`.
pkg/util/cli/deprecated.go:53
↓ 4 callersMethodReport
Report returns diagnosis metadata
pkg/networkdevice/diagnoses/diagnoses.go:49
↓ 4 callersMethodReport
Report reports all of the Set's metrics to the statsd client.
pkg/trace/metrics/timing/timing.go:105
↓ 4 callersMethodRequestStarted
()
pkg/network/protocols/http/model.go:30
↓ 4 callersMethodResolve
Resolve binds container IDs to the Raddr of connections An attempt is made to resolve as many local containers as possible. First, we go over all co
pkg/process/net/resolver/resolver.go:72
↓ 4 callersMethodResolveChownGID
(ev *Event, e *ChownEvent)
pkg/security/secl/model/field_handlers_unix.go:942
↓ 4 callersMethodResolveChownUID
(ev *Event, e *ChownEvent)
pkg/security/secl/model/field_handlers_unix.go:943
↓ 4 callersMethodResolveFields
ResolveFields resolves all the fields associate to the event type. Context fields are automatically resolved.
pkg/security/secl/model/field_handlers_unix.go:13
↓ 4 callersMethodResolveModuleArgs
(ev *Event, e *LoadModuleEvent)
pkg/security/secl/model/field_handlers_unix.go:958
↓ 4 callersFunctionResolvePath
ResolvePath resolves the absolute path to the executable program with the given name in the argument. Returns error if the program's path cannot be re
pkg/util/executable/executable.go:62
↓ 4 callersMethodResolveUserSession
ResolveUserSession returns the user session associated to the provided ID
pkg/security/resolvers/usersessions/resolver_linux.go:61
↓ 4 callersMethodResponseLastSeen
()
pkg/network/protocols/http/model.go:28
↓ 4 callersMethodRestrictAccessToUser
RestrictAccessToUser update the ACL of a file so only the current user and ADMIN/SYSTEM can access it
pkg/util/filesystem/permission_windows.go:64
↓ 4 callersMethodResume
()
pkg/network/tracer/connection/tracer.go:77
↓ 4 callersMethodRetryStatus
RetryStatus allows users to query the status
pkg/util/retry/retrier.go:69
↓ 4 callersFunctionRootsConfig
RootsConfig returns all the roots of the director repo
pkg/config/remote/meta/meta.go:47
↓ 4 callersFunctionRootsDirector
RootsDirector returns all the roots of the director repo
pkg/config/remote/meta/meta.go:37
↓ 4 callersMethodRun
()
pkg/network/tracer/testutil/grpc/server.go:248
↓ 4 callersFunctionRunCommand
RunCommand runs a single command
pkg/network/testutil/cmd.go:40
↓ 4 callersFunctionRunLeaderElection
RunLeaderElection runs the leader election engine and identifies the leader. It returns leader name and a nil error if leader. It returns leader name
pkg/collector/corechecks/cluster/common.go:18
↓ 4 callersMethodSchedule
Schedule schedules configs to all registered schedulers
pkg/autodiscovery/scheduler/meta.go:73
↓ 4 callersMethodScrubAnnotationValue
ScrubAnnotationValue obfuscate sensitive information from an annotation value.
pkg/orchestrator/redact/data_scrubber.go:80
↓ 4 callersMethodSend
Send exports all data recorded by the consumer. It does not reset the consumer.
comp/otelcol/otlp/internal/serializerexporter/consumer.go:139
← previousnext →3,901–4,000 of 32,574, ranked by callers