# cnn-metrics

> CNN Metrics

Latest version **0.5.0** (published 2017-04-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install cnn-metrics
pnpm add cnn-metrics
yarn add cnn-metrics
bun add cnn-metrics
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2017-04-20 |
| First published | 2016-02-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.3.1 |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+13 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | adslaton, britneydossett, cnnlabs, codeclout, drenter, jamsyoung, khowen, matthewjon |
| Keywords | cnn, cnnlabs, metrics |

## Links

- npm: https://www.npmjs.com/package/cnn-metrics
- Repository: https://github.com/cnnlabs/cnn-metrics
- Homepage: https://github.com/cnnlabs/cnn-metrics#readme
- Issues: https://github.com/cnnlabs/cnn-metrics/issues
- npm.io page: https://npm.io/package/cnn-metrics

## Dependencies (5)

- [debug](https://npm.io/package/debug.md) 2.6.3
- [nconf](https://npm.io/package/nconf.md) 0.8.4
- [dogapi](https://npm.io/package/dogapi.md) 2.6.1
- [lodash](https://npm.io/package/lodash.md) 4.17.4
- [metrics](https://npm.io/package/metrics.md) 0.1.11

## Recent versions

- 0.5.0 (latest) — 2017-04-20
- 0.4.0 — 2016-12-09
- 0.3.10 — 2016-08-03
- 0.3.9 — 2016-05-18
- 0.3.8 — 2016-04-18
- 0.3.7 — 2016-02-23
- 0.3.6 — 2016-02-23
- 0.3.5 — 2016-02-22
- 0.3.4 — 2016-02-22
- 0.3.3 — 2016-02-22
- 0.3.2 — 2016-02-20
- 0.3.1 — 2016-02-20
- 0.3.0 — 2016-02-17
- 0.2.1 — 2016-02-17
- 0.2.0 — 2016-02-06
- … 1 more at https://npm.io/package/cnn-metrics/versions

## README

# CNN Metrics

[![build](https://img.shields.io/travis/cnnlabs/cnn-metrics/master.svg?style=flat-square)](https://travis-ci.org/cnnlabs/cnn-metrics)
![node](https://img.shields.io/node/v/cnn-metrics.svg?style=flat-square)
[![npm](https://img.shields.io/npm/v/cnn-metrics.svg?style=flat-square)](https://www.npmjs.com/package/cnn-metrics)
[![npm-downloads](https://img.shields.io/npm/dm/cnn-metrics.svg?style=flat-square)](https://www.npmjs.com/package/cnn-metrics)
[![dependency-status](https://gemnasium.com/cnnlabs/cnn-metrics.svg)](https://gemnasium.com/cnnlabs/cnn-metrics)


## Requirements

A current LTS or Stable version of [Node.js](https://nodejs.org).  We recommend
using [nvm](https://github.com/creationix/nvm#readme) to manage node versions.


## Installation

```shell
$ npm install
```


## Usage

See the [`example/`](./example) directory.  You can start up the example app
with the following.  Supply your own [Hosted Graphite](https://www.hostedgraphite.com)
key or [DataDog](https://datadog.com) keys.

```shell
$ NODE_ENV=production ENABLE_MTERICS=true HOSTEDGRAPHITE_APIKEY=[valid-key] DEBUG=* DEBUGMETRICS=1 PORT=5000 node example/app.js
```


## Environment variables

This package requires a few environment variable to be set.

- `NODE_ENV`

- `ENVIRONMENT`

- `METRICS_ENABLED`

- `HOSTEDGRAPHITE_APIKEY` -or- `DATADOG_APIKEY` and `DATADOG_APPKEY`

- `NODE_APP_INSTANCE`

- `METRICS_INTERVAL`

- `DEBUGMETRICS`

---
_Source: https://npm.io/package/cnn-metrics · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
