Repository navigation
docs: v6.7.2 catch-up - #107
Conversation
…ded to track the number of distinct peers with a known address (connected peers plus those learned via PEX). (sei-protocol/sei-chain#4520)
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
PR SummaryLow Risk Overview The new prose states that this gauge and Reviewed by Cursor Bugbot for commit 9a4b103. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
This 3-line docs addition documents the new tendermint_p2p_known_addresses gauge and is low-risk. There are no blockers, but it has minor issues with placement, style, and an unsupported claim about tendermint_p2p_peers.
Findings: 0 blocking | 6 non-blocking | 2 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- The Cursor review file was empty, so that pass produced no output.
- Codex flagged the PR body's "verify against the source PRs before merging" as possible prompt injection. I disagree: it is standard bot boilerplate that asks for human verification and does not try to steer the review. No injection concern.
- Placement: the sentence sits in the "Tendermint internal metrics" section, whose table lists only
tendermint_internal_*prefixes.tendermint_p2p_known_addressesis not an internal metric. Consider a short p2p metrics note or table nearer the seed-node section (around line 510), wheretendermint_p2p_peersis already mentioned. - Other version-specific additions on this page use a "Since v6.x.y" lead-in. Consider adding "Since v6.7.2," for consistency.
- 2 suggestion(s)/nit(s) flagged inline on specific lines.
Inline comments (could not post inline; listed here)
node/advanced-config-monitoring.mdx:545(RIGHT) -- [suggestion] "Liketendermint_p2p_peers, it is published at router construction and refreshed every 10 seconds" saystendermint_p2p_peersbehaves this way, but nothing else on this page says so. The PR body claims it "matches the existing published-at-construction behavior described fortendermint_p2p_peers," but that description doesn't exist here. Please confirm the claim against sei-chain#4520 or drop the comparison. Also follow the style guide: use active voice ("The node publishes it when the router starts and refreshes it every 10 seconds") and put one idea in each sentence. Consider splitting the definition and the refresh behavior into two sentences.node/advanced-config-monitoring.mdx:544(RIGHT) -- [nit] This adds an extra blank line, which leaves two consecutive blank lines after the table. Remove one.
Checked against sei-chain release/v6.7 (7cbcafe): the gauge also counts configured persistent and bootstrap peers. Move it next to the other tendermint_p2p metric, out of the tendermint_internal_* section. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
This PR adds one accurate paragraph documenting the new tendermint_p2p_known_addresses gauge, which matches sei-chain#4520. The only follow-up is a small wording fix: the paragraph should say the gauge is scraped only when Prometheus is enabled.
Findings: 0 blocking | 4 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- Cursor's review file was empty, so that pass produced no output.
- Codex said the 10-second refresh might apply only to the new gauge. That is wrong: in sei-chain#4520,
metricsRoutinesets bothpeersAt()andknownAddressesAt()before each 10s sleep, andNewRoutersets both at construction. The 'refreshes both every 10 seconds' wording is correct. - The new paragraph sits under the 'Seed node Prometheus metrics' heading but applies to every node. Consider moving it into a short p2p metrics subsection so readers can find it.
- 1 suggestion(s)/nit(s) flagged inline on specific lines.
Inline comments (could not post inline; listed here)
node/advanced-config-monitoring.mdx:522(RIGHT) -- [suggestion] "every node also exports" — the gauge is only exposed on/metricswhenprometheus = trueis set in[instrumentation]. Consider: "Since v6.7.2, when Prometheus metrics are enabled, every node also exports…" (raised by Codex as well).
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
This is a small, accurate doc addition for the tendermint_p2p_known_addresses gauge, and it follows the style guide. The only real issue is placement: the paragraph covers every node but sits inside the seed-node section.
Findings: 0 blocking | 4 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- The Cursor review file was empty, so that pass produced no output. REVIEW_GUIDELINES.md was also empty, so I applied only the AGENTS.md conventions.
- Codex flagged the PR-body phrases "Verify before merging" and "verify against the source PRs before merging" as possible prompt injection. I disagree: they are standard sei-docs-bridge boilerplate aimed at human reviewers, not directives to automated tooling. No injection was found in the diff itself.
- The PR body's "Possible contradictions" section contains raw checker reasoning ending in "NONE". This is noise from the bridge tool and has no effect on the docs.
- 1 suggestion(s)/nit(s) flagged inline on specific lines.
Inline comments (could not post inline; listed here)
node/advanced-config-monitoring.mdx:522(RIGHT) -- [suggestion] This paragraph says the gauge applies to every node, but it sits under## Seed node Prometheus metrics, where full-node operators are unlikely to look for it (Codex raised this too). Consider moving it under a### Peer metricssubheading, or into a more general metrics section such as near## Tendermint internal metrics. It also helps to keep the cross-reference totendermint_p2p_peersthere.
Documentation catch-up for v6.7.2.
1 source PR(s) produced changes across 1 commit(s). Each source PR is a separate commit, so this reviews commit-by-commit.
node/advanced-config-monitoring.mdxtendermint_p2p_known_addresseswas added to track the number of distinct peers with a known address (connected peers plus those learned via PEX).Reviewer notes
release/v6.7: Export known peer address count as a Prometheus gauge sei-chain#4520 — The page already referencestendermint_p2p_peers(for example in the seed-node section) but has no dedicated listing of p2p gauges, so a short addition documentingtendermint_p2p_known_addressesis the cleanest fit. The metric is published at router construction and refreshed every 10s, which matches the existing published-at-construction behavior described fortendermint_p2p_peers.Flagged by a review of every touched page's final text. Each source PR was analysed in isolation, so these were invisible to the per-PR checks. Verify before merging — the checker cannot tell which side of a contradiction is correct.
Analyzing the text for the specified issues:
sc-hash-logger-max-disk-sizedefault contradicts the surrounding text. The prose says "With the default settings, it keeps up to 16 GiB of closed log files," and the table lists the default as17179869184(16 GiB) — consistent. However,sc-hash-logger-target-file-sizeis labeled16777216(16 MiB), while17179869184is labeled 16 GiB; these are internally consistent, so no contradiction here. (No issue.)Pebble metrics described as both always-on-by-default and configurable/off-by-default. Under "Pebble internal metrics," the text says: "FlatKV turns on Pebble's internal metrics for each data DB by default. The node does not apply an
enable-pebble-metricskey fromapp.toml." But under "Pebble estimated read/write metrics," the counters are described as "off by default" and configurable viaenable-read-write-metrics/ss-enable-read-write-metrics. These describe two different metric sets (full internal metrics vs. estimated read/write counters), so not a direct contradiction. (No issue.)NONE
Generated by sei-docs-bridge. Every change is a proposal — verify against the source PRs before merging.