|
|
|
@ -100,21 +100,6 @@ Labels to filter by include:
|
|
|
|
|
|monitor_hostname | The Hostname to be monitored (TCP) |
|
|
|
|
|
|monitor_port | The port to be monitored (TCP) |
|
|
|
|
|
|
|
|
|
|
## Example PromQL queries
|
|
|
|
|
|
|
|
|
|
Assuming we have HTTP monitors in place for bbc.co.uk and google.com:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# Show all response rates gouped by site
|
|
|
|
|
sum(monitor_response_time) by (monitor_name)
|
|
|
|
|
|
|
|
|
|
# Show only the response time for BBC.co.uk
|
|
|
|
|
sum(monitor_reponse_time{monitor_url="https://www.bbc.co.uk/"})
|
|
|
|
|
|
|
|
|
|
# Show the current status of Google.com
|
|
|
|
|
monitor_status{monitor_name="Google"}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# What's Next?
|
|
|
|
|
|
|
|
|
|
I will mark requests/issues to the next milestone.
|
|
|
|
|