Skip to content

Python script to validate a monitor query through Datadog API

Notifications You must be signed in to change notification settings

maludecks/datadog-query-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Datadog query validator

Python script to validate a monitor query through Datadog API using Datadog Python Library.

Installing

In order to run a validation you will need a Datadog API key and an Application key from your Datadog account. See Datadog documentation for more information about how to get them.

Then install Datadog Python Library:

pip install datadog

Create a config.json file from the template:

cp config.dist.json config.json

Replace the placeholders in the config.json with your API and Application key, and add the query information you want to validate.

Running

With the config.json and the installation ready, in your terminal, run the following command:

python validate.py

About

Python script to validate a monitor query through Datadog API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages