CopperEgg’s Custom Metrics supports monitoring of data samples from any source (hence the name ‘custom’) that are sent as input using simple CURL requests.
Figure 1: “Redis Info” is a custom metric group that contains many custom metrics
A custom metric is simply a quantity that we want to measure, record, chart and alert on. A custom metric group as the name suggests is a collection of custom metrics that are recorded from the same source.
Data samples can be posted against these custom metrics on a configurable frequency [every 15s, 60s, 300s, 900s and 3600s] using CURL as shown here.
Figure 2: A Dashboard with configurable widgets showing data for custom metrics from the group “Redis Info”
You can create Dashboard with multiple widgets displaying the data samples for custom metrics.
Figure 3: A new alert being added that will be triggered when Keyspace_misses metric exceed a threshold of 20 within a time period of 1 min
Alerts can also be configured against any of these custom metrics. CopperEgg supports notifying different sets of users with differing notification mechanisms for each alert type.
Notification mechanisms include:
- SMS
- PagerDuty
- Campfire
- Slack
- OpsGenie
Webhooks are also exposed for clients to configure custom notification mechanisms. More about setting up website probe alerts can be found here.