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

topfreegames / pitaya
65%
master: 69%

Build:
Build:
LAST BUILD BRANCH: fix/register-prometheus-histograms-v2
DEFAULT BRANCH: master
Repo Added 10 Apr 2018 08:49PM UTC
Files 85
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

LAST BUILD ON BRANCH fix/register-prometheus-histograms-v2
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 0.1.0
  • 0.2.2
  • 0.3.0
  • 0.4.1
  • 0.5.0
  • 0.5.1
  • 0.5.3
  • 0.7.0
  • 0.7.1
  • 0.7.2
  • 0.7.3
  • 0.7.4
  • add_metrics
  • add_metrics_v3
  • backport_421
  • backport_lame_duck
  • bugfix/SD-SIGINT
  • bugfix/client-IncomingMsgChan
  • bugfix/concurrency-chan-close-on-client
  • bugfix/kick
  • bugfix/readme
  • bugfix/update-submodule
  • bugfix/validator
  • cursor/pedra-madeira-coleta-manual-619f
  • dependabot/go_modules/github.com/nats-io/nats-server/v2-2.12.6
  • dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.43.0
  • dependabot/go_modules/google.golang.org/grpc-1.79.3
  • dependabot/go_modules/xk6-pitaya/go.opentelemetry.io/otel-1.41.0
  • dependabot/go_modules/xk6-pitaya/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp-1.43.0
  • dependabot/go_modules/xk6-pitaya/go.opentelemetry.io/otel/sdk-1.40.0
  • dependabot/go_modules/xk6-pitaya/go.opentelemetry.io/otel/sdk-1.43.0
  • feat/add-isready-function
  • feat/add-isready-function-v2
  • feat/channel-capacity-metric-port
  • feat/configurable-summary-objectives
  • feat/read_bigger_messages
  • feat/websocket-pitaya-compression
  • feature/acceptor-rate-limit
  • feature/add-healthchecks
  • feature/add-nats-connection-timeout
  • feature/auto-doc
  • feature/autodoc-flag
  • feature/close-sessions-on-shutdown
  • feature/compression
  • feature/context
  • feature/ctx-routing-func
  • feature/custom-metrics
  • feature/custom_handshake
  • feature/default-logger-on-ctx
  • feature/descriptors
  • feature/docs
  • feature/elasticapm
  • feature/etcd_auth
  • feature/fix-report-rpc-error
  • feature/generic-worker
  • feature/getallservers
  • feature/golang-protobuf
  • feature/grpc-out-cluster
  • feature/heartbeat_log
  • feature/improve-logging
  • feature/lazy_grpc_connections
  • feature/log-handler-message
  • feature/metrics
  • feature/nats_die_chan
  • feature/nats_reconnect
  • feature/new-server-metadata
  • feature/pitaya-client-message-id
  • feature/print-calls
  • feature/proxy-protocol
  • feature/rate-limiting
  • feature/reduce-connection-close-logs
  • feature/report-code
  • feature/rpc-worker
  • feature/struct-validation-pipeline
  • feature/sys-metrics
  • feature/tags-from-ctx
  • feature/tls-client
  • feature/v2-apply-master-changes
  • feature/worker-namespace
  • fix-service-discovery-startup-time
  • fix/agent-close-panic
  • fix/die-chan
  • fix/drain-nats-conn
  • fix/error-code-lost-in-compression
  • fix/error-code-lost-in-compression-v2
  • fix/etcd-revoke-lease
  • fix/etcd-sync-log-level
  • fix/grpc_leak
  • fix/nats-reconnection
  • fix/nats-shutdown
  • fix/natsSubLeak
  • fix/ordered-modules
  • fix/pitaya_client_interface
  • fix/port-error-propagation
  • fix/prometheus
  • fix/protos
  • fix/register-prometheus-histograms
  • fix/register-prometheus-histograms-v2
  • fix/route-err
  • fix/rpctracing
  • fix/sd_concurrency
  • fix/service-discovery
  • fix/shutdown
  • fix/shutdownMsg
  • fix/statsd-histogram
  • fix/submodule
  • fix/support-loopback-rpcs
  • fix/test
  • fix/tests
  • fix/timing-report
  • fix/unique-session-kick
  • fix/unique_session_race_condition
  • fix/version-unification
  • fix/windows-sys-kill
  • fix/xk6-pitaya
  • grpc
  • guard_empty_msg
  • guard_empty_msg-main
  • hostname
  • improve_logs
  • improvement/logs
  • kcp-acceptor
  • lame_duck_reconnection
  • log/heartbeat_error
  • log_imp_v2
  • logger-docs
  • main
  • master
  • metrics-docs
  • nested-configs
  • patch-5
  • refactor/etcd-Bootstrap
  • refactor/kick
  • refactor/kickch
  • refactor/pipeline
  • refactor_agent
  • refactor_connection
  • remove-error-log-on-client-disconnect
  • rpc_protobuf
  • server-id-getter
  • v0.10.2
  • v0.11.3
  • v0.12.0
  • v0.12.2
  • v0.12.4
  • v0.12.5
  • v0.13.0
  • v0.13.1
  • v0.13.2
  • v0.13.3
  • v0.13.4
  • v0.13.5
  • v0.13.6
  • v0.14.0
  • v0.14.2
  • v0.14.3
  • v0.14.5
  • v0.14.6
  • v0.14.7
  • v0.15.0
  • v0.15.3
  • v0.15.4
  • v0.15.5
  • v0.15.5-logsv1
  • v0.15.5-logsv2
  • v0.15.6-alpha
  • v0.16.0
  • v0.16.1
  • v0.17.0
  • v0.2.0
  • v0.2.1
  • v0.7.6
  • v0.7.7
  • v0.8.0
  • v0.9.0
  • v0.9.1
  • v0.9.4
  • v0.9.5
  • v1
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.1.2
  • v1.1.4
  • v1.1.5
  • v2
  • v3_ports

14 Sep 2026 01:09PM UTC coverage: 64.501% (+3.0%) from 61.47%
34847494515

Pull #507

github

ffelipelimao
fix(metrics): register prometheus histograms

Backport of #506 to v2. PrometheusReporter built every HistogramVec but
never handed the map to prometheus.MustRegister, so ReportHistogram
observed into unregistered collectors and no histogram ever reached
/metrics. Registers the histogram map and drops the built-in
response_time_ns histogram, which nothing called and would collide with
the summary of the same name once registered.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Pull Request #507: fix(metrics): register prometheus histograms (v2 backport)

3 of 3 new or added lines in 1 file covered. (100.0%)

5460 of 8465 relevant lines covered (64.5%)

0.71 hits per line

Relevant lines Covered
Build:
Build:
8465 RELEVANT LINES 5460 COVERED LINES
0.71 HITS PER LINE
Source Files on master
  • Tree
  • List 85
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34847494515 fix/register-prometheus-histograms-v2 fix(metrics): register prometheus histograms Backport of #506 to v2. PrometheusReporter built every HistogramVec but never handed the map to prometheus.MustRegister, so ReportHistogram observed into unregistered collectors and no histogram ever r... Pull #507 14 Sep 2026 01:12PM UTC ffelipelimao github
64.5
34607495191 fix/register-prometheus-histograms fix(metrics): register prometheus histograms Histogram vectors were created and stored in histogramReportersMap but never appended to the collectors passed to prometheus.MustRegister, so ReportHistogram observed into unregistered collectors and n... Pull #506 11 Sep 2026 02:02PM UTC ffelipelimao github
61.27
29434363368 feat/configurable-summary-objectives 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.... Pull #505 15 Jul 2026 04:57PM UTC Tiago Martines github
61.97
27768744244 v2 fix: race condition on shutdown with trying to send to closed appDie chan push 18 Jun 2026 03:04PM UTC rsafonseca github
61.47
27219158685 main fix(cluster): guard against nil Msg in NATS rpc server + bump nats.go to v1.52.0 (#503) * fix(cluster): guard against nil Msg in NATS rpc server handleMessages A payload delivered to a server's RPC subject that unmarshals into a protos.Request w... push 09 Jun 2026 04:06PM UTC web-flow github
58.46
27218106399 guard_empty_msg-main chore(deps): bump nats.go to v1.52.0 (latest) Updates github.com/nats-io/nats.go v1.47.0 => v1.52.0, with transitive golang.org/x/* deps updated to match. The module already targets go 1.25, so no go directive change is needed. Pull #503 09 Jun 2026 04:01PM UTC rsafonseca github
58.46
27218689096 v2 fix(cluster): guard against nil Msg in NATS rpc server + bump nats.go to v1.52.0 (#502) * fix(cluster): guard against nil Msg in NATS rpc server handleMessages A payload delivered to a server's RPC subject that unmarshals into a protos.Request w... push 09 Jun 2026 03:58PM UTC web-flow github
61.17
27218380672 guard_empty_msg ci: bump Go to 1.25 to match go.mod directive The nats.go v1.52.0 bump raised the module go directive to 1.25.0, but CI installed Go 1.24. The go.mod requirement then triggered a toolchain switch during the coverage build, which surfaced as `go: ... Pull #502 09 Jun 2026 03:52PM UTC rsafonseca github
61.2
27216433365 v2 feat(metrics): instrument handler/RPC channel buffers and worker pools (#500) Several buffered channels and goroutine pools that sit on the hot path had no instrumentation, so there was no way to tell from metrics when a server was hitting its bu... push 09 Jun 2026 03:21PM UTC web-flow github
61.47
27143603019 add_metrics_v3 feat(metrics): instrument handler/RPC channel buffers and worker pools Several buffered channels and goroutine pools that sit on the hot path had no instrumentation, so there was no way to tell from metrics when a server was hitting its buffer (B... Pull #501 08 Jun 2026 02:13PM UTC rsafonseca github
58.54
See All Builds (1106)
  • Repo on GitHub
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