MonitoringΒΆ

All molescrape components expose metrics through a HTTP endpoint for Prometheus. To enable monitoring you have to set the environment variables SKYSCRAPER_PROMETHEUS_METRICS_PORT for Skyscraper and CALKX_PROMETHEUS_METRICS_PORT for Calkx. If the environment variables are not set the metrics endpoint will not be available (i.e. there is no default value for these settings).

You can set SKYSCRAPER_PROMETHEUS_METRICS_PORT=10000 for Skyscraper and then start Skyscraper with the command skyscraper. Now visit http://localhost:10000/metrics and you should see the exposed metrics for Prometheus.

You can now point your Prometheus instance to your Skyscraper and Calkx instances to collect metrics data.