proxy.py/docs
Abhinav Singh 091ba361ef
Prometheus Metrics (#1447)
* Add metrics server endpoint

* Setup metrics subscriber

* `MetricsSubscriber` as context manager

* Fix lint issues

* `--enable-metrics` flag which setup Metrics subscriber, collector and web endpoint

* Use file storage based mechanism to share internal metrics with prometheus exporter endpoint

* Lint fixes

* Move `_setup_metrics_directory` within subscriber which only run once

* Use global `metrics_lock` via flags

* Remove top-level imports for prometheus_client

* Add `requirements-metrics.txt`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix typo in makefile

* Fix typo

* fix type, lint, flake issues

* Remove event queue prop

* Fix typo

* Give any role to `proxy.http.server.metrics.get_collector`

* rtype

* `emit_request_complete` for web servers

* Fix doc issues

* Refactor

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Rename metrics to start with proxypy_work_

* Startup `MetricsEventSubscriber` as part of proxy

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-11 19:30:18 +05:30
..
_ext Update project test dependencies to ensure green workflow (#1371) 2024-04-11 13:04:10 +05:30
changelog-fragments.d Support --hostnames (#1325) 2023-04-17 09:42:18 +05:30
contributing Integrate Towncrier configuration (#823) 2021-11-29 21:06:01 +05:30
pkg Add initial Sphinx docs 2021-11-18 01:36:13 +01:00
changelog.md v2.4.0rc3 (#882) 2021-12-19 21:30:43 +05:30
conf.py SSH handler/listener plugins (#1398) 2024-04-24 15:13:14 +05:30
glossary.md Add initial Sphinx docs 2021-11-18 01:36:13 +01:00
index.md Integrate Towncrier configuration (#823) 2021-11-29 21:06:01 +05:30
requirements.in Update project test dependencies to ensure green workflow (#1371) 2024-04-11 13:04:10 +05:30
requirements.txt Prometheus Metrics (#1447) 2024-08-11 19:30:18 +05:30
spelling_wordlist.txt `Grout Wildcard` documentation (#1441) 2024-08-06 11:58:58 +05:30