statsd only contains version information for daisy frontends

Bug #1392523 reported by Brian Murray on 2014-11-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daisy
Medium
Brian Murray
Errors
Medium
Brian Murray

Bug Description

We are missing revision number information in statsd for the daisy retracers and errors frontends.

This code from diasy/metrics.py does the work, we just need to call it from the retracer code and add something similar for the errors frontends.

def revno(namespace='daisy'):
    from daisy.version import version_info
    import socket
    if 'revno' in version_info:
        m = '%s.version.daisy' % socket.gethostname()
        get_metrics(namespace).gauge(m, version_info['revno'])

Related branches

Changed in errors:
importance: Undecided → Medium
status: New → Triaged
Changed in daisy:
status: New → Triaged
importance: Undecided → Medium
Changed in daisy:
status: Triaged → Fix Committed
Changed in errors:
status: Triaged → Fix Committed
Changed in daisy:
assignee: nobody → Brian Murray (brian-murray)
Changed in errors:
assignee: nobody → Brian Murray (brian-murray)
Brian Murray (brian-murray) wrote :

This has been rolled out to the retracers and a graph for their versions now exists.

Changed in daisy:
status: Fix Committed → Fix Released
Brian Murray (brian-murray) wrote :

The errors revision numbers aren't showing up in statsd.

Changed in errors:
status: Fix Committed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers