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

map-services / fuel-prices-api / 26314158067 / 1
51%
main: 51%

Build:
DEFAULT BRANCH: main
Ran 22 May 2026 10:03PM UTC
Files 25
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

22 May 2026 10:03PM UTC coverage: 50.098% (+0.3%) from 49.833%
26314158067.1

push

github

web-flow
refactor: replace log with structured slog (#63)

* refactor: replace log with structured slog

Migrated project logging to use `log/slog` for structured output.
Implemented a new `middleware.RequestLogger` to provide detailed,
structured request logging.

```mermaid
graph TD
    A[HTTP Request] --> B{RequestLogger Middleware}
    B -->|Log Request Data| C[slog.JSONHandler]
    C --> D[stderr]
```

* refactor: improve logging precision and formatting

- Trim whitespace from migration logs to improve output cleanliness.
- Switch to `RequestURI` to capture full query parameters in logs.
- Increase latency precision to sub-millisecond accuracy by using
  microseconds converted to float milliseconds.

* refactor: sanitize request path in logger

* Changed `RequestURI` to `URL.Path` to avoid logging query parameters
  in the request logs, improving security and log readability.

767 of 1531 relevant lines covered (50.1%)

0.55 hits per line

Source Files on job 26314158067.1
  • Tree
  • List 25
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26314158067
  • 0a069b37 on github
  • Prev Job for on main (#26312647764.1)
  • Next Job for on main (#26329612676.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