Skip to main content

Prometheus compatible output for monitoring

A guide on how to set up prometheus monitoring can be found here.

Prometheus output is a wellknown standard when it comes to collecting and storing longterm statistics. To activate this within MistServer you will only need to add a Prometheus passphrase within the general settings of MistSever. Afterwards it's immediately accessible by going to http://mistserveraddress:4242/prometheuspassphrase

A JSON version can be accessed as well: http://mistserveraddress:4242/prometheuspassphrase.json

Both endpoints give the latest known value for every statistic available within MistServer another application is expected to scrape & collect this data for later usage. This can be Prometheus itself or Prometheus alike solutions like the slightly more efficient for long term storage Victoria metrics. Both are great open source models to use.

Best practice is to collect these statistics using another server, that way you can use it to monitor multiple servers and their uptime reliably.

tip
  • Standard retention times are often set to a month. You will most likely want to increase this default
  • Anything compatible with Prometheus statistics will work with this endpoint

Showing the analytics

We generally recommend adding Grafana in order to make this data easier to work with. This also allows you to set up monitoring events using the statistics as well. We also have several dashboards available for use.