Prometheus-api-client

Latest version: v0.5.5

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

Scan your dependencies

Page 2 of 2

0.0.2b4

Metric` class changes:
* `oldest_date_datetime` changed input type, it can either be a `datetime` object or a `timedelta` object.

`PrometheusConnect` class changes:
* `start_time` and `end_time` parameters don't accept strings any more, they can only be `datetime` objects.
* similarly `chunk_size` parameter can only be a `timedelta` object

`utils.py` added
* These are some utility functions that are not needed for the core functionality of the library, but come in handy when parsing strings for datetimes or timedeltas.

0.0.2b3

Metric object has `start_time` and `end_time` now
Added a `param` parameter for metric get functions, these params are directly passed to the get request

0.0.2b1

Added `Metric` and `MetricsList` class to make metric data manipulation easier.

0.0.1

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.