From b5c16daf5d6ec408d73b329177f5771c04c6cc3c Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Thu, 4 Jan 2024 19:08:09 +0100 Subject: [PATCH] Add missing routeId label to stream time metric --- packages/api/src/utils/client/httpClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/utils/client/httpClient.ts b/packages/api/src/utils/client/httpClient.ts index d0b3e3849439..c4042110ad59 100644 --- a/packages/api/src/utils/client/httpClient.ts +++ b/packages/api/src/utils/client/httpClient.ts @@ -236,7 +236,7 @@ export class HttpClient implements IHttpClient { return apiResponse; } - const streamTimer = this.metrics?.streamTime.startTimer(); + const streamTimer = this.metrics?.streamTime.startTimer({routeId}); try { await apiResponse.rawBody(); this.logger?.debug("API response success", {routeId});