Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

New extremities histogram metric breaks metrics #5452

Closed
erikjohnston opened this issue Jun 13, 2019 · 1 comment
Closed

New extremities histogram metric breaks metrics #5452

erikjohnston opened this issue Jun 13, 2019 · 1 comment
Assignees

Comments

@erikjohnston
Copy link
Member

Error is:

AttributeError: 'float' object has no attribute 'replace'
  File "twisted/web/server.py", line 199, in process
    self.render(resrc)
  File "synapse/http/site.py", line 131, in render
    Request.render(self, resrc)
  File "twisted/web/server.py", line 259, in render
    body = resrc.render(self)
  File "twisted/web/resource.py", line 250, in render
    return m(request)
  File "prometheus_client/twisted/_exposition.py", line 18, in render_GET
    return generate_latest(self.registry)
  File "prometheus_client/exposition.py", line 78, in generate_latest
    for k, v in sorted(labels.items())]))
  File "prometheus_client/exposition.py", line 78, in <listcomp>
    for k, v in sorted(labels.items())]))

Local variables at the time: k = 'le', v = 1.0

@hawkowl
Copy link
Contributor

hawkowl commented Jun 14, 2019

Fixed by #5458

@hawkowl hawkowl closed this as completed Jun 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants