Skip to content

redis-field-engineering/Datadog-Vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datadog Vagrant

How to setup and run a datadog for the redis enterprise prometheus endpoint

This can be run as a vagrant container detailed below. If you would like to use to collect Redis Cloud data see Redis Cloud Setup

Pre-reqs

  1. Ansible installation
  2. Vagrant installation
  3. Datadog Application key and API key get here
  4. Terraform to setup the dashboard and alerts get here
  5. Access to the Prometheus Exporter Endpoint

Minimum Setup

This repo contains everything necessary to spin up a local data dog collector and terraform configurations for setting up Datadog to recognize the telemetry data coming in. The absolute minimum required is that you copy the datadog configuration file and populate it while running the terraform (documented below).

Setup Data collection

  1. copy ansible/vars/main.yml.example to ansible/vars/main.yml and add the datadog key
  2. install the necessary Ansible modules
cd ansible && rm -rf roles/* && ansible-galaxy install --roles-path roles -r requirements.yml
  1. vagrant up

Use terraform to build dashboards and setup alerts

  1. cd terraform
  2. cp dashboard.tfvars.example dashboard.tfvars
  3. Modify the dashboard.tfvars file to include your API/App keys
  4. terraform init
  5. terraform apply -var-file=dashboard.tfvars
  6. You should be able to view your dashboard
  7. You should be able to view your monitors

Example Dashboards and Alerts

Dashboard Example Alert Example

Presenation Documenting Usage

PDF Version of the presentation

About

Setup Datadog to collect Redis Enterprise telemetry data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published