Releases: sensedeep/custom-metrics
v0.7.6
v0.7.5
Minor Feature Release
WITH BREAKING CHANGE
This release changes the default owner from "account" to "default". If you have not been setting the "owner" property in the CustomMetrics constructor and you want to utilize existing metrics, you will need to set the owner property to "account".
Breaking Changes
- Change the default CustomMetrics constructor owner from "account" to "default"
Features
- Add constructor "type" option to set a single table type attribute. Defaults to {_type: 'Metric'}.
- Document metric item database schema in README.
- Add Constructor "creds" and "region" properties to construct DynamoDB client connection from credentials instead of a "client" param.
Fixes
- Remove dynamodb-onetable peer dependency
v0.7.4
Major Feature Release
WITH BREAKING CHANGE
This release removes the dependency on OneTable. OneTable is ideal when you have many, varied calls to DynamoDB. As CustomMetrics only has 3 DynamoDB calls, it is simpler to go directly to the AWS DynamoDB API. This necessitates a modified constructor API.
Breaking Changes
- Use of the options.onetable is removed. Construction should now provide either a table name or optionally a DynamoDB AWS V3 client instance.
Features
- Greatly optimized getMetricList for large metric sets.
- Optimizations through emit and query code paths
- Optimized CustomMetrics constructor
- Extended unit tests
- Simplified unit test setup
- Refactored logging and trace
- Add emit() and query() log params for trace execution
- Add exponential backoff and jitter on metric update collisions
Fixes
- Fixes to the README
- Fix for Javascript number precision issues. Reduces point size considerably.
- Fix for AWS V3 marshall conversion
v0.7.3
v0.7.2
v0.7.1
Major Feature Release
This is the initial release of CustomMetrics.
CustomMetrics is a NodeJS library to emit and query custom metrics for AWS apps.
CustomMetrics is under active development and is not (yet) ready for production use. This README documentation is incomplete. All feedback is welcome.