→ What is an application metric?
Technically, a metric is an arbitrary numeric value that your app or server sends to Monibot. Logically, there are many different parameters that are metrics:
- The size of database file / folder
- The number of requests your app has served per hour/day/month
- The number of database transactions your app has executed
- The average duration of database transactions
- The number of registered users
- The number of failed login attempts per hour/day/month
- The number of your server's upgradable software packages
- and many more (anything you can imagine and there's a number for it)
→ What does Monibot do with metrics?
When your application sends metrics, Monibot will collect them, store them in its database, aggregate them and present it to you in a nice chart. Looking at these numbers, you can see how different key metrics of your serer or app develop over time.
→ How do I setup a custom metric with Monibot?
Here are the steps required:
- Login to Monibot, and enter the 'Metrics' section
- Click the 'New Metric' Button
- Enter a human-friendly name of your heartbeat, and type of the metric (counter or gauge).
That's it. From now on, Monibot will listen to metrics from your server and store them for later inspection.
→ How do I send metrics from my server?
There are a number of possibilities to send metrics to Monibot:
curl, accessing our REST API
- With our moni command line tool
- With our Golang SDK
See our Docs for more inforamtion.