1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

fix: add metric labels

This commit is contained in:
Rob Ede
2024-06-05 04:54:40 +01:00
parent 8e0b57e658
commit e0ae11ab86
2 changed files with 9 additions and 2 deletions

View File

@ -13,7 +13,8 @@ As stated in the exercise brief, this example will:
- Create a top-level INFO span for each incoming request;
- Track the number of concurrent requests using a gauge;
- Track request duration using a histogram;
- Track the number of handled requests All metrics should include success/failure as a label.
- Track the number of handled requests
- All metrics should include success/failure as a label.
## Usage