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 Metrics #455

Open
lindenb1 opened this issue Nov 26, 2024 · 1 comment
Open

Prometheus Metrics #455

lindenb1 opened this issue Nov 26, 2024 · 1 comment

Comments

@lindenb1
Copy link
Collaborator

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.

lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 4, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
@lindenb1
Copy link
Collaborator Author

lindenb1 commented Dec 4, 2024

PR available here: #476

lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 4, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 10, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 11, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 11, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 12, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
lindenb1 added a commit to lindenb1/impress that referenced this issue Dec 12, 2024
implements various metrics for users, documents and
the actual django application

Signed-off-by: lindenb1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant