Skip to content

Prometheus Metrics #455

@lindenb1

Description

@lindenb1

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
I wanted to ask if there are already plans or discussions in place for bringing Prometheus metrics support upstream for the Django backend. If not, it might be worth exploring how we can expose relevant metrics to improve monitoring and observability. We could use https://github.com/korfuri/django-prometheus to implement this functionality. The referenced library is actively maintained and has worked well for me in recent projects.

Describe the solution you'd like
Adding Prometheus metrics to the Django backend to track key performance indicators such as request counts, latencies, error rates, and custom application metrics. If this is already planned, it would be great to know the scope and timeline. If not, perhaps we can discuss any drawbacks or prerequisites for implementing it.

Describe alternatives you've considered
Alternative solutions might include using third-party plugins for metrics or implementing metrics logging with other tools, but Prometheus seems like the most standardized and widely supported approach, especially when running the app on top of Kubernetes.

Discovery, Documentation, Adoption, Migration Strategy
For adoption, we could start with basic metrics like HTTP request stats and then expand to custom application-level metrics. This would require documentation updates to explain how to enable and query these metrics in Prometheus-compatible systems.

Do you want to work on it through a Pull Request?
I am happy to contribute to the effort or collaborate with others to make this happen. If anyone is already working on it, I'd appreciate any updates or pointers to relevant discussions or branches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions