Skip to content

Commit

Permalink
docs: add backend timeline with metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
castaneai committed May 17, 2024
1 parent 1b8e6f9 commit bf02f6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Binary file added docs/backend_timeline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ minimatch Backend exposes metrics in OpenTelemetry format to help monitor perfor
| `minimatch.backend.assigner_latency` | Histogram | Latency of Assigner calls. |
| `minimatch.backend.assign_to_redis_latency` | Histogram | Latency to write Assign results to Redis. If this value is slow, you may have a Redis performance problem or a lock conflict with tickets_fetched or other backends. |

## Backend Timeline

The following timeline shows the process flow of minimatch Backend and the corresponding metrics.

![](./backend_timeline.png)


## Meter provider

minimatch uses the global `MeterProvider` by default.
Expand Down

0 comments on commit bf02f6b

Please sign in to comment.