Gds-metrics

Latest version: v0.2.4

Safety actively analyzes 620872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.2.4

Bug fixes

* You can now use versions of prometheus-client newer than v0.4.0.

0.2.3

Bug fixes

* You can no longer use versions of prometheus-client newer than v0.4.0, as they do not currently work with this package

0.2.2

* You can now use versions of prometheus-client newer than v0.2.0 (thanks leohemsted)

0.2.1

* Fixes a bug with uncaught AttributeErrors if the `before_request` function did not run before `teardown_request`

0.2.0

* Makes basic auth optional

0.1.1

* Disabled caching for the metrics endpoint.
* Set the `prometheus_multiproc_dir` before importing prometheus client.
* Fixed duplicate metrics.
* Change the metrics path label to use the request route pattern rather than the actual path to cut down on the number of timeseries returned.
* Move metrics to separate file.
* Add authentication for metrics endpoint when deployed onto PaaS.
* Compress metrics response with gzip if provided in header.
* Labels without matching rule respond with `No endpoint`.
* Expose Counter, Gauge, Summary, Histogram to users without exposing the Prometheus client library.
* Add a `child_exit` hook for gunicorn multiprocessing support.
* Added flake8 support and tests for the code.
* Added a Makefile to make it easier to run tests and publish the library to PyPI.
* Updated the README.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.