Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Nybroe authored Jan 13, 2023
1 parent f199a94 commit d421275
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ This metric will be registered under the name `horizon_failed_jobs`.
The default schedule for this is `true`, to disable this event listener,
add `MeterName::FailedJobs->value => false` under a `horizon` key in your `telemetry.php` config file.

#### [`ProcessedJobsListener`](src/Listeners/ProcessedJobsListener.php)

The `ProcessedJobsListener` listener will create an observable counter that will increment each time a job is processed.
This metric will be registered under the name `horizon_processed_jobs`.

The default schedule for this is `true`, to disable this event listener,
add `MeterName::ProcessedJobs->value => false` under a `horizon` key in your `telemetry.php` config file.


## Testing

```bash
Expand Down

0 comments on commit d421275

Please sign in to comment.