jrasell / sherpa

Sherpa is a highly available, fast, and flexible horizontal job scaling for HashiCorp Nomad. It is capable of running in a number of different modes to suit different requirements, and can scale based on Nomad resource metrics or external sources.
Mozilla Public License 2.0
163 stars 8 forks source link

Autoscaling engine? #8

Open MattPumphrey opened 5 years ago

MattPumphrey commented 5 years ago

Hello I love this name btw! The Sherpa helps the nomad goes up and down the mountain! Well I was wondering in the documentation it specifically mentions Prometheus alert manager, but what about Datadog? How would Datadog be hooked up into the Autoscaling Proxy engine?

Currently we are supporting about 12 different nomad clusters in our Organization and we are unified on Datadog as our monitoring source, how would this integrate into this as a scaling solution?

jrasell commented 5 years ago

Hi @MattPumphrey thanks for the question. I have not personally used DataDog before so I do not have a concrete answer to this question. Browsing the docs quickly I found reference to webhooks which would be the way to send API requests to Sherpa when a threshold is broken; such as an application using more than 80% cpu resources. I will sign myself up for a free DataDog account (if one exists) and poke around to see if I can get some better information and examples that can be added to the docs.