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

bountx / LOB / 22766059408 / 1
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2026 01:44PM UTC
Files 5
Run time 0s
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

06 Mar 2026 01:44PM UTC coverage: 86.207% (+3.4%) from 82.803%
22766059408.1

push

github

web-flow
Implement Binance exchange adapter and Prometheus metrics integration (#21)

* Implement Binance exchange adapter and Prometheus metrics integration

- Added BinanceAdapter class for handling WebSocket connections and snapshot logic.
- Introduced IExchangeAdapter interface for exchange feed adapters.
- Created utility functions for symbol extraction and Prometheus metrics formatting.
- Updated main application logic to utilize the new BinanceAdapter.
- Added unit tests for streamToSymbol function and Prometheus output generation.

* Refactor Prometheus output to collect order book spread prices in a separate vector before writing

* Enhance BinanceAdapter and Prometheus integration with improved error handling and label escaping

* 📝 Add docstrings to `feat/iexchange-adapter-interface`

Docstrings generation was requested by @bountx.

The following files were modified:

* `src/binance_utils.hpp`
* `src/feed_handler.cpp`
* `src/feed_handler.hpp`
* `src/i_exchange_adapter.hpp`
* `src/main.cpp`
* `src/metrics_server.hpp`
* `src/prometheus_format.hpp`
* `tests/test_prometheus_format.cpp`

These files were kept as they were:
* `tests/test_binance_utils.cpp`

These file types are not supported:
* `CMakeLists.txt`
* `grafana/dashboards/lob.json`

* Enhance BinanceAdapter with interruptible snapshot fetching and graceful shutdown support

* pre-commit

---------

Co-authored-by: Andrzej Pijanowski <apijanowski@cloudferro.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

200 of 232 relevant lines covered (86.21%)

46.61 hits per line

Source Files on job 22766059408.1
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22766059408
  • 571d2744 on github
  • Prev Job for on main (#22743697156.1)
  • Next Job for on main (#22766075567.1)
  • Delete
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