<img src="https://avatars2.githubusercontent.com/u/38480854?v=3&s=96" alt="OpenCensus logo" title="OpenCensus" align="right" height="96" width="96"/>

# OpenCensus Stats(Metrics) API Node.js Samples
OpenCensus is a toolkit for collecting application performance and behavior data. It currently includes 3 apis: stats, tracing and tags.

## Table of Contents

* [Setup](#setup)
* [Samples](#samples)
  * [Stats API](#stats-api)

## Setup

1.  Read [Prerequisites][prereq] and [How to run a sample][run] first.
1.  Install dependencies:

        npm install


[prereq]: ../README.md#prerequisites
[run]: ../README.md#how-to-run-a-sample

## Samples

### Stats API

View the [documentation][stats_0_docs] or the [source code][stats_0_code].

__Usage:__ `node metrics-quickstart.js`

[stats_0_docs]: https://opencensus.io/stats/
[stats_0_code]: metrics-quickstart.js

