mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
OpenMetrics: add trailing EOF marker
This commit is contained in:
parent
ca865e60db
commit
4674bccde7
@ -1572,6 +1572,9 @@ class Statistics(MultiFormatResource):
|
||||
ret += u"tahoe_counters_%s %s\n" % (mangle_name(k), mangle_value(v))
|
||||
for (k, v) in sorted(stats['stats'].items()):
|
||||
ret += u"tahoe_stats_%s %s\n" % (mangle_name(k), mangle_value(v))
|
||||
|
||||
ret += u"# EOF\n"
|
||||
|
||||
return ret
|
||||
|
||||
class StatisticsElement(Element):
|
||||
|
Loading…
Reference in New Issue
Block a user