heka-node is a Node.js client for the “Heka” system of application logging and metrics gathering developed by the Mozilla Services team. The Heka system is meant to make life easier for application developers with regard to generating and sending logging and analytics data to various destinations. It achieves this goal (we hope!) by separating the concerns of message generation from those of message delivery and analysis. Front end application code no longer has to deal directly with separate back end client libraries, or even know what back end data storage and processing tools are in use. Instead, a message is labeled with a type (and possibly other metadata) and handed to the Heka system, which then handles ultimate message delivery.

More information about how Mozilla Services is using Heka (including what is being used for a router and what endpoints are in use / planning to be used) can be found in the heka-docs repository on github.

You can find a pre-rendered version of that documentation on at

A pre-rendered version of the heka-node documentation can be found on at

The primary component to the heka-node library, is the Basic Usage client class which exposes a clientFromJsonConfig factory function that will generate a configured client.

The HekaClient should be instantiated with the factory function.

Folks new to using Heka will probably find Heka Configuration a good place to get started.

Indices and tables