Skip to content

Collect metrics while Prometheus scrape #3

Description

@zlodes

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions