Golang SDK for https://monibot.io - Easy Server and Application Monitoring.
This module provides a SDK to interact with the Monibot REST API. Monibot is a service that monitors your web apps, servers and metrics, and notifies you if something goes wrong.
$ go get github.com/cvilsmeier/monibot-go
import "github.com/cvilsmeier/monibot-go"
func main() {
// api access requires an apiKey
apiKey := os.Getenv("MONIBOT_API_KEY")
// create new api
api := monibot.NewApi(apiKey)
// send a watchdog heartbeat
api.PostWatchdogHeartbeat("5f6d343a471d87687f51771530c3f2f4")
// increment a counter metric
api.PostMetricInc("c3f2fefae7f6d3e387f1d8761ff17730", 42)
}
- add histogram values functions
- add histogram metric values
- add machine text
- fix disk/net usage samples
- added netRecv and netSend to machine sample
- added diskReads and diskWrites to machine sample
- moved moni command line tool into own repo: https://github.com/cvilsmeier/moni
- first version
MIT License, see LICENSE