Skip to content

gccoulter/Datadog-API-Shell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datadog-API-Shell

A few handy Shell scripts leveraging the Datadog API and cURL

git clone git@github.com:starryknight620/Datadog-API-Shell.git

Pre-requisites

  • A working terminal with cURL installed

  • Your Datadog API Key and Application Key in a sticky/note for easy copy/paste. We'll be using them a few times so make sure to have them handy. This will be used to populate the following env vars in your script:

  • DD_API_KEY

  • DD_APP_KEY

  • jq installed to parse your JSON output, see below for install steps with brew

  • If you have brew installed:

brew install jq
chmod +x *.sh
  • The following commands will execute the scripts. We'll run them one by one in the following order:
# to create our tests
./synthetics_api.sh 
# to get the test IDs
./get_test.sh 
# to pause the tests from running
./synthetics_bulk_pause.sh 

About

A few handy Shell scripts leveraging the Datadog API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%