Skip to content

Commit

Permalink
chore(docs): add invisible unicode char to decorator docs (#1755)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi committed Feb 5, 2024
1 parent 883f74d commit d5da23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metrics/src/Metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class Metrics extends Utility implements MetricsInterface {
* const metrics = new Metrics({ namespace: 'serverlessAirline', serviceName: 'orders' }); // Sets metric namespace, and service as a metric dimension
*
* export const handler = async (_event: unknown, __context: unknown): Promise<void> => {
* metrics.addMetric('test-metric', MetricUnits.Count, 10);
* metrics.addMetric('test-metric', MetricUnit.Count, 10);
* metrics.publishStoredMetrics();
* };
* ```
Expand Down

0 comments on commit d5da23d

Please sign in to comment.