JSPM

  • Created
  • Published
  • Downloads 315160
  • Score
    100M100P100Q181368F
  • License MIT

The classes needed to create self reporting dimension aware metrics registries

Package Exports

  • measured-reporting
  • measured-reporting/lib/registries/DimensionAwareMetricsRegistry

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (measured-reporting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Measured Reporting

The registry and reporting library that has the classes needed to create a dimension aware, self reporting metrics registry.

npm

Install

npm install measured-reporting

What is in this package

Self Reporting Metrics Registry

A dimensional aware self-reporting metrics registry, just supply this class with a reporter implementation at instantiation and this is all you need to instrument application level metrics in your app.

Reporter Abstract Class

The base class for reporter implementations. This class is extended and the _reportMetrics(metrics) method gets overridden to create an data aggregator specific reporter. See the SignalFx Reporter for an example implementation.

What are dimensions?

As described by Signal Fx:

A dimension is a key/value pair that, along with the metric name, is part of the identity of a time series. You can filter and aggregate time series by those dimensions across SignalFx.

DataDog has a nice blog post about how they are used in their aggregator api.

Graphite also supports the concept via tags.