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
↓ 2 callers
Function
newAgentCommandRunner
Create a new instance of agentCommandRunner
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:31
↓ 2 callers
Function
newAgentParams
(confFilePath string, configLoadSecrets bool, options ...func(*Params))
comp/core/config/params.go:66
↓ 2 callers
Function
newAgentStackDefParam
(options ...func(*AgentStackDefParam) error)
test/new-e2e/pkg/utils/e2e/stack_definition.go:94
↓ 2 callers
Function
newAgentVersionFilter
()
cmd/security-agent/subcommands/runtime/command.go:339
↓ 2 callers
Function
newAppSec
New returns a new AppSec instance if it is enabled with the DD_APPSEC_ENABLED env var. An error is returned when AppSec couldn't be started due to com
pkg/serverless/appsec/appsec.go:56
↓ 2 callers
Method
newAutoscalerWatcher
()
pkg/clusteragent/externalmetrics/autoscaler_watcher_test.go:63
↓ 2 callers
Function
newBenchmarkProcessEvent
(argCount int)
pkg/process/events/model/serialization_test.go:17
↓ 2 callers
Function
newBoolEntry
(v bool)
pkg/util/ecs/detection.go:79
↓ 2 callers
Function
newBuilder
(root string, hostname string, localFlare bool)
comp/core/flare/helpers/builder.go:31
↓ 2 callers
Function
newCache
(retention int)
pkg/collector/corechecks/oracle-dbm/cache_wrapper.go:16
↓ 2 callers
Function
newCachedEntity
()
pkg/workloadmeta/cached_entity.go:25
↓ 2 callers
Function
newCheck
(api evtapi.API, sender *mocksender.MockSender, instanceConfig []byte)
pkg/collector/corechecks/windows_event_log/check_test.go:122
↓ 2 callers
Function
newChunksArray
newChunksArray creates a new array which will point only to sampled chunks. The underlying array behind TracePayload.Chunks points to unsampled chunks
pkg/trace/agent/agent.go:415
↓ 2 callers
Function
newClient
newClient creates a new Client
comp/languagedetection/client/client.go:96
↓ 2 callers
Function
newClient
()
pkg/util/kubernetes/apiserver/hpa_controller_test.go:42
↓ 2 callers
Function
newClients
newClients creates a new clients object
pkg/config/remote/service/clients.go:65
↓ 2 callers
Function
newClusterStore
()
pkg/clusteragent/clusterchecks/stores.go:35
↓ 2 callers
Function
newCollectorRegistry
()
pkg/util/containers/metrics/provider/registry.go:68
↓ 2 callers
Function
newCompilationTelemetry
()
pkg/ebpf/bytecode/runtime/telemetry.go:50
↓ 2 callers
Function
newCountBasedContextResolver
(expireCountInterval int, cache *tags.Store)
pkg/aggregator/context_resolver.go:254
↓ 2 callers
Function
newCounter
(name string, help string, tags ...string)
pkg/aggregator/internal/tags/store.go:147
↓ 2 callers
Function
newCreditCardsObfuscator
(cfg config.CreditCardsConfig)
pkg/trace/agent/obfuscate.go:117
↓ 2 callers
Function
newDatadogSingleClient
NewDatadogSingleClient generates a new client to query metrics from Datadog
pkg/util/kubernetes/autoscalers/datadogclient.go:44
↓ 2 callers
Function
newDefaultEventPlatformForwarder
()
pkg/epforwarder/epforwarder.go:452
↓ 2 callers
Function
newDestination
(endpoint config.Endpoint, contentType string, destinationsContext *client.DestinationsContext, timeout tim
pkg/logs/client/http/destination.go:104
↓ 2 callers
Function
newEmptyBatchManager
()
pkg/network/tracer/connection/perf_batching_test.go:156
↓ 2 callers
Function
newEnvFilter
(includeVars []string)
pkg/util/containers/env_vars_filter.go:64
↓ 2 callers
Function
newEnvScanner
(f *os.File)
pkg/security/utils/proc.go:284
↓ 2 callers
Function
newExporter
(logger *zap.Logger, s serializer.MetricSerializer, cfg *exporterConfig)
comp/otelcol/otlp/internal/serializerexporter/exporter.go:138
↓ 2 callers
Function
newFakeMetadataController
(client kubernetes.Interface)
pkg/util/kubernetes/apiserver/metadata_controller_test.go:471
↓ 2 callers
Function
newFakeWPAController
newFakeWPAController creates an AutoscalersController. Use enableWPA(wpa_informers.SharedInformerFactory) to add the event handlers to it. Use Run() t
pkg/util/kubernetes/apiserver/wpa_controller_test.go:176
↓ 2 callers
Function
newGlobalParamsTest
(t *testing.T)
cmd/agent/subcommands/run/command_test.go:44
↓ 2 callers
Function
newHTTPMonitorWithCfg
(t *testing.T, cfg *networkconfig.Config)
pkg/network/usm/monitor_test.go:968
↓ 2 callers
Function
newHashedTagsWithCapacity
(cap int)
pkg/tagset/hashed_tags_pvt.go:16
↓ 2 callers
Function
newIPPortSerializer
nolint: deadcode, unused
pkg/security/serializers/serializers_base.go:188
↓ 2 callers
Function
newInnerNode
newInnerNode creates a non-leaf node for the tree. a non-leaf node has child nodes in the `labelValues` map. a non-leaf node doesn’t use `labelsToAdd`
pkg/collector/corechecks/cluster/ksm/kubernetes_state_label_joins.go:107
↓ 2 callers
Function
newIstioMonitor
(c *config.Config, mgr *manager.Manager)
pkg/network/usm/istio.go:106
↓ 2 callers
Function
newIterableMetric
newIterableMetric creates a new instance of *iterableMetrics `callback` is called in the context of the sender's goroutine each time `Append` is call
pkg/metrics/iterable_metrics.go:37
↓ 2 callers
Function
newKafkaMonitor
(t *testing.T, cfg *config.Config)
pkg/network/usm/kafka_monitor_test.go:491
↓ 2 callers
Function
newKnownImages
()
pkg/workloadmeta/collectors/internal/containerd/image.go:58
↓ 2 callers
Function
newKubeletListener
(t *testing.T)
pkg/autodiscovery/listeners/kubelet_test.go:512
↓ 2 callers
Function
newLastCronJobAggregator
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:141
↓ 2 callers
Function
newLeafNode
newLeafNode creates a leaf node for the tree. a leaf node has no children. So, the `labelValues` map can remain `nil`. a leaf node holds a list of lab
pkg/collector/corechecks/cluster/ksm/kubernetes_state_label_joins.go:117
↓ 2 callers
Function
newLimiter
(limit, global int, expireCountInterval int, keyTagName string, telemetryTagNames []string)
pkg/aggregator/internal/limiter/limiter.go:73
↓ 2 callers
Function
newMapProvider
newMapProvider creates a service.ConfigProvider with the fixed configuration.
comp/otelcol/otlp/map_provider.go:135
↓ 2 callers
Function
newMapperCache
newMapperCache creates a new mapperCache
comp/dogstatsd/mapper/mapper_cache.go:17
↓ 2 callers
Function
newMaxEPSSampler
NewMaxEPSSampler creates a new instance of a maxEPSSampler with the provided maximum amount of events per second.
pkg/trace/event/sampler_max_eps.go:33
↓ 2 callers
Function
newMeasuringForwardingTransport
newMeasuringForwardingTransport creates a forwardingTransport wrapped in a measuringTransport.
pkg/trace/api/transports.go:139
↓ 2 callers
Function
newMetaCollector
()
pkg/util/containers/metrics/provider/metacollector.go:21
↓ 2 callers
Function
newMetricBase
(name string, tagsAndOptions []string)
pkg/network/protocols/telemetry/metric.go:80
↓ 2 callers
Function
newMinTracker
(expiryDuration time.Duration)
pkg/util/kubernetes/autoscalers/datadogexternal_util.go:22
↓ 2 callers
Function
newMockExtractor
()
pkg/process/checks/process_data_test.go:30
↓ 2 callers
Function
newMockProfile
(storeMap map[parameters.StoreKey]string)
test/new-e2e/pkg/runner/mock_profile.go:16
↓ 2 callers
Function
newMockReaderSleep
(ctx context.Context)
pkg/logs/tailers/docker/tailer_test.go:48
↓ 2 callers
Function
newNamedPipeListener
( pipeName string, bufferSize int, packetManager *packets.PacketManager, capture replay.Component)
comp/dogstatsd/listeners/named_pipe_windows.go:51
↓ 2 callers
Function
newNetworkDevicesMetadata
(namespace string, subnet string, collectTime time.Time)
pkg/networkdevice/metadata/payload_utils.go:51
↓ 2 callers
Function
newNodeParser
()
pkg/workloadmeta/collectors/internal/kubeapiserver/node.go:58
↓ 2 callers
Function
newOidTrie
()
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:25
↓ 2 callers
Function
newPerfBatchManager
newPerfBatchManager returns a new `PerfBatchManager` and initializes the eBPF map that holds the tcp_close batch objects.
pkg/network/tracer/connection/perf_batching.go:47
↓ 2 callers
Function
newPipelineStatsProxy
newPipelineStatsProxy creates an http.ReverseProxy which forwards requests to the pipeline stats intake. The tags will be added as a header to all pro
pkg/trace/api/pipeline_stats.go:72
↓ 2 callers
Function
newPrefixer
newPrefixer returns a prefixer that prepends the given prefix to a message.
pkg/logs/client/tcp/prefixer.go:17
↓ 2 callers
Function
newProcessSerializer
(ps *model.Process, e *model.Event, resolvers *resolvers.Resolvers)
pkg/security/serializers/serializers_windows.go:65
↓ 2 callers
Function
newProcessSerializer
(ps *model.Process, e *model.Event, resolvers *resolvers.Resolvers)
pkg/security/serializers/serializers_linux.go:560
↓ 2 callers
Function
newProcessor
(workloadmetaStore workloadmeta.Store, sender sender.Sender, maxNbItem int, maxRetentionTime time.Duration, ho
pkg/collector/corechecks/sbom/processor.go:56
↓ 2 callers
Function
newProcessor
(sender sender.Sender, maxNbItem int, maxRetentionTime time.Duration)
pkg/collector/corechecks/containerimage/processor.go:36
↓ 2 callers
Function
newProcessor
(extractors []Extractor, maxEPSSampler eventSampler)
pkg/trace/event/processor.go:35
↓ 2 callers
Function
newProfileProxy
newProfileProxy creates an http.ReverseProxy which can forward requests to one or more endpoints. The endpoint URLs are passed in through the targets
pkg/trace/api/profiles.go:102
↓ 2 callers
Function
newProvider
(reg *prometheus.Registry)
comp/core/telemetry/telemetry.go:41
↓ 2 callers
Function
newProvider
(numberOfPipelines int, auditor auditor.Auditor, diagnosticMessageReceiver diagnostic.MessageReceiver, process
pkg/logs/pipeline/provider.go:62
↓ 2 callers
Function
newProvider
()
pkg/util/containers/metrics/provider/provider.go:95
↓ 2 callers
Function
newProviderWithClock
newProviderWithClock returns a new provider using the given clock.
pkg/logs/internal/tag/provider.go:41
↓ 2 callers
Function
newQueue
(maxNbItem int, maxRetentionTime clock.Duration, flushCB func([]T), cl clock.Clock)
pkg/util/aggregatingqueue/queue.go:31
↓ 2 callers
Function
newReaderV1
(procPath string, mountPoints map[string]string, baseController string, filter ReaderFilter)
pkg/util/cgroups/readerv1.go:28
↓ 2 callers
Function
newReaderV2
(procPath, cgroupRoot string, filter ReaderFilter)
pkg/util/cgroups/readerv2.go:30
↓ 2 callers
Function
newRedisTokenizer
newRedisTokenizer returns a new tokenizer for the given data.
pkg/obfuscate/redis_tokenizer.go:59
↓ 2 callers
Function
newRemoteConfigProvider
(client *remote.Client, isLeaderNotif <-chan struct{}, telemetryCollector telemetry.TelemetryCollector, cluste
pkg/clusteragent/admission/patch/rc_provider.go:32
↓ 2 callers
Function
newRemoteStore
(targetStore *targetStore)
pkg/config/remote/uptane/remote_store.go:34
↓ 2 callers
Function
newRestartLimiter
(maxRestarts int, interval float64)
pkg/jmxfetch/limiter.go:18
↓ 2 callers
Function
newRouteCache
newRouteCache is a private method used primarily for testing
pkg/network/route_cache.go:108
↓ 2 callers
Function
newSafeBufferWithSize
newSafeBuffer returns a new safe buffer having the given size.
cmd/trace-agent/test/buffer.go:28
↓ 2 callers
Function
newSenders
newSenders returns a list of senders based on the given agent configuration, using climit as the maximum number of concurrent outgoing connections, wr
pkg/trace/writer/sender.go:32
↓ 2 callers
Function
newServerCompat
(cfg config.Reader, log logComponent.Component, capture replay.Component, debug serverdebug.Component, serverl
comp/dogstatsd/server/server.go:199
↓ 2 callers
Function
newServerDebugCompat
(log logComponent.Component, cfg config.Reader)
comp/dogstatsd/serverDebug/serverdebugimpl/debug.go:83
↓ 2 callers
Function
newSession
(api evtapi.API)
pkg/util/winutil/eventlog/session/session.go:45
↓ 2 callers
Method
newSession
(ctx context.Context)
test/new-e2e/system-probe/connector/sshtools/communicator.go:193
↓ 2 callers
Function
newSimpleTest
(tb testing.TB, macros []*rules.MacroDefinition, rules []*rules.RuleDefinition, testDir string)
pkg/security/tests/module_tester.go:1739
↓ 2 callers
Function
newSocketFilterSnooper
newSocketFilterSnooper returns a new socketFilterSnooper
pkg/network/dns/snooper.go:78
↓ 2 callers
Method
newSources
newSources returns true if the config can be mapped to sources.
pkg/logs/schedulers/ad/scheduler.go:124
↓ 2 callers
Function
newStatus
(s string)
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:125
↓ 2 callers
Function
newSubmitterDeps
(t *testing.T)
pkg/process/runner/submitter_test.go:332
↓ 2 callers
Function
newSuite
(stackName string, stackDef *StackDefinition[Env], options ...params.Option)
test/new-e2e/pkg/utils/e2e/e2e_test.go:101
↓ 2 callers
Function
newTCPCloseConsumer
(perfHandler *ddebpf.PerfHandler, batchManager *perfBatchManager)
pkg/network/tracer/connection/tcp_close_consumer.go:43
↓ 2 callers
Function
newTXParts
(requestCapacity, responseCapacity int)
pkg/network/protocols/http/incomplete_stats.go:59
↓ 2 callers
Function
newTestBatchManager
(t *testing.T)
pkg/network/tracer/connection/perf_batching_test.go:164
↓ 2 callers
Function
newTestCheck
(id string)
pkg/collector/worker/check_logger_test.go:30
↓ 2 callers
Function
newTestServerWithLatency
newTestServerWithLatency returns a test server that takes duration d to respond to each request.
pkg/trace/writer/testserver.go:48
↓ 2 callers
Function
newTestWorkloadmetaListener
(t *testing.T)
pkg/autodiscovery/listeners/workloadmeta_test.go:73
↓ 2 callers
Function
newTimeSamplerWorker
(sampler *TimeSampler, flushInterval time.Duration, bufferSize int, metricSamplePool *metrics.MetricSamplePoo
pkg/aggregator/time_sampler_worker.go:44
↓ 2 callers
Function
newTmpFile
(prefix string)
pkg/security/resolvers/netns/resolver.go:537
↓ 2 callers
Function
newTrafficCaptureCompat
(cfg config.Reader)
comp/dogstatsd/replay/capture.go:54
← previous
next →
8,501–8,600 of 32,574, ranked by callers