Skip to content

Latest commit

 

History

History

comp

Agent Components

This file lists all components defined in this repository, with their package summary. Click the links for more documentation.

comp/agent (Component Bundle)

Datadog Team: agent-shared-components

Package agent implements the "agent" bundle,

Package autoexit lets setup automatic shutdown mechanism if necessary

Datadog Team: platform-integrations

Package cloudfoundrycontainer provides the cloud foundry container component.

Package expvarserver contains the component type for the expVar server.

Datadog Team: agent-metrics-logs

Package jmxlogger implements the logger for JMX.

comp/aggregator (Component Bundle)

Datadog Team: agent-metrics-logs

Package aggregator implements the "aggregator" bundle,

Package demultiplexer defines the aggregator demultiplexer

Package demultiplexerendpoint component provides the /dogstatsd-contexts-dump API endpoint that can register via Fx value groups.

Datadog Team: agent-shared-components

Package diagnosesendermanager defines the sender manager for the local diagnose check

comp/api (Component Bundle)

Datadog Team: agent-shared-components

Package api implements the "api" bundle,

Package def implements the internal Agent API component definitions which exposes endpoints such as config, flare or status

Package authtoken implements the creation and access to the auth_token used to communicate between Agent processes. This component offers two implementations: one to create and fetch the auth_token and another that doesn't create the auth_token file but can fetch it it's available.

comp/checks (Component Bundle)

Datadog Team: agent-metrics-logs

Package checks implements the "checks" bundle, for all of the component based agent checks

Datadog Team: windows-kernel-integrations

Package agentcrashdetect ... /* TODO: detailed doc comment for the component */

Datadog Team: windows-agent

Package windowseventlog defines the Windows Event Log check component

Datadog Team: windows-agent

Package winregistry implements the Windows Registry check

comp/collector (Component Bundle)

Datadog Team: agent-metrics-logs

Package collector defines the collector bundle.

Package collector defines the collector component.

comp/core (Component Bundle)

Datadog Team: agent-shared-components

Package core implements the "core" bundle, providing services common to all agent flavors and binaries.

Datadog Team: agent-metrics-logs

Package agenttelemetry implements a component to generate Agent telemetry

Datadog Team: container-platform

Package autodiscovery provides the autodiscovery component for the Datadog Agent

Package config implements a component to handle agent configuration. This component temporarily wraps pkg/config.

Package configsync implements synchronizing the configuration using the core agent config API

Package flare implements a component to generate flares from the agent.

Package gui provides the GUI server component for the Datadog Agent.

Package healthprobe implements the health check server

Package hostname exposes hostname.Get() as a component.

Package hostnameinterface describes the interface for hostname methods

Package log implements a component to handle logging internal to the agent.

Package lsof provides a flare file with data about files opened by the agent process

Package pid writes the current PID to a file, ensuring that the file doesn't exist or doesn't contain a PID for a running process.

Package secrets decodes secret values by invoking the configured executable command

Package settings defines the interface for the component that manage settings that can be changed at runtime

Package status displays information about the agent.

Datadog Team: ebpf-platform

Package sysprobeconfig implements a component to handle system-probe configuration. This component temporarily wraps pkg/config.

Datadog Team: container-platform

Package tagger provides the tagger component for the Datadog Agent

Package telemetry implements a component for all agent telemetry.

Datadog Team: container-platform

Package workloadmeta provides the workloadmeta component for the Datadog Agent

comp/dogstatsd (Component Bundle)

Datadog Team: agent-metrics-logs

Package pidmap implements a component for tracking pid and containerID relations

Package replay is a component to run the dogstatsd capture/replay

Package server implements a component to run the dogstatsd server

Package serverdebug implements a component to run the dogstatsd server debug

Package statsd implements a component to get a statsd client.

Package status implements the core status component information provider interface

comp/forwarder (Component Bundle)

Datadog Team: agent-processing-and-routing

Package forwarder implements the "forwarder" bundle

Package defaultforwarder implements a component to send payloads to the backend

Package eventplatform contains the logic for forwarding events to the event platform

Package eventplatformreceiver implements the receiver for the event platform package

Package orchestrator implements the orchestrator forwarder component.

Package orchestratorinterface defines the interface for the orchestrator forwarder component.

comp/logs (Component Bundle)

Datadog Team: agent-metrics-logs

Package adscheduler is glue code to connect autodiscovery to the logs agent. It receives and filters events and converts them into log sources.

Package agent contains logs agent component.

Package integrations adds a go interface for integrations to register and send logs.

comp/metadata (Component Bundle)

Datadog Team: agent-shared-components

Package metadata implements the "metadata" bundle, providing services and support for all the metadata payload sent by the Agent.

Package host implements a component to generate the 'host' metadata payload (also known as "v5").

Package inventoryagent implements a component to generate the 'datadog_agent' metadata payload for inventory.

Package inventorychecks implements a component to generate the 'check_metadata' metadata payload for inventory.

Package inventoryhost exposes the interface for the component to generate the 'host_metadata' metadata payload for inventory.

Package inventoryotel implements a component to generate the 'datadog_agent' metadata payload for inventory.

Datadog Team: agent-delivery

Package packagesigning implements a component to generate the 'signing' metadata payload for DD inventory (REDAPL).

Package resources implements a component to generate the 'resources' metadata payload.

Package runner implements a component to generate metadata payload at the right interval.

Package securityagent is the metadata provider for security-agent process

Package systemprobe is the metadata provider for system-probe process

comp/ndmtmp (Component Bundle)

Datadog Team: ndm-core

Package ndmtmp implements the "ndmtmp" bundle, which exposes the default sender.Sender and the event platform forwarder. This is a temporary module intended for ndm internal use until these pieces are properly componentized.

Package forwarder exposes the event platform forwarder for netflow.

comp/netflow (Component Bundle)

Datadog Team: ndm-integrations

Package netflow implements the "netflow" bundle, which listens for netflow packets, processes them, and forwards relevant data to the backend.

Package config exposes the netflow configuration as a component.

Package server implements a component that runs the netflow server. When running, it listens for network traffic according to configured listeners and aggregates traffic data to send to the backend. It does not expose any public methods.

comp/networkpath (Component Bundle)

Datadog Team: Networks network-device-monitoring

Package networkpath implements the "networkpath" bundle,

Package npcollector used to manage network paths

comp/otelcol (Component Bundle)

Datadog Team: opentelemetry

Package otelcol contains the OTLP ingest bundle pipeline to be included into the agent components.

Package collector defines the OpenTelemetry Collector component.

Package collectorcontrib defines the OTel collector-contrib component

Package converter defines the otel agent converter component.

Package ddflareextension defines the OpenTelemetry Extension component.

Package logsagentpipeline contains logs agent pipeline component

comp/process (Component Bundle)

Datadog Team: processes

Package process implements the "process" bundle, providing components for the Process Agent

Package agent contains a process-agent component

Package apiserver initializes the api server that powers many subcommands.

Package connectionscheck implements a component to handle Connections data collection in the Process Agent.

Package containercheck implements a component to handle Container data collection in the Process Agent.

Package expvars initializes the expvar server of the process agent.

Package forwarders implements a component to provide forwarders used by the process agent.

Package hostinfo wraps the hostinfo inside a component. This is useful because it is relied on by other components.

Package processcheck implements a component to handle Process data collection in the Process Agent.

Package processdiscoverycheck implements a component to handle Process Discovery data collection in the Process Agent for customers who do not pay for live processes.

Package processeventscheck implements a component to handle Process Events data collection in the Process Agent.

Package profiler implements a component to handle starting and stopping the internal profiler.

Package rtcontainercheck implements a component to handle realtime Container data collection in the Process Agent.

Package runner implements a component to run data collection checks in the Process Agent.

Package status implements the core status component information provider interface

Package submitter implements a component to submit collected data in the Process Agent to supported Datadog intakes.

comp/remote-config (Component Bundle)

Datadog Team: remote-config

Package remoteconfig defines the fx options for the Bundle

Package rcservice is a remote config service that can run within the agent to receive remote config updates from the DD backend.

Package rcservicemrf is a remote config service that can run in the Agent to receive remote config updates from the DD failover DC backend.

Package rcstatus implements the core status component information provider interface

Package rctelemetryreporter provides a component that sends RC-specific metrics to the DD backend.

comp/snmptraps (Component Bundle)

Datadog Team: ndm-core

Package snmptraps implements the a server that listens for SNMP trap data and sends it to the backend.

Package config implements the configuration type for the traps server and a component that provides it.

Package formatter provides a component for formatting SNMP traps.

Package forwarder defines a component that receives trap data from the listener component, formats it properly, and sends it to the backend.

Package listener implements a component that listens for SNMP messages, parses them, and publishes messages on a channel.

Package oidresolver resolves OIDs

Package server implements a component that runs the traps server. It listens for SNMP trap messages on a configured port, parses and reformats them, and sends the resulting data to the backend.

Package status exposes the expvars we use for status tracking to the component system.

comp/systray (Component Bundle)

Datadog Team: windows-agent

Package systray implements the Datadog Agent Manager System Tray

Package systray provides a component for the system tray application

comp/trace (Component Bundle)

Datadog Team: agent-apm

Package trace implements the "trace" bundle, providing components for the Trace Agent

Package agent provides the trace agent component type.

Package compression provides compression for trace payloads

Package config implements a component to handle trace-agent configuration. This component temporarily wraps pkg/trace/config.

Datadog Team: windows-agent

Package etwtracer provides ETW events to the .Net tracer

Package status implements the core status component information provider interface

comp/updater (Component Bundle)

Datadog Team: fleet windows-agent

Package updater implements the updater component.

Package localapi is the updater local api component.

Package localapiclient provides the local API client component.

Package telemetry provides the installer telemetry component.

Package updater is the updater component.

Datadog Team: container-integrations

Package datadogclient provides a client to query the datadog API

Datadog Team: windows-agent

Package etw provides an ETW tracing interface

Datadog Team: container-platform

Package client implements a component to send process metadata to the Cluster-Agent

Datadog Team: ndm-integrations

Package rdnsquerier provides the reverse DNS querier component.

Datadog Team: agent-metrics-logs

Package compression provides a compression implementation based on the configuration or available build tags.

Datadog Team: ndm-core

Package snmpscan is a light component that can be used to perform a scan or a walk of a particular device