Tabs

Overview

This page contains examples of the tabs component.

Examples

Two tabs

Install the Datadog Python library:

install.sh

pip install datadog

Install the Datadog Ruby library:

install.sh

gem install datadog

Three tabs

Run the following command to install the Agent on Linux:

install.sh

DD_API_KEY=YOUR_API_KEY bash -c "$(curl -L https://install.datadoghq.com/scripts/install_script.sh)"

Run the following command to install the Agent on macOS:

install.sh

DD_API_KEY=YOUR_API_KEY bash -c "$(curl -L https://install.datadoghq.com/scripts/install_mac_os.sh)"

Download and run the MSI installer from the Datadog Agent integration page.

Tabs with plain text

The Datadog Agent is lightweight software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog.

The Agent requires:

  • A supported operating system
  • A valid API key
  • Network access to the Datadog intake endpoint

Tabs with mixed content

Update the main configuration file:

datadog.yaml

api_key: YOUR_API_KEY
logs_enabled: true

Restart the Agent after modifying the configuration.

Run the status command to verify the Agent is running:

status.sh

datadog-agent status

Look for API Key status: OK in the output.

Tabs with tables

ParameterDescription
api_keyYour Datadog API key. Required.
siteThe Datadog site to send data to. Defaults to datadoghq.com.
ParameterDescription
hostnameOverride the detected hostname.
tagsA list of tags to attach to every metric, event, and service check.

Many tabs (pill layout)

Install the Agent on Amazon Linux using the RPM package.

Install the Agent on CentOS or Red Hat using the RPM package.

Install the Agent on Debian or Ubuntu using the DEB package.

Install the Agent on Fedora using the RPM package.

Install the Agent on SUSE or openSUSE using the RPM package.

Install the Agent on macOS using the DMG package.

Install the Agent on Windows using the MSI installer.

Run the Agent as a Docker container.

Deploy the Agent on Kubernetes using the Helm chart.