Skip to content
Snippets Groups Projects
Commit 4d690638 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

ver bump

parent 7c67532d
No related branches found
Tags v2.3.4
No related merge requests found
# v2.3.5
* _TBA_
# v2.3.4 # v2.3.4
* bugfix in Prometheus exporter * bugfix in Prometheus exporter
......
# coding=UTF-8 # coding=UTF-8
__version__ = '2.3.4' __version__ = '2.3.5rc1'
...@@ -21,6 +21,8 @@ root_metric{k=4} 6 ...@@ -21,6 +21,8 @@ root_metric{k=4} 6
def test_prometheus_2(self): def test_prometheus_2(self):
a = {'root': {'_': [{'k': 2, '_': 3}], 'sum': {'_': 4}}} a = {'root': {'_': [{'k': 2, '_': 3}], 'sum': {'_': 4}}}
b = json_to_prometheus(a) b = json_to_prometheus(a)
self.assertEqual("""root{k=2} 3 self.assertTrue(b == """root{k=2} 3
root_sum 4 root_sum 4
""".replace('\r\n', '\n'), b) """.replace('\r\n', '\n') or b == """root_sum 4
root{k=2} 3
""".replace('\r\n', '\n'))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment