Skip to content

add sample_size to 5 specs (fixes '0 samples' display)#1318

Merged
Flotapponnier merged 1 commit into
mainfrom
fix/sample-size-batch
Jul 22, 2026
Merged

add sample_size to 5 specs (fixes '0 samples' display)#1318
Flotapponnier merged 1 commit into
mainfrom
fix/sample-size-batch

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Missing sample_size query made ledger + share-card footer show '0 SAMPLES' regardless of actual probe count.

Fixed 5 specs, 47 provider blocks:

  • network-fees (15)
  • xstocks-peg (12)
  • tokenized-stock-peg (11)
  • token-deployment-cost (7)
  • usdy-nav-basis (2)

Pattern: count_over_time([7d]) with the same label selector as p50.

…cards)

Missing sample_size query made ledger + share-card footer show '0 SAMPLES' regardless of actual probe count.

Fixed 5 specs, 47 provider blocks in total:
- network-fees (15 chains)
- xstocks-peg (12 assets)
- tokenized-stock-peg (11 assets)
- token-deployment-cost (7 chains)
- usdy-nav-basis (2 providers)

Pattern used: count_over_time(<base metric>{<same labels as p50>}[7d]) — counts underlying probe samples over the 7-day window that feeds the p50/p90/p99 aggregation.
@Flotapponnier
Flotapponnier merged commit dff5653 into main Jul 22, 2026
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.

1 participant