starknet_transaction_prover: HTTP request count + latency + in-flight metrics#14169
starknet_transaction_prover: HTTP request count + latency + in-flight metrics#14169avi-starkware wants to merge 1 commit into
Conversation
PR SummaryLow Risk Overview The layer emits Tests use a new Reviewed by Cursor Bugbot for commit 6c02d2b. Bugbot is set up for automated code reviews on this repo. Configure here. |
… metrics Adds `HttpMetricsLayer` placed between the monitoring endpoints and the rest of the stack so probes/scrapes don't distort the request-latency distribution. Records request count by bounded method/status labels, end-to-end latency, and in-flight gauge. Also adds a shared test recorder helper that installs the global Prometheus recorder once across the test binary. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
7d179cb to
a0e7299
Compare
51ebd37 to
6c02d2b
Compare

Adds
HttpMetricsLayerplaced between the monitoring endpoints and therest of the stack so probes/scrapes don't distort the request-latency
distribution. Records request count by bounded method/status labels,
end-to-end latency, and in-flight gauge. Also adds a shared test recorder
helper that installs the global Prometheus recorder once across the
test binary.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com