• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-services / 4854
31%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2020 02:41PM UTC
Jobs 1
Files 99
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Aug 2020 02:29PM UTC coverage: 28.278% (+0.04%) from 28.238%
4854

push

travis-pro

web-flow
separate HTTP server from metrics encoding (#1335)

This PR introduces a new HTTP server component for serving endpoints for service monitoring (such as prometheus metrics and eventually health endpoints).

### Test Plan

Rouille code was moved around. Added unit test for the HTTP router. Start the driver or price estimator and check the metrics route:
```
$ curl -i http://localhost:9586
HTTP/1.1 404 Not Found
Server: tiny-http (Rust)
Date: Tue, 18 Aug 2020 07:35:04 GMT
Content-Length: 0

$ curl -i http://localhost:9586/metrics
HTTP/1.1 200 OK
Server: tiny-http (Rust)
Date: Tue, 18 Aug 2020 07:35:08 GMT
Content-Type: text/plain; version=0.0.4
Content-Length: 13672

# HELP dfusion_service_http_latency Latency in seconds for HTTP request
# TYPE dfusion_service_http_latency histogram
dfusion_service_http_latency_bucket{request="dexag",le="0.005"} 0
...
```

12323 of 50264 branches covered (24.52%)

Branch coverage included in aggregate %.

3401 of 5341 relevant lines covered (63.68%)

27221.16 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4854.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3) 18 Aug 2020 02:41PM UTC 0
28.28
Travis Job 4854.3
Source Files on build 4854
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4854
  • 1d196d87 on github
  • Prev Build on master (#4851)
  • Next Build on master (#4859)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc