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

✨(backend) Adding /prometheus metrics endpoint #455 #476

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lindenb1
Copy link
Collaborator

@lindenb1 lindenb1 commented Dec 4, 2024

implements various metrics for users, documents and the actual django application

Purpose

The purpose of this implementation is to provide detailed insights into the usage patterns and performance of the Django application. By collecting metrics for users, documents, and the application itself, developers and administrators can monitor activity, identify bottlenecks, and optimize performance. These metrics are also essential for integrating with monitoring systems like Prometheus, enabling observability and proactive issue resolution.

Proposal

Introduce a custom Prometheus metrics collector that gathers and exposes detailed information about user activity, document usage, and the application's operational status.

Key Features

- Monitor user activity over different time periods (e.g., today, last 7 days, last 30 days).
- Track document-related statistics, such as total documents, active documents, and shared documents.
- Expose application-level metrics to ensure seamless integration with Prometheus and related monitoring tools.

@lindenb1 lindenb1 mentioned this pull request Dec 4, 2024
@lindenb1 lindenb1 changed the title ✨(backend) Adding /prometheus logging endpoint #455 ✨(backend) Adding /prometheus metrics endpoint #455 Dec 4, 2024
@lindenb1 lindenb1 force-pushed the prometheus-metrics branch 3 times, most recently from 8bf3a21 to 242cdd4 Compare December 11, 2024 11:05
@lindenb1 lindenb1 force-pushed the prometheus-metrics branch 2 times, most recently from 35fbdc0 to 1410b85 Compare December 12, 2024 11:04
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
None yet
Development

Successfully merging this pull request may close these issues.

1 participant