Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus exporter #1200

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 11, 2021

  1. Prometheus exporter

    Add a new command: cmsPrometheusExporter
    
    This will start a new HTTP server that listens on a port (defaults to
    8811) for requests to /metrics. At this endpoint many metrics about a
    contest (or all contests) are exposed for Prometheus to be collected.
    Those metrics consider both system values (queue status, connected
    workers, ...) and contest values (submissions, users, questions, ...)
    
    The metrics exposed may leak information about the contest, so it's
    important to secure this endpoint (for example using a reverse proxy, or
    binding localhost).
    
    With this exporter it's possible to build interactive and real-time
    dashboard for monitoring the status of the contest. For example, you can
    find here [1] the dashboard we used at OII 2020, and here [2] the one
    used at an OIS round.
    
    [1]: https://snapshot.raintank.io/dashboard/snapshot/0J29w0KruEiymy6zV30beX98aRG6njiX?orgId=2
    
    [2]: https://snapshot.raintank.io/dashboard/snapshot/JngCBt71ZOJhiyEUC7yxZhS3guZmZYYi?orgId=2
    edomora97 committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    dec4fda View commit details
    Browse the repository at this point in the history