This week I was setting up monitoring system using Prometheus.

Some gotchas:

  • Both prometheus and alertmanager accept command line flag -web.external-url to configure URL used to access the site and API. But if the external URL set in alertmanager contains path portion, alert manager will prepend the path to all web endpoints, which means prometheus should also add the path even access alertmanager through localhost:9093.

Monitoring

Game Programming

Misc