-
Notifications
You must be signed in to change notification settings - Fork 44
Metasnapshot metrics fix and dashboard #321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alexbozhenko
merged 10 commits into
nats-io:main
from
alexbozhenko:metasnapshot_duration
Feb 6, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
61850c4
bump golang in dockerfile
alexbozhenko 02e9520
fix metrics
alexbozhenko 9414b73
fix the test
alexbozhenko 843b4eb
add --accounts-detailed in dockler compose
alexbozhenko f9ace49
expose prometheus port on the host
alexbozhenko 4b38077
add metalayer dashboard
alexbozhenko 99e7c24
annotation enabled by default
alexbozhenko a00292f
remove old commented test
alexbozhenko 1934846
text files should end in newline
alexbozhenko c1530d7
only try to get Meta snapshot metrics if jetstream is enabled
alexbozhenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ services: | |
| - NATS_SURVEYOR_PASSWORD | ||
| - NATS_SURVEYOR_SERVERS | ||
| - NATS_SURVEYOR_SERVER_COUNT | ||
| command: --count ${NATS_SURVEYOR_SERVER_COUNT} -s "${NATS_SURVEYOR_SERVERS}" --accounts --observe /observations --jetstream /jetstream --jsz all | ||
| command: --count ${NATS_SURVEYOR_SERVER_COUNT} -s "${NATS_SURVEYOR_SERVERS}" --accounts --accounts-detailed --observe /observations --jetstream /jetstream --jsz all | ||
| networks: | ||
| - monitor-net | ||
| labels: | ||
|
|
@@ -33,6 +33,8 @@ services: | |
| image: prom/prometheus:${PROMETHEUS_DOCKER_TAG} | ||
| container_name: prometheus | ||
| restart: "no" | ||
| ports: | ||
| - "9090:9090" | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is to debug raw values in prometheus |
||
| volumes: | ||
| - ./prometheus/:/etc/prometheus/ | ||
| - $PROMETHEUS_STORAGE:/usr/local/share/prometheus | ||
|
|
||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These version bumps are intentional, otherwise it wouldn't build local image, since version in go.mod is newer