henryruhs / chroma-feedback

Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring
https://chroma-feedback.com
Other
130 stars 14 forks source link

Datadog support #111

Closed cpoissonnier closed 2 years ago

cpoissonnier commented 3 years ago

Hello Henry !

That would be great to support Datadog as well. Being able to have a device that turns red when there is too many error in production would be absolutely great.

I might be able to help, but what do you think about this kind of new integration ?

How to implement

Datadog has a python library : https://github.com/DataDog/datadog-api-client-python

We could use the API : https://docs.datadoghq.com/api/latest/monitors/#get-a-monitors-details The endpoint https://api.datadoghq.eu/api/v1/monitor/:id has an overall_state field that can be Alert,Ignored,No Data,OK,Skipped,Unknown,Warn

For the configuration, we will need :

henryruhs commented 3 years ago

@cpoissonnier Sure, I would be happy to add support - but I need an account there and some background information. Are you open for a pairing session?

henryruhs commented 2 years ago

Closed via https://github.com/redaxmedia/chroma-feedback/pull/112