Skip to content

Releases: sensedeep/custom-metrics

v1.1.0

29 Dec 08:50
Compare
Choose a tag to compare

Minor Feature Release

Release Update: Query Behavior Adjustment

In this release, the behavior of the query() function has been updated.

The first change is that query() will now consistently return data points for all intervals within the requested span, even if no actual data exists for those intervals. Intervals that have no data will be set to {count: 0, value: 0}. Previously, query() only returned points for intervals with non-zero data. For example, if you queried a metric over a 24-hour (86400-second) span with only one recorded data point, the result would include just that single data point. With this update, the response will include data points with {count: 0, value: 0} for every interval without data in the requested span. This adjustment may affect applications that rely on specific data items appearing at fixed positions in the points[] index (a practice we strongly advise against). The change is designed to simplify graphing query results, ensuring a consistent and predictable structure.

The second change is to support a start date in the query via options.start. This permits queries to retrieve data for arbitrary date ranges.

Features

  • Interpolate missing points on query
  • Fully support options.start on query

Fixes

  • Fix selecting the wrong span range when stale data in held in a span that hasn't been updated for a while

v1.0.5

08 Dec 23:14
Compare
Choose a tag to compare

Minor Release

Fixes

  • Fix query when spans contain fewer data points than requested query.

v1.0.4

06 Jul 23:50
Compare
Choose a tag to compare

Minor Release

Fixes

  • Update README links

v1.0.3

29 Jun 04:49
Compare
Choose a tag to compare

Minor Release

Fixes

  • Update README

v1.0.2

24 Jun 00:22
Compare
Choose a tag to compare

Minor Release

Fixes

  • Fix Dynamodb TTL expiry for items flushed upon Lambda termination
  • Fix empty dimensions list on emit(). Now convert to [{}].

v1.0.1

16 Jun 23:33
Compare
Choose a tag to compare

Minor Release

This is the first 1.0 release after 6 months of API stability.

Features

  • Add query start time offset option

Fixes

  • Cleanup unused properties in MetricQueryPoint

v1.0.0

10 May 00:17
Compare
Choose a tag to compare

Major Release

This is the first 1.0 release after 6 months of API stability.

Fixes

  • Fix README query result documentation
  • Fix query result type

v0.8.2

04 Nov 09:05
Compare
Choose a tag to compare

Minor Patch Release

Features

  • Add "current" statistic to return the most recent data point value
  • Enhance accumulateMetric so it can be used on points[] without min/max values

Fixes

  • Fix emitting stale buffered metrics
  • README updates

v0.8.1

13 Sep 06:25
Compare
Choose a tag to compare

Minor Patch Release

This version is bumping the minor version as we are removing the pre-production warning.

Fixes

  • Fix emit and query options.log for debug trace
  • README updates

v0.8.0

05 Sep 07:50
Compare
Choose a tag to compare

Minor Patch Release

This version is bumping the minor version as we are removing the pre-production warning.

Fixes

  • Update README and remove pre-production warning
  • Document constructor credentials and region