Skip to content

Document some getMetric-related fields - #586

Open
IvanIvanoff wants to merge 1 commit into
mainfrom
add-metric-api-docs
Open

Document some getMetric-related fields#586
IvanIvanoff wants to merge 1 commit into
mainfrom
add-metric-api-docs

Conversation

@IvanIvanoff

Copy link
Copy Markdown
Member

No description provided.

- **`stabilizationPeriod`** — the time duration after which the metric value is
considered stable (e.g. `"1h"`, `"24h"`). During this window, the value may
be recalculated as new data arrives — for example, on-chain metrics can be
recomputed until a sufficient number of confirmation blocks is reached.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

incorrect example- we always wait N confirmation blocks before starting to process block with number last-N.
imo better to provide daily metric as example, that we recompute it during the day when new blockchain events arrive.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

as I see there is still example with confirmation blocks

Comment thread src/content/docs/guides/sanapi/fetching-metrics/index.mdx Outdated
@IvanIvanoff
IvanIvanoff force-pushed the add-metric-api-docs branch from 9c337cf to 521d55f Compare March 23, 2026 10:24
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.

2 participants