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

Collect metrics while Prometheus scrape #3

Open
zlodes opened this issue Aug 5, 2023 · 0 comments
Open

Collect metrics while Prometheus scrape #3

zlodes opened this issue Aug 5, 2023 · 0 comments

Comments

@zlodes
Copy link
Owner

zlodes commented Aug 5, 2023

Now there are two ways to collect metrics:

  1. Schedulable Collector: collect metrics every minute using Laravel Scheduler
  2. Collect metrics on events: update metrics directly on any app action or event

It would be great to have an ability to collect metrics when the Prometheus is scrapping the target.

Warning
These Collectors MUST NOT use any external resources to update a metric to keep scrape time as less as it's possible!

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

No branches or pull requests

1 participant