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

topfreegames / pitaya
62%
master: 69%

Build:
Build:
LAST BUILD BRANCH: feat/configurable-summary-objectives
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 feat/configurable-summary-objectives
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/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

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

Relevant lines Covered
Build:
Build:
8504 RELEVANT LINES 5270 COVERED LINES
0.68 HITS PER LINE
Source Files on master
  • Tree
  • List 85
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
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
27141435631 add_metrics 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 #500 08 Jun 2026 01:52PM UTC rsafonseca github
61.26
25187910487 main fix(agent): capture error code before packetEncodeMessage mutates payload (#495) * fix(agent): capture error code before packetEncodeMessage mutates payload * fix(ci): setup ci tools --------- Co-authored-by: Gustavo Murayama <gustavo.murayama... push 30 Apr 2026 08:35PM UTC web-flow github
58.77
See All Builds (1104)
  • 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