Skip to content

Commit

Permalink
Add missing routeId label to stream time metric
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Jan 4, 2024
1 parent bac340e commit b5c16da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/utils/client/httpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down

0 comments on commit b5c16da

Please sign in to comment.