MCPcopy Create free account

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

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

↓ 2 callersFunctionnewAgentCommandRunner
Create a new instance of agentCommandRunner
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:31
↓ 2 callersFunctionnewAgentParams
(confFilePath string, configLoadSecrets bool, options ...func(*Params))
comp/core/config/params.go:66
↓ 2 callersFunctionnewAgentStackDefParam
(options ...func(*AgentStackDefParam) error)
test/new-e2e/pkg/utils/e2e/stack_definition.go:94
↓ 2 callersFunctionnewAgentVersionFilter
()
cmd/security-agent/subcommands/runtime/command.go:339
↓ 2 callersFunctionnewAppSec
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 callersMethodnewAutoscalerWatcher
()
pkg/clusteragent/externalmetrics/autoscaler_watcher_test.go:63
↓ 2 callersFunctionnewBenchmarkProcessEvent
(argCount int)
pkg/process/events/model/serialization_test.go:17
↓ 2 callersFunctionnewBoolEntry
(v bool)
pkg/util/ecs/detection.go:79
↓ 2 callersFunctionnewBuilder
(root string, hostname string, localFlare bool)
comp/core/flare/helpers/builder.go:31
↓ 2 callersFunctionnewCache
(retention int)
pkg/collector/corechecks/oracle-dbm/cache_wrapper.go:16
↓ 2 callersFunctionnewCachedEntity
()
pkg/workloadmeta/cached_entity.go:25
↓ 2 callersFunctionnewCheck
(api evtapi.API, sender *mocksender.MockSender, instanceConfig []byte)
pkg/collector/corechecks/windows_event_log/check_test.go:122
↓ 2 callersFunctionnewChunksArray
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 callersFunctionnewClient
newClient creates a new Client
comp/languagedetection/client/client.go:96
↓ 2 callersFunctionnewClient
()
pkg/util/kubernetes/apiserver/hpa_controller_test.go:42
↓ 2 callersFunctionnewClients
newClients creates a new clients object
pkg/config/remote/service/clients.go:65
↓ 2 callersFunctionnewClusterStore
()
pkg/clusteragent/clusterchecks/stores.go:35
↓ 2 callersFunctionnewCollectorRegistry
()
pkg/util/containers/metrics/provider/registry.go:68
↓ 2 callersFunctionnewCompilationTelemetry
()
pkg/ebpf/bytecode/runtime/telemetry.go:50
↓ 2 callersFunctionnewCountBasedContextResolver
(expireCountInterval int, cache *tags.Store)
pkg/aggregator/context_resolver.go:254
↓ 2 callersFunctionnewCounter
(name string, help string, tags ...string)
pkg/aggregator/internal/tags/store.go:147
↓ 2 callersFunctionnewCreditCardsObfuscator
(cfg config.CreditCardsConfig)
pkg/trace/agent/obfuscate.go:117
↓ 2 callersFunctionnewDatadogSingleClient
NewDatadogSingleClient generates a new client to query metrics from Datadog
pkg/util/kubernetes/autoscalers/datadogclient.go:44
↓ 2 callersFunctionnewDefaultEventPlatformForwarder
()
pkg/epforwarder/epforwarder.go:452
↓ 2 callersFunctionnewDestination
(endpoint config.Endpoint, contentType string, destinationsContext *client.DestinationsContext, timeout tim
pkg/logs/client/http/destination.go:104
↓ 2 callersFunctionnewEmptyBatchManager
()
pkg/network/tracer/connection/perf_batching_test.go:156
↓ 2 callersFunctionnewEnvFilter
(includeVars []string)
pkg/util/containers/env_vars_filter.go:64
↓ 2 callersFunctionnewEnvScanner
(f *os.File)
pkg/security/utils/proc.go:284
↓ 2 callersFunctionnewExporter
(logger *zap.Logger, s serializer.MetricSerializer, cfg *exporterConfig)
comp/otelcol/otlp/internal/serializerexporter/exporter.go:138
↓ 2 callersFunctionnewFakeMetadataController
(client kubernetes.Interface)
pkg/util/kubernetes/apiserver/metadata_controller_test.go:471
↓ 2 callersFunctionnewFakeWPAController
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 callersFunctionnewGlobalParamsTest
(t *testing.T)
cmd/agent/subcommands/run/command_test.go:44
↓ 2 callersFunctionnewHTTPMonitorWithCfg
(t *testing.T, cfg *networkconfig.Config)
pkg/network/usm/monitor_test.go:968
↓ 2 callersFunctionnewHashedTagsWithCapacity
(cap int)
pkg/tagset/hashed_tags_pvt.go:16
↓ 2 callersFunctionnewIPPortSerializer
nolint: deadcode, unused
pkg/security/serializers/serializers_base.go:188
↓ 2 callersFunctionnewInnerNode
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 callersFunctionnewIstioMonitor
(c *config.Config, mgr *manager.Manager)
pkg/network/usm/istio.go:106
↓ 2 callersFunctionnewIterableMetric
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 callersFunctionnewKafkaMonitor
(t *testing.T, cfg *config.Config)
pkg/network/usm/kafka_monitor_test.go:491
↓ 2 callersFunctionnewKnownImages
()
pkg/workloadmeta/collectors/internal/containerd/image.go:58
↓ 2 callersFunctionnewKubeletListener
(t *testing.T)
pkg/autodiscovery/listeners/kubelet_test.go:512
↓ 2 callersFunctionnewLastCronJobAggregator
()
pkg/collector/corechecks/cluster/ksm/kubernetes_state_aggregators.go:141
↓ 2 callersFunctionnewLeafNode
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 callersFunctionnewLimiter
(limit, global int, expireCountInterval int, keyTagName string, telemetryTagNames []string)
pkg/aggregator/internal/limiter/limiter.go:73
↓ 2 callersFunctionnewMapProvider
newMapProvider creates a service.ConfigProvider with the fixed configuration.
comp/otelcol/otlp/map_provider.go:135
↓ 2 callersFunctionnewMapperCache
newMapperCache creates a new mapperCache
comp/dogstatsd/mapper/mapper_cache.go:17
↓ 2 callersFunctionnewMaxEPSSampler
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 callersFunctionnewMeasuringForwardingTransport
newMeasuringForwardingTransport creates a forwardingTransport wrapped in a measuringTransport.
pkg/trace/api/transports.go:139
↓ 2 callersFunctionnewMetaCollector
()
pkg/util/containers/metrics/provider/metacollector.go:21
↓ 2 callersFunctionnewMetricBase
(name string, tagsAndOptions []string)
pkg/network/protocols/telemetry/metric.go:80
↓ 2 callersFunctionnewMinTracker
(expiryDuration time.Duration)
pkg/util/kubernetes/autoscalers/datadogexternal_util.go:22
↓ 2 callersFunctionnewMockExtractor
()
pkg/process/checks/process_data_test.go:30
↓ 2 callersFunctionnewMockProfile
(storeMap map[parameters.StoreKey]string)
test/new-e2e/pkg/runner/mock_profile.go:16
↓ 2 callersFunctionnewMockReaderSleep
(ctx context.Context)
pkg/logs/tailers/docker/tailer_test.go:48
↓ 2 callersFunctionnewNamedPipeListener
( pipeName string, bufferSize int, packetManager *packets.PacketManager, capture replay.Component)
comp/dogstatsd/listeners/named_pipe_windows.go:51
↓ 2 callersFunctionnewNetworkDevicesMetadata
(namespace string, subnet string, collectTime time.Time)
pkg/networkdevice/metadata/payload_utils.go:51
↓ 2 callersFunctionnewNodeParser
()
pkg/workloadmeta/collectors/internal/kubeapiserver/node.go:58
↓ 2 callersFunctionnewOidTrie
()
pkg/collector/corechecks/snmp/internal/common/oidtrie.go:25
↓ 2 callersFunctionnewPerfBatchManager
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 callersFunctionnewPipelineStatsProxy
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 callersFunctionnewPrefixer
newPrefixer returns a prefixer that prepends the given prefix to a message.
pkg/logs/client/tcp/prefixer.go:17
↓ 2 callersFunctionnewProcessSerializer
(ps *model.Process, e *model.Event, resolvers *resolvers.Resolvers)
pkg/security/serializers/serializers_windows.go:65
↓ 2 callersFunctionnewProcessSerializer
(ps *model.Process, e *model.Event, resolvers *resolvers.Resolvers)
pkg/security/serializers/serializers_linux.go:560
↓ 2 callersFunctionnewProcessor
(workloadmetaStore workloadmeta.Store, sender sender.Sender, maxNbItem int, maxRetentionTime time.Duration, ho
pkg/collector/corechecks/sbom/processor.go:56
↓ 2 callersFunctionnewProcessor
(sender sender.Sender, maxNbItem int, maxRetentionTime time.Duration)
pkg/collector/corechecks/containerimage/processor.go:36
↓ 2 callersFunctionnewProcessor
(extractors []Extractor, maxEPSSampler eventSampler)
pkg/trace/event/processor.go:35
↓ 2 callersFunctionnewProfileProxy
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 callersFunctionnewProvider
(reg *prometheus.Registry)
comp/core/telemetry/telemetry.go:41
↓ 2 callersFunctionnewProvider
(numberOfPipelines int, auditor auditor.Auditor, diagnosticMessageReceiver diagnostic.MessageReceiver, process
pkg/logs/pipeline/provider.go:62
↓ 2 callersFunctionnewProvider
()
pkg/util/containers/metrics/provider/provider.go:95
↓ 2 callersFunctionnewProviderWithClock
newProviderWithClock returns a new provider using the given clock.
pkg/logs/internal/tag/provider.go:41
↓ 2 callersFunctionnewQueue
(maxNbItem int, maxRetentionTime clock.Duration, flushCB func([]T), cl clock.Clock)
pkg/util/aggregatingqueue/queue.go:31
↓ 2 callersFunctionnewReaderV1
(procPath string, mountPoints map[string]string, baseController string, filter ReaderFilter)
pkg/util/cgroups/readerv1.go:28
↓ 2 callersFunctionnewReaderV2
(procPath, cgroupRoot string, filter ReaderFilter)
pkg/util/cgroups/readerv2.go:30
↓ 2 callersFunctionnewRedisTokenizer
newRedisTokenizer returns a new tokenizer for the given data.
pkg/obfuscate/redis_tokenizer.go:59
↓ 2 callersFunctionnewRemoteConfigProvider
(client *remote.Client, isLeaderNotif <-chan struct{}, telemetryCollector telemetry.TelemetryCollector, cluste
pkg/clusteragent/admission/patch/rc_provider.go:32
↓ 2 callersFunctionnewRemoteStore
(targetStore *targetStore)
pkg/config/remote/uptane/remote_store.go:34
↓ 2 callersFunctionnewRestartLimiter
(maxRestarts int, interval float64)
pkg/jmxfetch/limiter.go:18
↓ 2 callersFunctionnewRouteCache
newRouteCache is a private method used primarily for testing
pkg/network/route_cache.go:108
↓ 2 callersFunctionnewSafeBufferWithSize
newSafeBuffer returns a new safe buffer having the given size.
cmd/trace-agent/test/buffer.go:28
↓ 2 callersFunctionnewSenders
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 callersFunctionnewServerCompat
(cfg config.Reader, log logComponent.Component, capture replay.Component, debug serverdebug.Component, serverl
comp/dogstatsd/server/server.go:199
↓ 2 callersFunctionnewServerDebugCompat
(log logComponent.Component, cfg config.Reader)
comp/dogstatsd/serverDebug/serverdebugimpl/debug.go:83
↓ 2 callersFunctionnewSession
(api evtapi.API)
pkg/util/winutil/eventlog/session/session.go:45
↓ 2 callersMethodnewSession
(ctx context.Context)
test/new-e2e/system-probe/connector/sshtools/communicator.go:193
↓ 2 callersFunctionnewSimpleTest
(tb testing.TB, macros []*rules.MacroDefinition, rules []*rules.RuleDefinition, testDir string)
pkg/security/tests/module_tester.go:1739
↓ 2 callersFunctionnewSocketFilterSnooper
newSocketFilterSnooper returns a new socketFilterSnooper
pkg/network/dns/snooper.go:78
↓ 2 callersMethodnewSources
newSources returns true if the config can be mapped to sources.
pkg/logs/schedulers/ad/scheduler.go:124
↓ 2 callersFunctionnewStatus
(s string)
test/new-e2e/pkg/utils/e2e/client/agent_cmd_runner.go:125
↓ 2 callersFunctionnewSubmitterDeps
(t *testing.T)
pkg/process/runner/submitter_test.go:332
↓ 2 callersFunctionnewSuite
(stackName string, stackDef *StackDefinition[Env], options ...params.Option)
test/new-e2e/pkg/utils/e2e/e2e_test.go:101
↓ 2 callersFunctionnewTCPCloseConsumer
(perfHandler *ddebpf.PerfHandler, batchManager *perfBatchManager)
pkg/network/tracer/connection/tcp_close_consumer.go:43
↓ 2 callersFunctionnewTXParts
(requestCapacity, responseCapacity int)
pkg/network/protocols/http/incomplete_stats.go:59
↓ 2 callersFunctionnewTestBatchManager
(t *testing.T)
pkg/network/tracer/connection/perf_batching_test.go:164
↓ 2 callersFunctionnewTestCheck
(id string)
pkg/collector/worker/check_logger_test.go:30
↓ 2 callersFunctionnewTestServerWithLatency
newTestServerWithLatency returns a test server that takes duration d to respond to each request.
pkg/trace/writer/testserver.go:48
↓ 2 callersFunctionnewTestWorkloadmetaListener
(t *testing.T)
pkg/autodiscovery/listeners/workloadmeta_test.go:73
↓ 2 callersFunctionnewTimeSamplerWorker
(sampler *TimeSampler, flushInterval time.Duration, bufferSize int, metricSamplePool *metrics.MetricSamplePoo
pkg/aggregator/time_sampler_worker.go:44
↓ 2 callersFunctionnewTmpFile
(prefix string)
pkg/security/resolvers/netns/resolver.go:537
↓ 2 callersFunctionnewTrafficCaptureCompat
(cfg config.Reader)
comp/dogstatsd/replay/capture.go:54
← previousnext →8,501–8,600 of 32,574, ranked by callers