Overview
Install the Observability Pipelines Worker with the Advanced Package Tool (APT), a free package manager that handles the installation and removal of software on Debian, Ubuntu, and other Linux distributions.
Prerequisites
Before installing, make sure you:
- Are using one of the supported Linux architectures: x86_64 or AMD64
- Have a valid Datadog API key.
- Have an Observability Pipelines Configuration.
Installation
Manual
Run the following commands to set up APT to download through HTTPS:
sudo apt-get update
sudo apt-get install apt-transport-https curl gnupg
Run the following commands to set up the Datadog deb
repo on your system and create a Datadog archive keyring:
sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/datadog-archive-keyring.gpg] https://apt.datadoghq.com/ stable observability-pipelines-worker-1' > /etc/apt/sources.list.d/datadog.list"
sudo touch /usr/share/keyrings/datadog-archive-keyring.gpg
sudo chmod a+r /usr/share/keyrings/datadog-archive-keyring.gpg
curl https://keys.datadoghq.com/DATADOG_APT_KEY_CURRENT.public | sudo gpg --no-default-keyring --keyring /usr/share/keyrings/datadog-archive-keyring.gpg --import --batch
curl https://keys.datadoghq.com/DATADOG_APT_KEY_382E94DE.public | sudo gpg --no-default-keyring --keyring /usr/share/keyrings/datadog-archive-keyring.gpg --import --batch
curl https://keys.datadoghq.com/DATADOG_APT_KEY_F14F620E.public | sudo gpg --no-default-keyring --keyring /usr/share/keyrings/datadog-archive-keyring.gpg --import --batch
Run the following commands to update your local apt
repo and install the Worker:
sudo apt-get update
sudo apt-get install observability-pipelines-worker datadog-signing-keys
Save your Observability Pipelines configuration:
echo "<DD_OP_CONFIG>" > /var/lib/observability-pipelines-worker/observability-pipelines-worker.yaml
Where DD_OP_CONFIG
is the content of your Observability Pipeline configuration that you created in the Observability Pipelines UI.
Start the Worker:
DD_API_KEY=<DD_API_KEY> DD_OP_CONFIG_KEY=<DD_OP_CONFIG_KEY> observability-pipelines-worker run /var/lib/observability-pipelines-worker/observability-pipelines-worker.yaml
Configuration
- The configuration file for the Worker is located at
/etc/observability-pipelines-worker/observability-pipelines-worker.yaml
. - See Configuration Reference for all configuration options.
- See Working with Data and Configuration Reference for configuration examples.
Overview
Install the Observability Pipelines Worker in your Kubernetes environment with Helm Chart.
Prerequisites
Before installing, make sure you have:
- Kubernetes version 1.15.0-0 or above.
- Helm for deploying the datadog-operator.
- Kubectl CLI for installing the datadog-agent.
- A valid Datadog API key.
- An Observability Pipelines Configuration ID.
Installation
Run the following commands to add Datadog Observability Pipelines Worker repository to your Helm repositories:
helm repo add datadog https://helm.datadoghq.com
helm repo update
Install the Observability Pipelines Worker:
helm install opw datadog/observability-pipelines-worker
If you want to install the chart with a specific release name, run the following command, replacing <RELEASE_NAME> with the specific release name:
helm install --name <RELEASE_NAME> \
--set datadog.apiKey=<DD_API_KEY> \
--set datadog.configKey=<DD_OP_CONFIG_KEY> \
datadog/observability-pipelines-worker
You can set your Datadog site using the datadog.site
option.
helm install --name <RELEASE_NAME> \
--set datadog.apiKey=<DD_API_KEY> \
--set datadog.configKey=<DD_OP_CONFIG_KEY> \
datadog/observability-pipelines-worker
By default, this chart creates Secrets for your Observability Pipelines API and configuration keys. However, you can use manually created Secrets by setting the datadog.apiKeyExistingSecret
and/or datadog.appKeyExistingSecret
values. See the next step on how to create a Secret.
Note: Make sure to name the key fields api-key
and config-key
when you create the Secret(s).
After a few minutes, you should see your new pipeline active in Datadog.
Create and provide a Secret that contains your Datadog API and Configuration Keys. To create a Secret that contains your Datadog API key, replace the <DATADOG_API_KEY>
below with the Datadog API key for your organization. This Secret is used in the manifest to deploy the Observability Pipelines Worker.
export DATADOG_SECRET_NAME=datadog-secrets
kubectl create secret generic $DATADOG_SECRET_NAME \
--from-literal api-key="<DD_API_KEY>" \
--from-literal config-key="<DD_OP_CONFIG_KEY>"
Note: This creates a Secret in the default namespace. If you are using a custom namespace, update the namespace flag of the command before running it.
The following installation command references the Secret:
helm install --name <RELEASE_NAME> \
--set datadog.apiKeyExistingSecret=$DATADOG_SECRET_NAME \
--set datadog.configKeyExistingSecret=$DATADOG_SECRET_NAME \
datadog/observability-pipelines-worker
Values
See this table for the the list of values.