Skip to content

Commit

Permalink
Merge pull request #7 from Strady/fill-kwargs
Browse files Browse the repository at this point in the history
Fill kwargs
  • Loading branch information
antonmyronyuk authored Dec 8, 2024
2 parents 962cc9d + df4b1ea commit 0f0ab1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Prometheus summary with quantiles over configurable sliding time window
## Installation

```
pip install prometheus-summary==0.1.2
pip install prometheus-summary==0.1.3
```
This package can be found on [PyPI](https://pypi.org/project/prometheus-summary/).

Expand Down
3 changes: 3 additions & 0 deletions prometheus_summary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def __init__(
registry=registry,
_labelvalues=_labelvalues,
)
self._kwargs['invariants'] = invariants
self._kwargs['max_age_seconds'] = max_age_seconds
self._kwargs['age_buckets'] = age_buckets

def _metric_init(self):
super()._metric_init()
Expand Down
2 changes: 1 addition & 1 deletion prometheus_summary/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.2"
__version__ = "0.1.3"

0 comments on commit 0f0ab1f

Please sign in to comment.