Skip to content

Fix Prometheus metric reporting from cron thread #64

Description

@danpalmer

Currently we run 2 threads: API and cron. We are only reporting metrics to Prometheus from the API thread.

https://github.com/prometheus/client_python#multiprocess-mode-gunicorn

This documentation describes how to set up multiprocess support in prometheus_client. It's a little involved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions