forked from stephenhillier/starlette_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Default Metric: Requests In Progress (stephenhillier#27)
* ignore .vscode project folder settings * correction in new metric code block * added pytest dependency into requirements.txt * added request_in_progress gauge * Update starlette_exporter/middleware.py Co-authored-by: Steve Hillier <[email protected]> * Update starlette_exporter/middleware.py Co-authored-by: Steve Hillier <[email protected]> * Update starlette_exporter/middleware.py Co-authored-by: Steve Hillier <[email protected]> * Update starlette_exporter/middleware.py Co-authored-by: Steve Hillier <[email protected]> * remove 'buckets' for gauge metric type * test for requests_in_progress Co-authored-by: Steve Hillier <[email protected]>
- Loading branch information
1 parent
574be1b
commit 9be76c5
Showing
5 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ prometheus-client==0.7.1 | |
starlette==0.12.9 | ||
requests==2.22.0 | ||
aiofiles==0.7.0 | ||
pytest==6.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters