Version 1.0.0
Language EN

Prometheus Metrics

The autoscaler publishes and exposes metrics that can be consumed by Prometheus. Please note that access to the metrics endpoint is restricted and requires an authorization token.

First, create a random token:

$ openssl rand -base64 12
  zFuQGzQetpeaSWix

Next, register the token with the autoscaler:

DRONE_PROMETHEUS_TOKEN=zFuQGzQetpeaSWix

Finally, configure the prometheus scraper:

global:
    scrape_interval: 60s

    scrape_configs:
    - job_name: 'autoscaler'
        bearer_token: zFuQGzQetpeaSWix

        static_configs:
        - targets: ['domain.com']

Getting Help

Enterprise Support
Real-time chat support from the developers that wrote the code.
FAQ
Start here. It has answers to many common questions.
Table of Contents and Reference
Handy when looking for specific information.
Mailing List
Search for information in the mailing list archives, or post a question.