Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Fix metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Sep 15, 2021
1 parent dfd0b14 commit e3eb16d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function metricsByEndpoint_afterResponse(req, res, userContext, events, done) {
reqName += baseUrl;
}

const histoName = `plugins.metrics-by-endpont.response_time.${reqName}`;
const histoName = `plugins.metrics-by-endpoint.response_time.${reqName}`;

if (res.headers['server-timing']) {
const timing = getServerTimingTotal(res.headers['server-timing']);
Expand Down

0 comments on commit e3eb16d

Please sign in to comment.