Skip to content

Commit f1b143b

Browse files
author
a.abramenko
committed
invariants, max_age_seconds, age_buckets are saved in _kwargs attribute
1 parent 962cc9d commit f1b143b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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()

0 commit comments

Comments
 (0)