Retrieving MetricBase data using REST and JavaScript

Use JavaScript or REST APIs to insert and retrieve time-series data from the MetricBase database and to run transforms on the data. The transformations enable you to visualize time-series data in a variety of ways.

For more information about MetricBase time-series data transformations, see MetricBase transforms.

Using REST

For information about the MetricBase REST APIs that return time-series data from the MetricBase database, see MetricBase Time Series API.

Using JavaScript

For information about the MetricBase JavaScript APIs that return time-series data from the MetricBase database, see:
  • Client — Execute transforms on the MetricBase database and receive the results.
  • Data — Return the object that contains the result of a transform.
  • DataBuilder — Create a series of data points for a metric.
  • Transformer — Manipulate time-series data to prepare the data for evaluation and analysis.
  • TransformPart — Specify details of the transform to be done.
  • TransformResult — Return the object that contains the result of the transformation.

Experiment and get familiar with the JavaScript APIs by using the MetricBase Data Explorer that comes with the MetricBase Demo.