Skip to content

Commit

Permalink
feat(MetricFactory): add API for creating metrics better handling opt…
Browse files Browse the repository at this point in the history
…ional props
  • Loading branch information
echeung-amzn committed Aug 9, 2024
1 parent 247fb58 commit 770a7a6
Show file tree
Hide file tree
Showing 33 changed files with 1,743 additions and 1,810 deletions.
191 changes: 160 additions & 31 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const m1 = new Metric(/* ... */);
const metricFactory = monitoringFacade.createMetricFactory();

// create metrics using metric factory
const m1 = metricFactory.createMetric(/* ... */);
const m1 = metricFactory.metric(/* ... */);
```

#### Example: metric with anomaly detection
Expand Down
Loading

0 comments on commit 770a7a6

Please sign in to comment.