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

rm-hull / dot-block / 26782665238
47%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 09:18PM UTC
Jobs 1
Files 20
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

01 Jun 2026 09:18PM UTC coverage: 45.07% (+0.04%) from 45.026%
26782665238

push

github

web-flow
feat: add upstream failure logging and metrics (#133)

* feat: add upstream failure logging and metrics

- Inject `*slog.Logger` into `RoundRobinClient` to enable failure
logging.
- Add `dns_upstream_failures_total` Prometheus metric to track upstream
  failures categorized by server and error type (timeout, network,
etc.).
- Update `RoundRobinClient` to record failure reasons upon exchange
errors.

* refactor: update RoundRobinClient to use shared metrics

Update the client to use the metrics instance provided during
initialization rather than accessing the pool's metrics field,
improving consistency and decoupling.

* feat: add dedicated metric for pooled connection deaths

Replaced the generic `UpstreamFailures` metric with a dedicated
`dns_pooled_connection_deaths_total` metric. This improves
observability by isolating connection-specific issues from general
upstream request failures.

17 of 36 new or added lines in 3 files covered. (47.22%)

1 existing line in 1 file now uncovered.

704 of 1562 relevant lines covered (45.07%)

1168.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
43.2
-6.32% internal/forwarder/round_robin_client.go
1
0.0
0.0% internal/app.go

Coverage Regressions

Lines Coverage ∆ File
1
43.2
-6.32% internal/forwarder/round_robin_client.go
Jobs
ID Job ID Ran Files Coverage
1 26782665238.1 01 Jun 2026 09:18PM UTC 20
45.07
GitHub Action Run
Source Files on build 26782665238
  • Tree
  • List 20
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c982184b on github
  • Prev Build on main (#26778567768)
  • Next Build on main (#26784595023)
  • 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