stakater / IngressMonitorController

A Kubernetes controller to watch ingresses and create liveness alerts for your apps/microservices in UptimeRobot, StatusCake, Pingdom, etc. – [✩Star] if you're using it!
https://stakater.com
Apache License 2.0
599 stars 104 forks source link

Add support for DataDog Synthetics #165

Open alandotcom opened 5 years ago

alandotcom commented 5 years ago

Datadog's uptime monitoring service, Synthetics, can now be configured via API.

I want to start looking into how to do at, but in case anyone else is working on it, let me know!

Datadog Synthetics blog post DataDog Synthetics API

rasheedamir commented 5 years ago

@lumberj that will be awesome! Looking forward to see the PR

alandotcom commented 5 years ago

@rasheedamir would you be opposed to using something like https://github.com/dnaeon/go-vcr for the tests? I would be able to run the tests against my account, but I'm not sure we can get a free account to test against. I can also reach out to Datadog and see what they can do.

rasheedamir commented 5 years ago

@waseem-h thoughts?

waseem-h commented 5 years ago

@lumberj I don't have anything against mocking. Feel free to use go-vcr, gock or httpmock or any other library as long as it works for the usecase. I personally think that its good to use them for testing API's that are not free

alandotcom commented 5 years ago

Sounds good. I'll be able to record test cases against our account. Do you have experience with either go-vcr or httpmock? I haven't used either.

alandotcom commented 5 years ago

I started writing tests today, but they're API is broken / not working properly, so this is probably going to take another week or two at least

alandotcom commented 5 years ago

Still working on this, I just haven't had time to wrap up the testing

alandotcom commented 5 years ago

No longer working on this, as we decided Synthetics is too expensive for our use case. I am happy to help anyone else get started and share my work

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 30 days since being marked as stale.

karl-johan-grahn commented 1 year ago

Reopening issues that inadvertently were closed as stale