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
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/trace_gen.go:63
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/trace_gen.go:145
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/tracer_payload_gen.go:155
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/stats_gen.go:493
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/stats_gen.go:777
↓ 3 callers
Method
Msgsize
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
pkg/proto/pbgo/trace/stats_gen.go:1302
↓ 3 callers
Method
Name
()
pkg/config/settings/runtime_setting.go:39
↓ 3 callers
Function
New
()
pkg/serverless/appsec/appsec.go:23
↓ 3 callers
Function
NewADContainerIdentifier
NewADContainerIdentifier creates a new ADIdentifier for a service running in a container
pkg/util/cloudproviders/cloudfoundry/types.go:82
↓ 3 callers
Function
NewADListener
NewADListener creates a new ADListener, proxying schedule and unschedule calls to the given functions.
pkg/logs/internal/util/adlistener/ad.go:36
↓ 3 callers
Function
NewAbnormalEvent
NewAbnormalEvent returns the rule and a populated custom event for a abnormal event
pkg/security/probe/custom_events.go:93
↓ 3 callers
Function
NewActivityDumpLoadConfig
NewActivityDumpLoadConfig returns a new instance of ActivityDumpLoadConfig
pkg/security/security_profile/dump/activity_dump.go:102
↓ 3 callers
Function
NewAgentVersionFilter
NewAgentVersionFilter returns a new agent version based rule filter
pkg/security/secl/rules/rule_filters.go:45
↓ 3 callers
Function
NewAggregationFromGroup
NewAggregationFromGroup gets the Aggregation key of grouped stats.
pkg/trace/stats/aggregation.go:128
↓ 3 callers
Function
NewAssembler
NewAssembler creates a new Assembler instance using the specified flush duration, buffer and pool manager
comp/dogstatsd/packets/assembler.go:30
↓ 3 callers
Function
NewAttributeScanner
NewAttributeScanner returns a new instance of AttributeScanner
pkg/network/netlink/attribute_scanner.go:52
↓ 3 callers
Function
NewAutoConfigNoStart
NewAutoConfigNoStart creates an AutoConfig instance.
pkg/autodiscovery/autoconfig.go:77
↓ 3 callers
Function
NewAutoscalersController
NewAutoscalersController returns a new AutoscalersController
pkg/util/kubernetes/apiserver/controller_util.go:32
↓ 3 callers
Function
NewCIDRTypeError
NewCIDRTypeError returns a new ErrAstToEval error when an invalid type was used
pkg/security/secl/compiler/eval/errors.go:70
↓ 3 callers
Function
NewCWSInstrumentation
NewCWSInstrumentation parses the webhook config and returns a new instance of CWSInstrumentation
pkg/clusteragent/admission/mutate/cws_instrumentation.go:84
↓ 3 callers
Function
NewCheckEvent
NewCheckEvent returns a CheckEvent with given status.
pkg/compliance/data.go:139
↓ 3 callers
Function
NewCheckMetrics
NewCheckMetrics returns new CheckMetrics instance.
pkg/metrics/check_metrics.go:54
↓ 3 callers
Function
NewClient
NewClient creates a new client for the specified metadata v3 or v4 API endpoint.
pkg/util/ecs/metadata/v3or4/client.go:49
↓ 3 callers
Function
NewClusterAgentParams
NewClusterAgentParams returns a new Params struct for the cluster agent
comp/core/config/params.go:90
↓ 3 callers
Function
NewCollector
NewCollector create a Collector instance and sets up the Python Environment
pkg/collector/collector.go:49
↓ 3 callers
Function
NewConfigFileStore
NewConfigFileStore creates a store from configFileValueStore from a path
test/new-e2e/pkg/runner/parameters/store_config_file.go:61
↓ 3 callers
Function
NewConntracker
NewConntracker creates a new conntracker with a short term buffer capped at the given size
pkg/network/netlink/conntracker.go:108
↓ 3 callers
Function
NewContainersLanguages
NewContainersLanguages initializes and returns a new ContainersLanguages object
pkg/languagedetection/util/containerslanguages.go:18
↓ 3 callers
Function
NewContextMetricsFlusher
NewContextMetricsFlusher creates a new instance of ContextMetricsFlusher
pkg/metrics/context_metrics_flusher.go:27
↓ 3 callers
Function
NewController
NewController returns the adequate implementation of the Controller interface.
pkg/clusteragent/admission/controllers/webhook/controller_base.go:34
↓ 3 callers
Function
NewCookie
NewCookie returns a new random cookie
pkg/security/utils/rand.go:30
↓ 3 callers
Function
NewCounter
NewCounter return a new initialized Counter
pkg/metrics/counter.go:18
↓ 3 callers
Function
NewCustomEventLazy
NewCustomEventLazy returns a new custom event
pkg/security/events/custom.go:99
↓ 3 callers
Function
NewDestination
NewDestination returns a new destination.
pkg/logs/client/tcp/destination.go:35
↓ 3 callers
Function
NewErrPdhInvalidInstance
NewErrPdhInvalidInstance creates a new ErrPdhInvalidInstance
pkg/util/winutil/pdhutil/pdhhelper.go:170
↓ 3 callers
Function
NewEventMonitoringModuleClient
NewEventMonitoringModuleClient creates a new instance of EventMonitoringModuleClient. It also registers a testing interface on the mock and a cleanup
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_client.go:55
↓ 3 callers
Function
NewEventMonitoringModule_GetProcessEventsClient
NewEventMonitoringModule_GetProcessEventsClient creates a new instance of EventMonitoringModule_GetProcessEventsClient. It also registers a testing in
pkg/eventmonitor/proto/api/mocks/event_monitoring_module_get_process_events_client.go:148
↓ 3 callers
Function
NewEventTypeMetada
NewEventTypeMetada returns a new EventTypeMetada
pkg/security/secl/compiler/generators/accessors/common/types.go:16
↓ 3 callers
Function
NewFactory
NewFactory creates a new logsagentexporter factory.
comp/otelcol/otlp/internal/logsagentexporter/factory.go:32
↓ 3 callers
Function
NewFakeintake
NewFakeintake creates a new instance of
test/new-e2e/pkg/utils/e2e/client/fakeintake.go:26
↓ 3 callers
Function
NewFixedRateExtractor
NewFixedRateExtractor returns an APM event extractor that decides whether to extract APM events from spans following the provided extraction rates for
pkg/trace/event/extractor_fixed_rate.go:23
↓ 3 callers
Function
NewForwarderTest
(log log.Component)
pkg/aggregator/test_common.go:35
↓ 3 callers
Function
NewGauge
NewGauge returns a new metric of type `Gauge`
pkg/network/protocols/telemetry/metric.go:51
↓ 3 callers
Function
NewGlobal
NewGlobal returns a limiter with a global limit which will be equally split between senders will be equally distributed between origins.
pkg/aggregator/internal/limiter/limiter.go:65
↓ 3 callers
Function
NewGoCheckLoader
NewGoCheckLoader creates a loader for go checks
pkg/collector/corechecks/loader.go:44
↓ 3 callers
Function
NewHTTPClient
NewHTTPClient creates a new http.Client
comp/forwarder/defaultforwarder/worker.go:76
↓ 3 callers
Function
NewHashedTagsFromSlice
NewHashedTagsFromSlice creates a new instance, re-using tags as the internal slice.
pkg/tagset/hashed_tags.go:14
↓ 3 callers
Function
NewHashlessTagsAccumulatorFromSlice
NewHashlessTagsAccumulatorFromSlice return a new HashlessTagsAccumulator with the input slice for it's internal buffer.
pkg/tagset/hashless_tags_accumulator.go:31
↓ 3 callers
Function
NewHistogramNoOp
NewHistogramNoOp creates a dummy Histogram
pkg/telemetry/histogram.go:27
↓ 3 callers
Function
NewIterableStreamJSONMarshalerAdapter
NewIterableStreamJSONMarshalerAdapter creates an new instance of `IterableStreamJSONMarshalerAdapter`
pkg/serializer/marshaler/marshaler_adapter.go:22
↓ 3 callers
Function
NewKernelVersion
NewKernelVersion returns a new kernel version helper
pkg/security/ebpf/kernel/kernel.go:124
↓ 3 callers
Function
NewListener
NewListener returns a new SysProbeListener to listen for process events
pkg/process/events/listener_linux.go:47
↓ 3 callers
Function
NewLocalProvider
NewLocalProvider returns a new local Provider.
pkg/logs/internal/tag/local_provider.go:29
↓ 3 callers
Function
NewLogContextCompliance
NewLogContextCompliance returns the context fields to send compliance events to the intake
pkg/security/common/logs_context.go:24
↓ 3 callers
Function
NewManifestBuffer
NewManifestBuffer returns a new ManifestBuffer
pkg/collector/corechecks/cluster/orchestrator/manifest_buffer.go:68
↓ 3 callers
Function
NewMessage
NewMessage returns a new encoded message.
pkg/logs/internal/decoder/decoder.go:33
↓ 3 callers
Function
NewMessageBuffer
NewMessageBuffer returns a new MessageBuffer.
pkg/logs/sender/message_buffer.go:20
↓ 3 callers
Function
NewMetricsStore
NewMetricsStore returns a new MetricsStore.
pkg/kubestatemetrics/store/store.go:52
↓ 3 callers
Function
NewMockConntrack
NewMockConntrack creates a new mock instance
pkg/network/netlink/mock_conntrack.go:32
↓ 3 callers
Function
NewMockSourceProvider
NewMockSourceProvider creates a new MockSource Provider.
pkg/logs/launchers/mock_source_provider.go:22
↓ 3 callers
Function
NewMovingSum
NewMovingSum creates a new MovingSum with the specified time window, bucket size, and clock.
pkg/logs/internal/util/moving_sum.go:33
↓ 3 callers
Function
NewNoopCollector
NewNoopCollector returns a noop collector
pkg/clusteragent/telemetry/collector.go:111
↓ 3 callers
Function
NewNullReverseDNS
NewNullReverseDNS returns a dummy implementation of ReverseDNS
pkg/network/dns/null.go:15
↓ 3 callers
Function
NewParams
NewLocalParams returns parameters for to initialize a non local flare component
comp/core/flare/params.go:39
↓ 3 callers
Function
NewPipeline
NewPipeline defines a new OTLP pipeline.
comp/otelcol/otlp/collector.go:158
↓ 3 callers
Function
NewProbe
NewProbe creates a [Probe]
pkg/collector/corechecks/ebpf/probe/ebpfcheck/probe.go:58
↓ 3 callers
Function
NewProbe
NewProbe creates a new instance of Probe. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. T
pkg/process/procutil/mocks/probe.go:102
↓ 3 callers
Function
NewProcessData
NewProcessData returns a new ProcessData from the given config
pkg/process/checks/process_data.go:27
↓ 3 callers
Function
NewProcessDiscoveryCheck
NewProcessDiscoveryCheck returns an instance of the ProcessDiscoveryCheck.
pkg/process/checks/process_discovery_check.go:21
↓ 3 callers
Function
NewProvider
NewProvider creates and returns a new Provider, configured based on the values passed in.
pkg/collector/corechecks/containers/kubelet/provider/cadvisor/provider.go:85
↓ 3 callers
Function
NewPullSubscription
NewPullSubscription constructs a new PullSubscription. Call Stop() when done to release resources.
pkg/util/winutil/eventlog/subscription/subscription.go:121
↓ 3 callers
Function
NewPulumiStackAgent
NewPulumiStackAgent creates a new instance of an Agent connected to an [agent.Installer]. [agent.Installer]: https://pkg.go.dev/github.com/DataDog/te
test/new-e2e/pkg/utils/e2e/client/pulumi_stack_agent.go:35
↓ 3 callers
Function
NewPythonCheckLoader
NewPythonCheckLoader creates an instance of the Python checks loader
pkg/collector/python/loader.go:86
↓ 3 callers
Function
NewRandomNodeID
NewRandomNodeID returns a new random NodeID
pkg/security/utils/graph.go:101
↓ 3 callers
Function
NewReader
NewReader returns a new cgroup reader with given options
pkg/util/cgroups/reader.go:114
↓ 3 callers
Function
NewResetClient
NewResetClient returns an initialized Client resetting connections at the passed resetInterval ("0" means that no reset is performed). The underlying
pkg/trace/config/client.go:30
↓ 3 callers
Function
NewResolver
NewResolver returns a new instance of the hash resolver
pkg/security/resolvers/hash/resolver_linux.go:98
↓ 3 callers
Function
NewRetryableError
NewRetryableError returns a new destination error.
pkg/logs/client/errors.go:14
↓ 3 callers
Function
NewRuntimeSecurityClient
NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient
pkg/security/agent/client.go:183
↓ 3 callers
Function
NewSchedulers
NewSchedulers creates a new, empty Schedulers instance
pkg/logs/schedulers/schedulers.go:28
↓ 3 callers
Function
NewSet
NewSet return a new initialized Set
pkg/metrics/set.go:15
↓ 3 callers
Function
NewSingleLineParser
NewSingleLineParser returns a new SingleLineParser.
pkg/logs/internal/decoder/line_parser.go:39
↓ 3 callers
Function
NewStateNetFlow
NewStateNetFlow initializes a new Netflow/IPFIX producer, with the goflow default producer and the additional fields producer
comp/netflow/goflowlib/netflowstate/netflow.go:51
↓ 3 callers
Function
NewStatsWriter
NewStatsWriter returns a new StatsWriter. It must be started using Run.
pkg/trace/writer/stats.go:58
↓ 3 callers
Function
NewStatsdClient
NewStatsdClient returns a new StatsdClient
pkg/security/tests/statsdclient/statsd_client.go:26
↓ 3 callers
Function
NewStringKeys
NewStringKeys returns a new `StringKeys` build from the provided keys
pkg/security/utils/stringkeys.go:21
↓ 3 callers
Function
NewSubscriber
NewSubscriber returns a new subscriber.
pkg/tagger/subscriber/subscriber.go:29
↓ 3 callers
Function
NewTCPListener
NewTCPListener returns an initialized TCPListener
pkg/logs/launchers/listener/tcp.go:35
↓ 3 callers
Function
NewTrafficCaptureReader
NewTrafficCaptureReader creates a TrafficCaptureReader instance
comp/dogstatsd/replay/reader.go:40
↓ 3 callers
Function
NewTrapServer
NewTrapServer configures and returns a running SNMP traps server.
pkg/snmp/traps/server.go:78
↓ 3 callers
Function
NewTypeFinder
NewTypeFinder creates a new TypeFinder, wrapping the already-parsed DWARF data.
pkg/network/go/dwarfutils/type_finder.go:27
↓ 3 callers
Function
NewUDSStreamListener
NewUDSStreamListener returns an idle UDS datagram Statsd listener
comp/dogstatsd/listeners/uds_stream.go:27
↓ 3 callers
Function
NewUnverifiedRepository
NewUnverifiedRepository creates a new remote config repository that will track config files for a client WITHOUT verifying any TUF related metadata.
pkg/remoteconfig/state/repository.go:118
↓ 3 callers
Function
NormalizePeerService
NormalizePeerService normalizes a span's peer.service and returns an error describing the reason (if any) why the name was modified.
pkg/trace/traceutil/normalize.go:78
↓ 3 callers
Function
NormalizeTagValue
NormalizeTagValue applies some normalization to ensure the tag value matches the backend requirements. It should be used for cases where we have just
pkg/trace/traceutil/normalize.go:125
↓ 3 callers
Function
NormalizeYAMLForGoJQ
Copy from https://github.com/itchyny/gojq/blob/main/cli/yaml.go Copyright (c) 2019-2021 itchyny Workaround for https://github.com/go-yaml/yaml/issues/
pkg/util/jsonquery/yaml.go:20
↓ 3 callers
Method
ObfuscateRedisString
ObfuscateRedisString obfuscates the given Redis command.
pkg/obfuscate/redis.go:87
↓ 3 callers
Function
OpenProcessHandle
OpenProcessHandle attempts to open process handle for reading process memory with fallback to query basic info
pkg/process/procutil/process_windows.go:539
↓ 3 callers
Method
OrchestratorManifest
(msgs []types.ProcessMessageBody, clusterID string)
pkg/aggregator/sender/sender.go:40
↓ 3 callers
Function
Parse
Parse returns an (eventually cached) Code object to run json query
pkg/util/jsonquery/jsonquery.go:25
← previous
next →
4,901–5,000 of 32,574, ranked by callers