canonical / snapcraft.io

The official website's repository for the Snap store
https://snapcraft.io/
Other
144 stars 107 forks source link

PrometheusLockTimeout: Timeout acquiring prometheus lock #2460

Open nottrobin opened 4 years ago

nottrobin commented 4 years ago

https://sentry.is.canonical.com/canonical/snapcraft-io/issues/846/?referrer=github_plugin

PrometheusLockTimeout: Timeout acquiring prometheus lock
  File "talisker/endpoints.py", line 273, in metrics
    data = collect_metrics()
  File "talisker/prometheus.py", line 173, in collect_metrics
    with try_prometheus_lock():
  File "python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "talisker/prometheus.py", line 86, in try_prometheus_lock_normal
    raise PrometheusLockTimeout('Timeout acquiring prometheus lock')

Failed to acquire prometheus lock to collect metrics
jkfran commented 4 years ago

Looks like this issue is gone, probably after upgrading Talisker when we did the changes to start using flask-base.

Lukewh commented 2 years ago

Looks like it's back :D