Beginning of incident reporting
This commit is contained in:
11
main.go
11
main.go
@@ -6,10 +6,17 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
monitors := []cachet.Monitor{
|
||||
cachet.Monitor{
|
||||
monitors := []*cachet.Monitor{
|
||||
/*&cachet.Monitor{
|
||||
Url: "https://nodegear.io/ping",
|
||||
MetricId: 1,
|
||||
Threshold: 80.0,
|
||||
},*/
|
||||
&cachet.Monitor{
|
||||
Url: "http://localhost:1337",
|
||||
MetricId: 1,
|
||||
Threshold: 80.0,
|
||||
ExpectedStatusCode: 200,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user