Skip to content
Snippets Groups Projects
Commit 9d0e1766 authored by Matej Kramny's avatar Matej Kramny
Browse files

Add to readme, remove comment

parent 6e9f5440
No related branches found
Tags
No related merge requests found
...@@ -30,7 +30,6 @@ type Monitor struct { ...@@ -30,7 +30,6 @@ type Monitor struct {
// Threshold = percentage // Threshold = percentage
Threshold float32 `json:"threshold"` Threshold float32 `json:"threshold"`
// Saturat
ExpectedStatusCode int `json:"expected_status_code"` ExpectedStatusCode int `json:"expected_status_code"`
// compiled to Regexp // compiled to Regexp
ExpectedBody string `json:"expected_body"` ExpectedBody string `json:"expected_body"`
......
...@@ -82,3 +82,10 @@ We made this tool because we felt the need to have our own monitoring software ( ...@@ -82,3 +82,10 @@ We made this tool because we felt the need to have our own monitoring software (
The idea is a stateless program which collects data and pushes it to a central cachet instance. The idea is a stateless program which collects data and pushes it to a central cachet instance.
This gives us power to have an army of geographically distributed loggers and reveal issues in both latency & downtime on client websites. This gives us power to have an army of geographically distributed loggers and reveal issues in both latency & downtime on client websites.
Package usage
-------------
When using `cachet-monitor` as a package in another program, you should follow what `cli/main.go` does. It is important to call `ValidateConfiguration` on `CachetMonitor` and all the monitors inside.
[API Documentation](https://godoc.org/github.com/CastawayLabs/cachet-monitor)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment