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

m-lab / token-exchange / 21441038384
67%

Build:
DEFAULT BRANCH: main
Ran 28 Jan 2026 01:57PM UTC
Jobs 1
Files 8
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

28 Jan 2026 01:56PM UTC coverage: 66.788% (-2.3%) from 69.057%
21441038384

push

github

web-flow
feat: add Prometheus metrics sidecar with OpenTelemetry Collector (#13)

* feat: add Prometheus metrics sidecar with OpenTelemetry Collector

Add an OpenTelemetry Collector sidecar to token-exchange following the
pattern from speed-proxy. The sidecar scrapes Prometheus metrics from
the main app and pushes them to Prometheus via remote_write.

Changes:
- Add metrics package with custom Prometheus metrics for autojoin and
  integration endpoints (counters and histograms)
- Add prometheusx.MustServeMetrics() to serve metrics on port 9990
- Wrap handlers with promhttp instrumentation for request counting and
  duration tracking
- Add otel-collector directory with Dockerfile and config.yaml
- Add service.yaml Cloud Run manifest for multi-container deployment
- Convert cloudbuild.yaml from CLI to manifest-based deployment

* fix(service): mount secret as jwk-priv.json filename

0 of 20 new or added lines in 1 file covered. (0.0%)

366 of 548 relevant lines covered (66.79%)

0.74 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
0.0
0.0% main.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 21441038384.1 28 Jan 2026 01:57PM UTC 8
66.79
GitHub Action Run
Source Files on build 21441038384
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5a00a3c1 on github
  • Prev Build on main (#21216219621)
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