Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

DataDog/sample-http-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample HTTP Check

This sample shows how to turn any shell script into a Service Check that Datadog can consume and monitor. The aim is simplicity and time-to-value.

Python implementation

This python implementation uses CURL under the covers for maximum flexibility.

It is packaged with make as an example.

To install dependencies:

make build

To run it:

make run MY_URL=(...) DATADOG_API_KEY=(...) DATADOG_APP_KEY=(...)

If you don't want to us make, you can run it from the command line:

DATADOG_API_KEY=... DATADOG_APP_KEY=... venv/bin/python sample.py my-url

About

## Auto-archived due to inactivity. ## A sample implementation of an http check

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages