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

rm-hull / dot-block / 19406973011 / 1
43%
main: 43%

Build:
DEFAULT BRANCH: main
Ran 16 Nov 2025 02:19PM UTC
Files 13
Run time 1610min
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

16 Nov 2025 02:18PM UTC coverage: 53.298% (+0.4%) from 52.901%
19406973011.1

push

github

web-flow
feat: Add upstream latency & rename latency metric (#27)

* refactor: Rename latency metric and add upstream latency

The overall DNS request latency metric is renamed for clarity and
a new metric is introduced to track upstream query latency.

*   Renamed `LatencyHistogram` to `RequestLatency` in `DnsMetrics`.
*   Added `UpstreamLatency` histogram vector to track latency broken
    down by upstream IP address.
*   Updated `RoundRobinClient.Exchange` to return the upstream IP
    address used for the exchange.
*   Updated `DNSDispatcher` to record upstream latency.

* feat: Validate upstream servers in DNS client

The `RoundRobinClient` constructor now validates that at least one
upstream server is configured.

If the upstream list is empty, an error is returned during
initialization, preventing the application from starting with
an invalid configuration. This required updating the signature
of `NewRoundRobinClient` to return an error.

* refactor: Use shared `latencyBuckets` constant

Extracts the Prometheus histogram bucket definition into a shared
package-level variable `latencyBuckets`.

This eliminates duplication and ensures that all relevant DNS
latency metrics use the identical bucket scheme for consistency
and easier comparison.

404 of 758 relevant lines covered (53.3%)

0.57 hits per line

Source Files on job 19406973011.1
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19406973011
  • b1217235 on github
  • Prev Job for on main (#19373333839.1)
  • Next Job for on main (#19458178321.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