Skip to content

Count urls a peer asks for that this node does not hold - #7

Merged
nikitakarpei merged 1 commit into
mainfrom
fix/urls-unknown-to-us-metric
Aug 15, 2026
Merged

Count urls a peer asks for that this node does not hold#7
nikitakarpei merged 1 commit into
mainfrom
fix/urls-unknown-to-us-metric

Conversation

@nikitakarpei

Copy link
Copy Markdown
Owner

Closes #6.

"unavailable" reason is no more part of urlmetadatacourier.Outcome and won't appear on "URL metadata deliveries sent, by outcome" panel. Instead new metric rwidistribution_urls_unknown_to_us_total was added which reports how many URLs were requested by a remote peer but unknown for us and new panel "URLs a peer asked for that this node does not hold" which renders it.

Also the panel "Postings on the offer schedule" was removed to save space on dashboard because it's almost always equals to amount of postings a node holds.

The urlmetadatacourier outcome vocabulary names how a peer answered a
delivery. "unavailable" named something else: no delivery was sent at
all, because this node holds no metadata for the urls the peer asked
for. It shared the delivery counters, so one missing url out of fifty
weighed the same as a whole delivery, and its name read like
"unreachable" on the panel.

Postings transfer now reports those urls on their own counter,
rwidistribution_urls_unknown_to_us_total, read against the accepted
series on the urls delivered panel.

The dashboard drops "Postings on the offer schedule", which tracks the
postings held, and pairs "Replicas dropped from peers" with "Postings
handed off to closer peers".

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@nikitakarpei
nikitakarpei force-pushed the fix/urls-unknown-to-us-metric branch from de059dc to d94fe33 Compare August 15, 2026 18:28
@nikitakarpei
nikitakarpei merged commit 2b41931 into main Aug 15, 2026
12 checks passed
@nikitakarpei
nikitakarpei deleted the fix/urls-unknown-to-us-metric branch August 15, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"unavailable" reason on "URL metadata deliveries sent, by outcome" grafana panel is not readable

1 participant