MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / dth

Function dth

tests/loadtest/script.js:23–31  ·  view source on GitHub ↗
(scn)

Source from the content-addressed store, hash-verified

21const DESTINATION_BUCKETS = Number(__ENV.DESTINATION_BUCKETS || 1);
22
23function dth(scn) {
24 var o = {};
25 o["http_req_failed{scenario:" + scn + "}"] = ["rate<0.001"];
26 o[`http_req_duration{scenario:${scn},expected_response:true}`] = [
27 "p(95)<300",
28 "p(99)<600",
29 ];
30 return o;
31}
32
33// Simple merge without spread/rest (for Goja compatibility)
34function merge() {

Callers 1

buildOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected