Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: Add post challenge reading metrics #228

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

magik6k
Copy link
Collaborator

@magik6k magik6k commented Sep 30, 2024

Output in the /metrics endpoint looks like

# HELP curio_curio_stor_generate_single_vanilla_proof_duration_seconds Duration of GenerateSingleVanillaProof in seconds
# TYPE curio_curio_stor_generate_single_vanilla_proof_duration_seconds histogram
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="0.1"} 0
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="1"} 0
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="5"} 6
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="12"} 38
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="20"} 69
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="60"} 116
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="90"} 124
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="150"} 139
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="300"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="500"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="900"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="1500"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="3000"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="6000"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="15000"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="30000"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="60000"} 146
curio_curio_stor_generate_single_vanilla_proof_duration_seconds_bucket{cache_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",sealed_id="a18b0ebe-7177-42f1-aa73-81869e822d8d",update="false",le="90000"} 146

Should make it easier to figure out which storage is slow at reading PoSt challenges

@magik6k magik6k force-pushed the feat/post-chall-timing-metrics branch from 7619324 to 97f2b52 Compare September 30, 2024 22:01
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