(metrics, labels)
| 40 | } |
| 41 | |
| 42 | function parseRequestsCount(metrics, labels) { |
| 43 | const count = parseMetric(metrics, 's3_cloudserver_http_requests_total', labels); |
| 44 | return count ? parseInt(count, 10) : 0; |
| 45 | } |
| 46 | |
| 47 | it('should return system metrics', async () => { |
| 48 | const metrics = await getMetrics(); |
no test coverage detected