Skip to content

feat: export latency percentiles#4

Merged
chatton merged 5 commits into
mainfrom
cian/export-latency-percentiles
Oct 23, 2025
Merged

feat: export latency percentiles#4
chatton merged 5 commits into
mainfrom
cian/export-latency-percentiles

Conversation

@chatton

@chatton chatton commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator

The following is a sample of what was exposed when running locally

# HELP ev_metrics_submission_duration_seconds da blob submission duration from block creation to da availability
# TYPE ev_metrics_submission_duration_seconds summary
ev_metrics_submission_duration_seconds{chain_id="testnet",type="header",quantile="0.5"} 104.37355353
ev_metrics_submission_duration_seconds{chain_id="testnet",type="header",quantile="0.9"} 196.37355353
ev_metrics_submission_duration_seconds{chain_id="testnet",type="header",quantile="0.95"} 198.37355353
ev_metrics_submission_duration_seconds{chain_id="testnet",type="header",quantile="0.99"} 199.37355353
ev_metrics_submission_duration_seconds_sum{chain_id="testnet",type="header"} 31758.898120131016
ev_metrics_submission_duration_seconds_count{chain_id="testnet",type="header"} 309

The values are not very good right now, but there is an issue with DA submission ATM which will hopefully help once fixed, and there may be something else to investigate on the ev-node side.

closes #1

@chatton chatton requested a review from auricom October 23, 2025 10:09
Comment on lines +47 to +48
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}.{{minor}}

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

unrelated change but I think the tag should have the prefix v to match the git tag directly.

}

// GetBlockTimestamp retrieves the timestamp of a celestia da block at the given height
func (c *Client) GetBlockTimestamp(ctx context.Context, daHeight uint64) (time.Time, error) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this functionality isn't directly available on the embedded DA client

@auricom

auricom commented Oct 23, 2025

Copy link
Copy Markdown
Collaborator
image

can be exploited on very useful visualizations

@chatton chatton merged commit d67d4ea into main Oct 23, 2025
3 checks passed
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.

[FEATURE] Export latency percentiles (p50/p90/p95/p99) for header/data submission

2 participants