Skip to content

prashanth-sams/datadog-automation-dashboard-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Automation Dashboard [DataDog + Terraform]

Live automation dashboard in Datadog using Terraform

Dashboard

Create Dashboard

  • Update api and app keys in /dev/main.tf file

    module "dashboard" {
      source = "../modules/qa"
      api_key = "xxxxxxxxxxxxxxxxxxx"
      app_key = "xxxxxxxxxxxxxxxxxxx"
    }
    
  • Now, init, compile and apply changes in the datadog server

    cd ./dev/
    terraform init
    terraform plan
    terraform apply -auto-approve
    

Test Runner

Run and export your tests results in the DataDog Dashboard; (I used python scripting, but it can be in any languages)

pip install -r requirements.txt
export API_KEY=xxxxxxxxxxxxxxxxxx
python main.py

Setup

FOR MAC

Note:

Use the Datadog Agent app in the system tray, or the command line datadog-agent (located in /usr/local/bin). Enable/disable integrations in /opt/datadog-agent/etc/conf.d

sudo cp '/opt/datadog-agent/etc/com.datadoghq.agent.plist.example' /Library/LaunchDaemons/com.datadoghq.agent.plist

sudo launchctl load -w /Library/LaunchDaemons/com.datadoghq.agent.plist

Releases

No releases published

Packages

No packages published