mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:37:34 +00:00
docs(benchmarks): v2.70.0 (#9416)
# Which Problems Are Solved No benchmarks for v2.70.0 were provided so far. # How the Problems Are Solved Benchmarks added # Additional changes - it's now possible to plot multiple charts, one chart per `metric_name`
This commit is contained in:
@@ -168,7 +168,7 @@ export async function token(request: TokenRequest): Promise<Tokens> {
|
||||
});
|
||||
}
|
||||
|
||||
const authRequestBiIDTrend = new Trend('oidc_auth_request_by_id_duration', true);
|
||||
const authRequestByIDTrend = new Trend('oidc_auth_request_by_id_duration', true);
|
||||
export async function authRequestByID(id: string, tokens: any): Promise<Response> {
|
||||
const response = http.get(url(`/v2/oidc/auth_requests/${id}`), {
|
||||
headers: {
|
||||
@@ -178,11 +178,11 @@ export async function authRequestByID(id: string, tokens: any): Promise<Response
|
||||
check(response, {
|
||||
'authorize status ok': (r) => r.status == 200 || fail(`auth request by failed: ${JSON.stringify(r)}`),
|
||||
});
|
||||
authRequestBiIDTrend.add(response.timings.duration);
|
||||
authRequestByIDTrend.add(response.timings.duration);
|
||||
return response;
|
||||
}
|
||||
|
||||
const finalizeAuthRequestTrend = new Trend('oidc_auth_requst_by_id_duration', true);
|
||||
const finalizeAuthRequestTrend = new Trend('oidc_auth_request_finalize', true);
|
||||
export async function finalizeAuthRequest(id: string, session: any, tokens: any): Promise<Response> {
|
||||
const res = await http.post(
|
||||
url(`/v2/oidc/auth_requests/${id}`),
|
||||
|
Reference in New Issue
Block a user