TAP version 13 # Subtest: tests/test_metrics.js Metrics server disabled; metrics will not be available externally # Subtest: disabled server ok 1 - Should not have a server 1..1 ok 1 - disabled server # time=35.448ms # Subtest: real server ok 1 - Should have a Counter method ok 2 - Should have preconfigured histograms ok 3 - Should have specific histogram ok 4 - Bucket argument should win ok 5 - Should have preconfigured counters ok 6 - Should have specific counter ok 7 - Should have preconfigured gauges ok 8 - Should have specific gauge ok 9 - Should have preconfigured summaries ok 10 - Should have specific summary ok 11 - should find a gauge ok 12 - should find a histogram ok 13 - should find a counter ok 14 - should find a summary ok 15 - Should return itself on start ok 16 - Metrics server should be running ok 17 - Should find the metric ok 18 - Should return a PromiseTimer Metrics server listening on 3000 ok 19 - Promise should resolve to original promise value ok 20 - Promise should throw error ok 21 - Promise should resolve to original promise value ok 22 - /metrics should return 200 status ok 23 - Should allow a second instance before stop ok 24 - Metrics server should not be running ok 25 - Should have dynamic counter ok 26 - Should have valid counter ok 27 - Should have an error metric ok 28 - Should have a success metric ok 29 - Should allow a second instance after stop 1..29 ok 2 - real server # time=198.106ms 1..2 # time=241.305ms ok 1 - tests/test_metrics.js # time=2662.464ms 1..1 # time=2678.303ms -----------------|----------|----------|----------|----------|-------------------| File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s | -----------------|----------|----------|----------|----------|-------------------| All files | 76.99 | 64.44 | 81.82 | 76.79 | | PromiseTimer.js | 93.55 | 72.73 | 100 | 93.55 | 22,31 | index.js | 70.73 | 61.76 | 73.33 | 70.37 |... 08,136,139,159 | -----------------|----------|----------|----------|----------|-------------------|