We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a42b050 commit af2ec16Copy full SHA for af2ec16
docs/core/metrics.md
@@ -145,7 +145,7 @@ See examples below:
145
import { Context } from 'aws-lambda';
146
import middy from '@middy/core';
147
148
- const metrics = new Metrics({namespace:"serverlessAirline", service:"orders"});
+ const metrics = new Metrics({ namespace: 'serverlessAirline', service: 'orders' });
149
150
const lambdaHandler = async (event: any, context: Context) => {
151
metrics.addMetric('successfulBooking', MetricUnits.Count, 1);
0 commit comments