Skip to content

Fix Prometheus metric reporting from cron thread #64

@danpalmer

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.

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