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

(feature) graphana and prometheus metrics #247

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pro1code1hack
Copy link
Contributor

@pro1code1hack pro1code1hack commented Jul 22, 2024

Ticket (if applicable)

Self-hosted support

  • Your feature is implemented for the selfhosted version of Swetrix
  • [ x This PR only updates the production code (e.g. paddle webhooks, CAPTCHA, blog, etc.)

Database migrations

  • Clickhouse / MySQL migrations added for this PR
  • No table schemas changed in this PR

Documentation

  • You have updated the documentation according to your PR
  • This PR did not change any publicly documented endpoints

I have implemented the Grafana feature here, once webhooks are merged, will create a separate issue for adding integrations in apps/production/src/task-manager/task-manager.module.ts

Method Name Metrics
handleUserReports Count of reports sent
handleSubscriberReports Count of reports sent to subscribers
lockDashboards Count of locked dashboards
checkOnlineUsersAlerts Count of online user alerts (telegram, slack, discord)
checkMetricAlerts Count of metrics (telegram, slack, discord)

As well I will create an issue for this task, as I have done planning within my personal notepad, which should be trackable for everyone through an issue

image

image

@pro1code1hack
Copy link
Contributor Author

@Blaumaus , could you play around the FE part of the grafana, please to make visualisation better?

@pro1code1hack pro1code1hack self-assigned this Aug 3, 2024
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.

2 participants