Skip to content

Commit 0f0ab1f

Browse files
Merge pull request #7 from Strady/fill-kwargs
Fill kwargs
2 parents 962cc9d + df4b1ea commit 0f0ab1f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Prometheus summary with quantiles over configurable sliding time window
44
## Installation
55

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

prometheus_summary/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def __init__(
4040
registry=registry,
4141
_labelvalues=_labelvalues,
4242
)
43+
self._kwargs['invariants'] = invariants
44+
self._kwargs['max_age_seconds'] = max_age_seconds
45+
self._kwargs['age_buckets'] = age_buckets
4346

4447
def _metric_init(self):
4548
super()._metric_init()

prometheus_summary/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.2"
1+
__version__ = "0.1.3"

0 commit comments

Comments
 (0)