Maarten de Vries 48b7ff7a35 Fix test_metrics.py compatibility prometheus_client 0.5
prometheus_client 0.5 has a named-tuple Sample type with more member
than the old plain tuple had. This commit makes sure the unit test
detects this and changes the way it reads the sample.

Signed-off-by: Maarten de Vries <maarten@de-vri.es>
2018-12-21 01:53:57 +01:00
..
2018-12-14 18:20:59 +00:00
2018-09-07 02:58:18 +10:00
2018-08-10 23:54:09 +10:00
2018-10-24 10:39:03 +01:00
2018-08-10 23:54:09 +10:00
2018-12-14 18:20:59 +00:00
2018-09-25 03:10:01 +10:00
2018-12-14 18:20:59 +00:00
2018-10-25 23:15:03 +01:00
2018-12-14 18:20:59 +00:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-08-10 23:54:09 +10:00
2018-09-07 02:58:18 +10:00
2018-11-15 23:00:28 -07:00
2018-08-10 23:54:09 +10:00
2018-12-14 18:20:59 +00:00
2018-12-14 18:20:59 +00:00