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

topfreegames / pitaya / 29434363368
62%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feat/configurable-summary-objectives
DEFAULT BRANCH: master
Ran 15 Jul 2026 04:57PM UTC
Jobs 1
Files 85
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

15 Jul 2026 04:51PM UTC coverage: 61.971% (+0.5%) from 61.47%
29434363368

Pull #505

github

Tiago Martines
feat(metrics): make built-in summary objectives configurable

Add pitaya.metrics.prometheus.objectives to tune the quantiles emitted by
the built-in handler_response_time_ns and handler_handler_delay_ns
summaries, which were hard-coded to {0.7, 0.95, 0.99}. Operators can drop
unused percentiles (or emit none) to cut Prometheus series cardinality.

The map is keyed by the quantile string for YAML/env friendliness and
converted to map[float64]float64 when building SummaryOpts. The option is
intentionally not seeded with a viper default: a seeded default would be
deep-merged back into any partial override, so dropping a percentile via
config would silently fail. Unset resolves to nil, which the reporter maps
to the historical {0.7, 0.95, 0.99}, keeping default behavior identical.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #505: feat(metrics): make built-in summary objectives configurable

28 of 49 new or added lines in 1 file covered. (57.14%)

18 existing lines in 2 files now uncovered.

5270 of 8504 relevant lines covered (61.97%)

0.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
21
7.84
7.84% metrics/prometheus_reporter.go

Coverage Regressions

Lines Coverage ∆ File
12
67.76
-3.95% app.go
6
62.64
-6.59% module.go
Jobs
ID Job ID Ran Files Coverage
1 29434363368.1 15 Jul 2026 04:57PM UTC 85
61.97
GitHub Action Run
Source Files on build 29434363368
  • Tree
  • List 85
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #505
  • PR Base - v2 (#27768744244)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc