Skip to content

Add SNOS RPC method duration metrics - #12

Open
heemankv wants to merge 1 commit into
fix/pathfinder-v0.22.3-karnotfrom
feat/snos-rpc-method-metrics-v0223
Open

Add SNOS RPC method duration metrics#12
heemankv wants to merge 1 commit into
fix/pathfinder-v0.22.3-karnotfrom
feat/snos-rpc-method-metrics-v0223

Conversation

@heemankv

@heemankv heemankv commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a SNOS-specific RPC duration histogram for the three methods SNOS calls heavily
  • record durations as seconds with only the method label to keep cardinality bounded
  • add a manual GHCR image build path using Blacksmith and linux/amd64, matching the Madara-style manual build architecture

Metric

pathfinder_snos_rpc_method_duration_seconds{method}

Tracked methods:

  • starknet_getStorageProof
  • starknet_getClass
  • starknet_getClassHashAt

Validation

  • cargo check -p pathfinder-rpc

Image

Manual Docker workflow succeeded: https://github.com/karnotxyz/pathfinder/actions/runs/28110107948

Published image:

  • ghcr.io/karnotxyz/pathfinder:manual-a9772c9
  • digest: sha256:f7731714019b85e9379aef7e24af3e48d4216623e45c1bd1bb38e98d7693177a
  • platform: linux/amd64

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