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

gnosis / dex-services / 4854 / 3
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2020 02:41PM UTC
Files 99
Run time 7s
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%
OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3

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

Source Files on job 4854.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3)
  • Tree
  • List 0
  • Changed 42
  • Source Changed 2
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1298
  • Travis Job 4854.3
  • 1d196d87 on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3 on master (#4851.3)
  • Next Job for OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.3 on master (#4859.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc