We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e67e907 commit b074fddCopy full SHA for b074fdd
packages/metrics/src/Metrics.ts
@@ -384,7 +384,7 @@ class Metrics extends Utility implements MetricsInterface {
384
* const metrics = new Metrics({ namespace: 'serverlessAirline', serviceName: 'orders' }); // Sets metric namespace, and service as a metric dimension
385
*
386
* export const handler = async (_event: unknown, __context: unknown): Promise<void> => {
387
- * metrics.addMetric('test-metric', MetricUnits.Count, 10);
+ * metrics.addMetric('test-metric', MetricUnit.Count, 10);
388
* metrics.publishStoredMetrics();
389
* };
390
* ```
0 commit comments