Skip to content
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

Add metrics for Raft Snapshots. Attempt/success/fail #1953

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

RagnarW
Copy link
Contributor

@RagnarW RagnarW commented Nov 11, 2024

Adding metrics for Raft Snapshot download. See https://github.com/neo-technology/neo4j/pull/28148

@neo-technology-commit-status-publisher
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-operations-1953.surge.sh

Updated pages:

@RagnarW
Copy link
Contributor Author

RagnarW commented Nov 26, 2024

The PR has now been merged

@NataliaIvakina
Copy link
Contributor

The PR has now been merged

Super! Thank you for the update. But we'll wait to merge this PR into docs until the 5.26 release is published.

Copy link
Contributor

@NataliaIvakina NataliaIvakina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RagnarW hey! I did a little research. So, here are my editorial suggestions for the metrics' descriptions.
Maybe it's worth adding more details on their purpose or role.

@@ -578,6 +578,9 @@ The deprecated Raft core metrics are replaced accordingly by the Raft metrics in
|<prefix>.cluster.raft.replication_maybe|Raft Replication maybe count. (counter)
|<prefix>.cluster.raft.replication_success|The total number of Raft replication requests that have succeeded. (counter)
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
|<prefix>.cluster.raft.snapshot_attempt|Downloading of Raft snapshot attempts triggered. (counter)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|<prefix>.cluster.raft.snapshot_attempt|Downloading of Raft snapshot attempts triggered. (counter)
|<prefix>.cluster.raft.snapshot_attempt|Total number of attempts to download Raft snapshots triggered. (counter)

@@ -578,6 +578,9 @@ The deprecated Raft core metrics are replaced accordingly by the Raft metrics in
|<prefix>.cluster.raft.replication_maybe|Raft Replication maybe count. (counter)
|<prefix>.cluster.raft.replication_success|The total number of Raft replication requests that have succeeded. (counter)
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
|<prefix>.cluster.raft.snapshot_attempt|Downloading of Raft snapshot attempts triggered. (counter)
|<prefix>.cluster.raft.snapshot_success|Downloading of Raft snapshot successful downloads. (counter)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|<prefix>.cluster.raft.snapshot_success|Downloading of Raft snapshot successful downloads. (counter)
|<prefix>.cluster.raft.snapshot_success|Total number of successfully downloaded Raft snapshots. (counter)

@@ -578,6 +578,9 @@ The deprecated Raft core metrics are replaced accordingly by the Raft metrics in
|<prefix>.cluster.raft.replication_maybe|Raft Replication maybe count. (counter)
|<prefix>.cluster.raft.replication_success|The total number of Raft replication requests that have succeeded. (counter)
|<prefix>.cluster.raft.last_leader_message|The time elapsed since the last message from a leader in milliseconds. Should reset periodically. (gauge)
|<prefix>.cluster.raft.snapshot_attempt|Downloading of Raft snapshot attempts triggered. (counter)
|<prefix>.cluster.raft.snapshot_success|Downloading of Raft snapshot successful downloads. (counter)
|<prefix>.cluster.raft.snapshot_fail|Downloading of Raft snapshot failed downloads. (counter)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
|<prefix>.cluster.raft.snapshot_fail|Downloading of Raft snapshot failed downloads. (counter)
|<prefix>.cluster.raft.snapshot_fail|Total number of failed Raft snapshot download attempts. (counter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants