Repository navigation
feat(velocity): add network, session and backend metrics - #11
Merged
Merged
Conversation
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 30, 2026
## 1.7.0 (2026-10-30) * feat(velocity): add network, session and backend metrics (#11) ([283d947](283d947)), closes [#11](#11) * fix(velocity): report the plugin version (#10) ([90b136d](90b136d)), closes [#10](#10) * build(deps): update release tooling dependencies (#9) ([42b709e](42b709e)), closes [#9](#9) * docs(openspec): propose velocity metrics and version fix (#8) ([a4f7069](a4f7069)), closes [#8](#8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Operators could see how many players were online on each proxy, but not why players failed to connect, which backend was at fault, or which client versions were in use. A backend outage only showed up as
unable to connect to serverlines in the proxy log.This change makes the proxy report these facts as metrics:
No metric carries a player name, UUID or IP address.
Backend health sends one status ping per backend from each proxy every 30 seconds by default. The pings show up in the backend logs. The interval can be set between 5 and 300 seconds, and the probe can be turned off with
otel.enable.backendHealth=false. The other sampled series have their own switches. Existingvelocity.propertiesfiles keep working through defaults.Metric names and settings are documented in
docs/admin/metrics.mdanddocs/admin/configuration.md. A new Grafana dashboard,dashboards/grafana/proxy.json, shows the proxy metrics per job.Change Type
Tests
Details:
./gradlew testpasses: 38 tests, 0 failures../gradlew buildpasses, and the shaded jar contains no Mockito or JUnit classes.Checklist