This commit is contained in:
Jack Robison 2020-05-04 12:09:09 -04:00
parent d3ffae72fb
commit e3abab6d4d
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,6 @@ import pkg_resources
import certifi
import aiohttp
from prometheus_client import Histogram
from lbry.schema.claim import Claim
log = logging.getLogger(__name__)

View file

@ -86,7 +86,8 @@ class AIOSQLite:
f'write_lock_acquired', 'Time to acquire the write lock', namespace="daemon_database", buckets=HISTOGRAM_BUCKETS
)
held_write_lock_metric = Histogram(
f'write_lock_held', 'Length of time the write lock is held for', namespace="daemon_database", buckets=HISTOGRAM_BUCKETS
f'write_lock_held', 'Length of time the write lock is held for', namespace="daemon_database",
buckets=HISTOGRAM_BUCKETS
)
def __init__(self):