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

rm-hull / fuel-prices-api / 24008789144

05 Apr 2026 07:29PM UTC coverage: 45.573% (-0.5%) from 46.079%
24008789144

push

github

web-flow
feat: integrate Sentry for error tracking (#46)

* chore: update go dependencies

- Bump various project dependencies to their latest patch versions
  to include stability improvements and bug fixes.

* feat: integrate Sentry for error tracking

Added error tracking support to the API server to
improve observability and crash reporting.

* Configured `SENTRY_DSN` and `ENVIRONMENT` in
  `.env.example`.
* Initialized Sentry during the server bootstrap
  process.
* Bound Sentry releases to the current git revision.

```mermaid
sequenceDiagram
    participant App as API Server
    participant Sentry as Sentry SDK

    App->>App: Initialize Sentry
    App->>Sentry: Send Error/Panic Reports
    Sentry-->>App: Flush events on shutdown
```

* refactor: move sentry initialization to bootstrap

Move Sentry initialization logic into the `bootstrap` function to ensure
it is correctly configured for both the API server and CLI commands,
centralizing resource setup.

* refactor: clean up dependencies and update bootstrap

- Remove unused imports (`os`, `time`, `versioninfo`, `sentry-go`)
  from `api_server.go`.
- Update `bootstrap` call in `import.go` to include the required
  boolean flag.

0 of 19 new or added lines in 3 files covered. (0.0%)

664 of 1457 relevant lines covered (45.57%)

0.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/cmd/api_server.go


Source Not Available

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