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

bountx / LOB / 22766059408
91%

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

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>

70 of 75 new or added lines in 2 files covered. (93.33%)

200 of 232 relevant lines covered (86.21%)

46.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
5
92.86
src/prometheus_format.hpp
Jobs
ID Job ID Ran Files Coverage
1 22766059408.1 06 Mar 2026 01:44PM UTC 5
86.21
GitHub Action Run
Source Files on build 22766059408
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22766059408
  • 571d2744 on github
  • Prev Build on main (#22743697156)
  • Next Build on main (#22766075567)
  • 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