prometheus
This commit is contained in:
parent
5bb138c32c
commit
f7f91389ee
2 changed files with 1 additions and 3 deletions
|
@ -11,13 +11,11 @@ from functools import partial, lru_cache
|
||||||
from numbers import Number
|
from numbers import Number
|
||||||
from asyncio import Queue
|
from asyncio import Queue
|
||||||
from scribe.common import RPCError, CodeMessageError
|
from scribe.common import RPCError, CodeMessageError
|
||||||
from scribe import PROMETHEUS_NAMESPACE
|
|
||||||
|
|
||||||
|
|
||||||
HISTOGRAM_BUCKETS = (
|
HISTOGRAM_BUCKETS = (
|
||||||
.005, .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, 15.0, 20.0, 30.0, 60.0, float('inf')
|
.005, .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, 15.0, 20.0, 30.0, 60.0, float('inf')
|
||||||
)
|
)
|
||||||
NAMESPACE = "scribe"
|
|
||||||
|
|
||||||
|
|
||||||
SignatureInfo = namedtuple('SignatureInfo', 'min_args max_args '
|
SignatureInfo = namedtuple('SignatureInfo', 'min_args max_args '
|
||||||
|
|
|
@ -31,7 +31,7 @@ class MemPoolTxSummary:
|
||||||
has_unconfirmed_inputs = attr.ib()
|
has_unconfirmed_inputs = attr.ib()
|
||||||
|
|
||||||
|
|
||||||
NAMESPACE = f"{PROMETHEUS_NAMESPACE}_mempool"
|
NAMESPACE = f"{PROMETHEUS_NAMESPACE}_hub"
|
||||||
HISTOGRAM_BUCKETS = (
|
HISTOGRAM_BUCKETS = (
|
||||||
.005, .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, 15.0, 20.0, 30.0, 60.0, float('inf')
|
.005, .01, .025, .05, .075, .1, .25, .5, .75, 1.0, 2.5, 5.0, 7.5, 10.0, 15.0, 20.0, 30.0, 60.0, float('inf')
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue