Skip to content

Releases: sensedeep/custom-metrics

v0.7.6

05 Sep 07:47
Compare
Choose a tag to compare

Minor Patch Release

Fixes

  • Regen ES module distribution -- incorrect tsconfig configuration

v0.7.5

02 Sep 02:26
Compare
Choose a tag to compare

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

30 Aug 03:23
Compare
Choose a tag to compare

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

24 Aug 03:40
Compare
Choose a tag to compare

Minor Patch Release

Fixes

  • Fixes to the README
  • Fix used of array.at for old Node versions

v0.7.2

20 Aug 08:03
Compare
Choose a tag to compare

Minor Fix Release

Features

  • Unit tests
  • Code coverage
  • Add assertions

Fixes

  • Fix P-Value queries
  • Fix query aggregating data for lower periods
  • Update README

v0.7.1

18 Aug 06:21
Compare
Choose a tag to compare

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.