comp/

directory
v0.0.0-...-ba0629f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0

README ¶

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,

comp/agent/autoexit

Package autoexit lets setup automatic shutdown mechanism if necessary

comp/agent/cloudfoundrycontainer

Datadog Team: platform-integrations

Package cloudfoundrycontainer provides the cloud foundry container component.

comp/agent/expvarserver

Package expvarserver contains the component type for the expVar server.

comp/agent/jmxlogger

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,

comp/aggregator/demultiplexer

Package demultiplexer defines the aggregator demultiplexer

comp/aggregator/demultiplexerendpoint

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

comp/aggregator/diagnosesendermanager

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,

comp/api/api

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

comp/api/authtoken

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

comp/checks/agentcrashdetect

Datadog Team: windows-kernel-integrations

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

comp/checks/windowseventlog

Datadog Team: windows-agent

Package windowseventlog defines the Windows Event Log check component

comp/checks/winregistry

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.

comp/collector/collector

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.

comp/core/agenttelemetry

Package agenttelemetry implements a component to generate Agent telemetry

comp/core/autodiscovery

Datadog Team: container-platform

Package autodiscovery provides the autodiscovery component for the Datadog Agent

comp/core/config

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

comp/core/configsync

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

comp/core/flare

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

comp/core/gui

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

comp/core/healthprobe

Package healthprobe implements the health check server

comp/core/hostname

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

comp/core/hostname/hostnameinterface

Package hostnameinterface describes the interface for hostname methods

comp/core/log

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

comp/core/lsof

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

comp/core/pid

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.

comp/core/remoteagentregistry

Package remoteagentregistry provides an integration point for remote agents to register and be able to report their status and emit flare data

comp/core/secrets

Package secrets decodes secret values by invoking the configured executable command

comp/core/settings

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

comp/core/status

Package status displays information about the agent.

comp/core/sysprobeconfig

Datadog Team: ebpf-platform

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

comp/core/tagger

Datadog Team: container-platform

Package tagger provides the tagger interface for the Datadog Agent

comp/core/telemetry

Package telemetry implements a component for all agent telemetry.

comp/core/workloadmeta

Datadog Team: container-platform

Package workloadmeta provides the workloadmeta component for the Datadog Agent

comp/dogstatsd (Component Bundle)

Datadog Team: agent-metrics-logs

comp/dogstatsd/pidmap

Package pidmap implements a component for tracking pid and containerID relations

comp/dogstatsd/replay

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

comp/dogstatsd/server

Package server implements a component to run the dogstatsd server

comp/dogstatsd/serverDebug

Package serverdebug implements a component to run the dogstatsd server debug

comp/dogstatsd/statsd

Package statsd implements a component to get a statsd client.

comp/dogstatsd/status

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

comp/forwarder/defaultforwarder

Package defaultforwarder implements a component to send payloads to the backend

comp/forwarder/eventplatform

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

comp/forwarder/eventplatformreceiver

Package eventplatformreceiver implements the receiver for the event platform package

comp/forwarder/orchestrator

Package orchestrator implements the orchestrator forwarder component.

comp/forwarder/orchestrator/orchestratorinterface

Package orchestratorinterface defines the interface for the orchestrator forwarder component.

comp/logs (Component Bundle)

Datadog Team: agent-metrics-logs

comp/logs/adscheduler

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

comp/logs/agent

Package agent contains logs agent component.

comp/logs/integrations

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.

comp/metadata/host

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

comp/metadata/inventoryagent

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

comp/metadata/inventorychecks

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

comp/metadata/inventoryhost

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

comp/metadata/inventoryotel

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

comp/metadata/packagesigning

Datadog Team: agent-delivery

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

comp/metadata/resources

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

comp/metadata/runner

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

comp/metadata/securityagent

Package securityagent is the metadata provider for security-agent process

comp/metadata/systemprobe

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.

comp/ndmtmp/forwarder

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.

comp/netflow/config

Package config exposes the netflow configuration as a component.

comp/netflow/server

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,

comp/networkpath/npcollector

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.

comp/otelcol/collector

Package collector defines the OpenTelemetry Collector component.

comp/otelcol/collector-contrib

Package collectorcontrib defines the OTel collector-contrib component

comp/otelcol/converter

Package converter defines the otel agent converter component.

comp/otelcol/ddflareextension

Package ddflareextension defines the OpenTelemetry Extension component.

comp/otelcol/logsagentpipeline

Package logsagentpipeline contains logs agent pipeline component

comp/process (Component Bundle)

Datadog Team: container-intake

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

comp/process/agent

Package agent contains a process-agent component

comp/process/apiserver

Package apiserver initializes the api server that powers many subcommands.

comp/process/connectionscheck

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

comp/process/containercheck

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

comp/process/expvars

Package expvars initializes the expvar server of the process agent.

comp/process/forwarders

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

comp/process/hostinfo

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

comp/process/processcheck

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

comp/process/processdiscoverycheck

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

comp/process/processeventscheck

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

comp/process/profiler

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

comp/process/rtcontainercheck

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

comp/process/runner

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

comp/process/status

Package status implements the core status component information provider interface

comp/process/submitter

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

comp/remote-config/rcclient
comp/remote-config/rcservice

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

comp/remote-config/rcservicemrf

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

comp/remote-config/rcstatus

Package rcstatus implements the core status component information provider interface

comp/remote-config/rctelemetryreporter

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.

comp/snmptraps/config

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

comp/snmptraps/formatter

Package formatter provides a component for formatting SNMP traps.

comp/snmptraps/forwarder

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

comp/snmptraps/listener

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

comp/snmptraps/oidresolver

Package oidresolver resolves OIDs

comp/snmptraps/server

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.

comp/snmptraps/status

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

comp/systray/systray

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

comp/trace/agent

Package agent provides the trace agent component type.

comp/trace/compression

Package compression provides compression for trace payloads

comp/trace/config

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

comp/trace/etwtracer

Datadog Team: windows-agent

Package etwtracer provides ETW events to the .Net tracer

comp/trace/status

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.

comp/updater/localapi

Package localapi is the updater local api component.

comp/updater/localapiclient

Package localapiclient provides the local API client component.

comp/updater/telemetry

Package telemetry provides the installer telemetry component.

comp/updater/updater

Package updater is the updater component.

comp/autoscaling/datadogclient

Datadog Team: container-integrations

Package datadogclient provides a client to query the datadog API

comp/etw

Datadog Team: windows-agent

Package etw provides an ETW tracing interface

comp/haagent

Datadog Team: ndm-core

Package haagent handles states for HA Agent feature.

comp/languagedetection/client

Datadog Team: container-platform

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

comp/rdnsquerier

Datadog Team: ndm-integrations

Package rdnsquerier provides the reverse DNS querier component.

comp/serializer/compression

Datadog Team: agent-metrics-logs

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

comp/snmpscan

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

Directories ¶

Path Synopsis
Package agent implements the "agent" bundle,
Package agent implements the "agent" bundle,
Package aggregator implements the "aggregator" bundle,
Package aggregator implements the "aggregator" bundle,
api
Package api implements the "api" bundle,
Package api implements the "api" bundle,
autoscaling
Package checks implements the "checks" bundle, for all of the component based agent checks
Package checks implements the "checks" bundle, for all of the component based agent checks
Package collector defines the collector component.
Package collector defines the collector component.
Package core implements the "core" bundle, providing services common to all agent flavors and binaries.
Package core implements the "core" bundle, providing services common to all agent flavors and binaries.
def module
etw
Package etw provides an ETW tracing interface
Package etw provides an ETW tracing interface
Package forwarder implements the "forwarder" bundle
Package forwarder implements the "forwarder" bundle
haagent
languagedetection
Package metadata implements the "metadata" bundle, providing services and support for all the metadata payload sent by the Agent.
Package metadata implements the "metadata" bundle, providing services and support for all the metadata payload sent by the Agent.
Package ndmtmp implements the "ndmtmp" bundle, which exposes the default sender.Sender and the event platform forwarder.
Package ndmtmp implements the "ndmtmp" bundle, which exposes the default sender.Sender and the event platform forwarder.
Package netflow implements the "netflow" bundle, which listens for netflow packets, processes them, and forwards relevant data to the backend.
Package netflow implements the "netflow" bundle, which listens for netflow packets, processes them, and forwards relevant data to the backend.
Package networkpath implements the "networkpath" bundle,
Package networkpath implements the "networkpath" bundle,
Package otelcol contains the OTLP ingest bundle pipeline to be included into the agent components.
Package otelcol contains the OTLP ingest bundle pipeline to be included into the agent components.
Package process implements the "process" bundle, providing components for the Process Agent
Package process implements the "process" bundle, providing components for the Process Agent
rdnsquerier
Package remoteconfig defines the fx options for the Bundle
Package remoteconfig defines the fx options for the Bundle
serializer
snmpscan
Package snmptraps implements the a server that listens for SNMP trap data and sends it to the backend.
Package snmptraps implements the a server that listens for SNMP trap data and sends it to the backend.
Package systray provides a component for the system tray application
Package systray provides a component for the system tray application
Package trace implements the "trace" bundle, providing components for the Trace Agent
Package trace implements the "trace" bundle, providing components for the Trace Agent
Package updater is the updater component.
Package updater is the updater component.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL