Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 818 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 818 Bytes

metrics-wasm-exporter

This is a WASM implementation of a metrics Recorder.

Metrics can be transferred in two ways:

  • If the WASM app itself wants access to metrics, it can register an event receiver that will be called whenever a metric is recorded.
  • Metrics can be send to a remote server. In this case, asn1 is used to encode the metrics into a space efficient binary format. The encoded metrics are then batched and send with POST requests to the specified server URL.

Unlike normal metrics, the metrics that metrics-wasm-exporter exports also carry a timestamp of when the metric was originally recorded.