MCPcopy Create free account

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

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

↓ 5 callersMethodNewHTTPClient
NewHTTPClient returns a new http.Client to be used for outgoing connections to the Datadog API.
pkg/trace/config/config.go:547
↓ 5 callersFunctionNewLanguageDetector
NewLanguageDetector constructs a new LanguageDetector
pkg/languagedetection/privileged/privileged_detector.go:60
↓ 5 callersFunctionNewLanguageSet
NewLanguageSet initializes and returns a new LanguageSet object
pkg/languagedetection/util/languageset.go:19
↓ 5 callersFunctionNewLauncher
NewLauncher returns a new launcher
pkg/logs/launchers/container/launcher.go:60
↓ 5 callersFunctionNewListener
NewListener returns an idle UDSListener
pkg/process/net/uds.go:26
↓ 5 callersFunctionNewLocalFlareSource
NewLocalFlareSource returns a flare source struct for local flares
comp/core/flare/helpers/send_flare.go:45
↓ 5 callersFunctionNewLookupIDProbe
NewLookupIDProbe returns a new LookupIdProbe from the config
pkg/process/checks/user_nix.go:28
↓ 5 callersFunctionNewMeasuredListener
NewMeasuredListener wraps ln and emits metrics every 10 seconds. The metric name is datadog.trace_agent.receiver.<name>. Additionally, a "status" tag
pkg/trace/api/listener.go:36
↓ 5 callersFunctionNewMetadataStore
NewMetadataStore returns a new metadata Store
pkg/collector/corechecks/snmp/internal/metadata/store.go:26
↓ 5 callersFunctionNewMockFailingParser
(header string)
pkg/logs/internal/decoder/line_parser_test.go:32
↓ 5 callersFunctionNewMockcloudProvider
NewMockcloudProvider creates a new mock instance.
pkg/network/tracer/mock_gateway_lookup_test.go:25
↓ 5 callersFunctionNewNoServiceError
NewNoServiceError returns a new NoServiceError
pkg/autodiscovery/configresolver/configresolver.go:55
↓ 5 callersFunctionNewProcessCheck
NewProcessCheck returns an instance of the ProcessCheck.
pkg/process/checks/process.go:42
↓ 5 callersFunctionNewProcessor
NewProcessor creates a new processor
pkg/collector/corechecks/containers/generic/processor.go:38
↓ 5 callersFunctionNewProvider
NewProvider registers a new metadata provider by adding a callback to the runner.
comp/metadata/runner/runnerimpl/runner.go:66
↓ 5 callersFunctionNewQueueDurationCapacity
NewQueueDurationCapacity creates a new instance of *QueueDurationCapacity. if `optionalDiskSpace` is not nil, the capacity also use the storage on dis
comp/forwarder/defaultforwarder/internal/retry/queue_duration_capacity.go:40
↓ 5 callersFunctionNewReplacer
NewReplacer returns a new Replacer which will use the given set of rules.
pkg/trace/filters/replacer.go:23
↓ 5 callersFunctionNewRepository
NewRepository creates a new remote config repository that will track both TUF metadata and raw config files for a client.
pkg/remoteconfig/state/repository.go:89
↓ 5 callersFunctionNewResolver
NewResolver returns a new dentry resolver
pkg/security/resolvers/dentry/resolver.go:758
↓ 5 callersFunctionNewRunner
NewRunner creates a new CheckRunner
pkg/process/runner/runner.go:94
↓ 5 callersFunctionNewSelfReader
NewSelfReader allows to get current process cgroup stats selfProcPath should always be `/proc`, taken as parameter to allow unit testing
pkg/util/cgroups/self_reader.go:63
↓ 5 callersFunctionNewSet
NewSet returns a new, ready to use Set.
pkg/trace/metrics/timing/timing.go:39
↓ 5 callersFunctionNewSocket
NewSocket creates a new NETLINK socket
pkg/network/netlink/socket.go:57
↓ 5 callersFunctionNewStreamStrategy
NewStreamStrategy creates a new stream strategy
pkg/logs/sender/stream_strategy.go:24
↓ 5 callersFunctionNewStringInterner
NewStringInterner creates a new StringInterner
pkg/util/intern/string.go:70
↓ 5 callersFunctionNewSysProbeListener
NewSysProbeListener returns a new SysPobeListener
pkg/process/events/listener_linux.go:65
↓ 5 callersFunctionNewTagStore
NewTagStore creates new TagStore.
pkg/tagger/tagstore/tagstore.go:51
↓ 5 callersFunctionNewTestReader
(data string, err, closeErr error)
pkg/logs/tailers/docker/tailer_test.go:242
↓ 5 callersFunctionNewTimeSampler
NewTimeSampler returns a newly initialized TimeSampler
pkg/aggregator/time_sampler.go:49
↓ 5 callersFunctionNewUnverifiedGRPCClient
NewUnverifiedGRPCClient creates a new client that does not perform any TUF verification
pkg/config/remote/client.go:134
↓ 5 callersFunctionNodeAgentOptions
NodeAgentOptions returns the tagger options used in the node agent.
pkg/tagger/remote/tagger.go:72
↓ 5 callersFunctionNormalizeMetrics
NormalizeMetrics converts legacy syntax to new syntax 1/ converts old symbol syntax to new symbol syntax metric.Name and metric.OID info are moved to
pkg/networkdevice/profile/profiledefinition/metrics.go:172
↓ 5 callersMethodObfuscateSQLStringWithOptions
ObfuscateSQLStringWithOptions accepts an optional SQLOptions to change the behavior of the obfuscator to quantize and obfuscate the given input SQL qu
pkg/obfuscate/sql.go:300
↓ 5 callersMethodObserve
Observe the value to the Histogram value.
comp/core/telemetry/simple_histogram.go:24
↓ 5 callersMethodOnInvokeEnd
OnInvokeEnd is the hook triggered when an invocation has ended
pkg/serverless/invocationlifecycle/invocation_processor.go:13
↓ 5 callersMethodOpenNamespace
(ns string)
pkg/util/log/zap/zapencoder.go:73
↓ 5 callersFunctionPacketAsString
PacketAsString used to format gosnmp.SnmpPacket for debug/trace logging
pkg/snmp/gosnmplib/gosnmp_utils.go:109
↓ 5 callersFunctionPe
(n,r,i,o)
cmd/agent/gui/views/private/js/jquery-3.5.1.min.js:2
↓ 5 callersFunctionPodUIDToTaggerEntityName
PodUIDToTaggerEntityName returns a prefixed tagger entity name from a pod UID
pkg/util/kubernetes/kubelet/kubelet_common.go:51
↓ 5 callersFunctionPrintConfig
PrintConfig prints a human-readable representation of a configuration
pkg/flare/config_check.go:112
↓ 5 callersMethodPrintLogs
(t testing.TB)
pkg/network/protocols/testutil/patternscanner.go:55
↓ 5 callersFunctionProcRootPath
ProcRootPath returns the path to the root directory of a pid in /proc
pkg/security/utils/proc.go:115
↓ 5 callersMethodProcess
Process stores each container in relevant network group
pkg/collector/corechecks/containers/generic/processor_network.go:47
↓ 5 callersMethodPurge
()
pkg/epforwarder/epforwarder.go:198
↓ 5 callersMethodPush
Push adds an event to the RingStore. If the store is full, the oldest event is dropped to make space for the new one The done channel is optional. It'
pkg/process/events/store.go:149
↓ 5 callersMethodPut
Put puts a new value into c. Cannot be called concurrently. Returns false when BufferedChan is cancelled.
pkg/util/buf/buffered_chan.go:50
↓ 5 callersMethodPutBlob
(blobID string, blobInfo types.BlobInfo)
pkg/util/trivy/cache.go:551
↓ 5 callersMethodQuantize
Quantize path (eg /segment1/segment2/segment3) by doing the following: * If a segment contains only letters, we keep it as it is; * If a segment conta
pkg/network/protocols/http/quantization.go:35
↓ 5 callersFunctionRTName
RTName returns the name of the corresponding realtime check
pkg/process/checks/checks.go:116
↓ 5 callersFunctionRandomString
RandomString generates a random string of the given size
test/benchmarks/util.go:19
↓ 5 callersMethodRegister
Register adds an admission webhook handler. Register must be called to register the desired webhook handlers before calling Run.
cmd/cluster-agent/admission/server.go:76
↓ 5 callersMethodRegisterConcreteCollector
RegisterConcreteCollector registers a collector
pkg/util/containers/metrics/mock/mock.go:46
↓ 5 callersMethodRegisterEventConsumer
RegisterEventConsumer registers an event consumer
pkg/eventmonitor/eventmonitor.go:109
↓ 5 callersMethodRegisterListener
RegisterListener registers a CGroup event listener
pkg/security/resolvers/cgroup/resolver.go:101
↓ 5 callersFunctionRegisterRuntimeSetting
RegisterRuntimeSetting keeps track of configurable settings
pkg/config/settings/runtime_setting.go:45
↓ 5 callersMethodRegisterService
(desc *grpc.ServiceDesc, impl interface{})
cmd/system-probe/api/module/loader.go:237
↓ 5 callersMethodRemoveChunk
RemoveChunk removes a chunk in TracerPayload by its index
pkg/trace/api/payload.go:45
↓ 5 callersMethodRemoveService
RemoveService sends a removed service to all the channels that registered.
pkg/logs/service/services.go:47
↓ 5 callersMethodReportNetworkDeviceMetadata
ReportNetworkDeviceMetadata reports device metadata
pkg/collector/corechecks/snmp/internal/report/report_device_metadata.go:37
↓ 5 callersMethodReset
Reset resets the size of the builder to 0 without discaring the internal buffer
pkg/tagset/hashing_tags_accumulator.go:83
↓ 5 callersFunctionResetSharedFilter
ResetSharedFilter is only to be used in unit tests: it resets the global filter instance to force re-parsing of the configuration.
pkg/util/containers/filter.go:199
↓ 5 callersMethodResolveAsync
(ev *Event)
pkg/security/secl/model/field_handlers_unix.go:941
↓ 5 callersMethodResolveGroup
ResolveGroup resolves a group id to a group name
pkg/security/resolvers/usergroup/resolver.go:186
↓ 5 callersMethodResolveModuleArgv
(ev *Event, e *LoadModuleEvent)
pkg/security/secl/model/field_handlers_unix.go:959
↓ 5 callersMethodResolveMountPointPath
(ev *Event, e *MountEvent)
pkg/security/secl/model/field_handlers_unix.go:960
↓ 5 callersMethodResolveMountSourcePath
(ev *Event, e *MountEvent)
pkg/security/secl/model/field_handlers_unix.go:961
↓ 5 callersMethodResolveSELinuxBoolName
(ev *Event, e *SELinuxEvent)
pkg/security/secl/model/field_handlers_unix.go:978
↓ 5 callersMethodRestart
(service string)
test/new-e2e/tests/agent-platform/common/test_client.go:25
↓ 5 callersMethodRetain
Retain the event
pkg/security/secl/model/model.go:322
↓ 5 callersFunctionRunSingleOutput
RunSingleOutput runs a JQ query against `object` and returns the string value (assuming there is a single output)
pkg/util/jsonquery/jsonquery.go:48
↓ 5 callersFunctionSECLConstants
SECLConstants returns the constants supported in runtime security agent rules, initializing these constants during the first call
pkg/security/secl/model/consts_common.go:1079
↓ 5 callersMethodSave
Save archives all the data added to the flare, cleanup all the temporary directories and return the path to the archive file. Upon error the cleanup i
comp/core/flare/types/types.go:136
↓ 5 callersFunctionScanLines
ScanLines is an almost identical reimplementation of bufio.ScanLines, but also reports if the returned line is newline-terminated
comp/dogstatsd/server/server.go:544
↓ 5 callersFunctionScrubYaml
ScrubYaml scrubs credentials from the given YAML by loading the data and scrubbing the object instead of the serialized string, using the default scru
pkg/util/scrubber/default.go:272
↓ 5 callersMethodScrubYaml
ScrubYaml scrubs credentials from the given YAML by loading the data and scrubbing the object instead of the serialized string.
pkg/util/scrubber/yaml_scrubber.go:101
↓ 5 callersMethodSendFirstTrace
()
pkg/trace/telemetry/collector.go:81
↓ 5 callersMethodSerializer
TODO: (components) remove this method once the serializer is a component
comp/aggregator/demultiplexer/component.go:25
↓ 5 callersMethodSet
Set creates a new PDU with the given attributes, replacing any in the session with the same OID.
pkg/collector/corechecks/snmp/internal/session/fake_session.go:85
↓ 5 callersMethodSetAncestor
SetAncestor sets the ancestor
pkg/security/secl/model/process_cache_entry_unix.go:17
↓ 5 callersFunctionSetConfigMapFromParameter
SetConfigMapFromParameter set config map from a parameter store
test/new-e2e/pkg/runner/configmap.go:70
↓ 5 callersMethodSetConfigName
(in string)
pkg/config/model/types.go:122
↓ 5 callersFunctionSetCurrentTransport
SetCurrentTransport sets the current transport used by the log agent.
pkg/logs/status/status.go:82
↓ 5 callersMethodSetExternalMetricValues
(map[string]ExternalMetricValue)
pkg/clusteragent/custommetrics/store.go:30
↓ 5 callersFunctionSetExternalTags
SetExternalTags adds external tags for a specific host and source type to the cache.
pkg/metadata/externalhost/externalhost.go:21
↓ 5 callersMethodSetMetaTag
(tag string, value string)
pkg/serverless/appsec/httpsec/tags.go:72
↓ 5 callersMethodSetPassthru
SetPassthru sets the passthru mode to the specified value. It will flush the sccounting before enabling passthru mode.
comp/dogstatsd/packets/pool_manager.go:92
↓ 5 callersMethodSetSender
(Sender, checkid.ID)
pkg/aggregator/sender/sender.go:45
↓ 5 callersMethodSetSourceType
SetSourceType sets a format that give information on how the source lines should be parsed
pkg/logs/sources/source.go:99
↓ 5 callersMethodShouldReset
ShouldReset returns whether the connection should be reset, depending on the endpoint's config and the passed connection creation time.
pkg/logs/client/tcp/connection_manager.go:149
↓ 5 callersFunctionSkipKubernetesResource
SkipKubernetesResource checks with a global kubernetes cache whether the resource was already reported. It will return true in case the UID is in the
pkg/orchestrator/cache.go:57
↓ 5 callersMethodSource
Source returns the source this filter is filtering by. If the filter is nil, returns SourceAll.
pkg/workloadmeta/filter.go:87
↓ 5 callersMethodSourceAddress
SourceAddress returns the source address
pkg/network/ebpf/kprobe.go:36
↓ 5 callersFunctionStart
Start initiates profiling with the supplied parameters; this function is thread-safe.
pkg/util/profiling/profiling.go:31
↓ 5 callersMethodStart
Start starts a Worker.
comp/forwarder/defaultforwarder/worker.go:106
↓ 5 callersMethodStart
Start starts tailing the journal from a given offset.
pkg/logs/tailers/journald/tailer.go:76
↓ 5 callersMethodStart
Start consuming shared-library events
pkg/network/usm/sharedlibraries/watcher.go:133
↓ 5 callersMethodStart
()
pkg/epforwarder/epforwarder.go:199
↓ 5 callersMethodState
State returns the internal state of the forwarder (Started or Stopped)
comp/forwarder/defaultforwarder/default_forwarder.go:425
↓ 5 callersMethodState
State returns the state of the uptane client
pkg/config/remote/uptane/client_state.go:99
↓ 5 callersMethodStatusCode
()
pkg/network/protocols/http/model.go:21
← previousnext →3,201–3,300 of 32,574, ranked by callers