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

goto / compass / 5781465228
81%

Build:
DEFAULT BRANCH: main
Ran 07 Aug 2023 05:45AM UTC
Jobs 1
Files 73
Run time 2s
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

07 Aug 2023 05:41AM UTC coverage: 87.291% (-0.2%) from 87.518%
5781465228

push

github

web-flow
feat: instrument worker with OpenTelemetry (#50)

- Add Stats(...) method to JobProcessor to allow tracking counts of
  active and dead jobs by job type.
- Add JobProcessor middleware for OpenTelemetry instrumentation.
- Add middlewares to handlers for dead job managers's endpoints.
- Add histogram compass.worker.jobs.enqueue.duration with the following
  attributes:
  - job.types: ["index-asset", "delete-asset"]
  - operation.success: true/false
- Add gauge compass.worker.active_jobs with the following attributes:
  - job.type: index-asset/delete-asset
- Add histogram compass.worker.job.dequeue.latency with the following
  attributes:
  - job.type: index-asset/delete-asset
- Add histogram compass.worker.job.process.duration with the following
  attributes:
  - job.type: index-asset/delete-asset
  - job.attempt_number: 1/2
  - job.status: done/dead/retry
  - operation.success: true/false
- Add gauge compass.worker.dead_jobs with the following attributes:
  - job.type: index-asset/delete-asset

96 of 96 new or added lines in 3 files covered. (100.0%)

6161 of 7058 relevant lines covered (87.29%)

21.93 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
80.95
-0.61% pkg/worker/pgq/pgq_processor.go
21
70.59
-12.75% internal/workermanager/worker_manager.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
70.59
-12.75% internal/workermanager/worker_manager.go
Jobs
ID Job ID Ran Files Coverage
1 5781465228.1 07 Aug 2023 05:45AM UTC 73
87.29
GitHub Action Run
Source Files on build 5781465228
  • Tree
  • List 73
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3706bfb7 on github
  • Prev Build on main (#5734607831)
  • Next Build on main (#5795633258)
  • 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

© 2025 Coveralls, Inc