# new-relic-statsd-infra-backend

> New Relic Infrastructure backend for StatsD

Latest version **1.0.0** (published 2018-02-28) · propietary license · 0 weekly downloads

## Install

```sh
npm install new-relic-statsd-infra-backend
pnpm add new-relic-statsd-infra-backend
yarn add new-relic-statsd-infra-backend
bun add new-relic-statsd-infra-backend
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-02-28 |
| First published | 2018-02-28 |
| Weekly downloads | 0 |
| License | propietary |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 0 |
| Unpacked size | 22.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | New Relic Infrastructure team |
| Maintainers | ryandavis84 |
| Keywords | newrelic, statsd, metrics, infrastructure |

## Links

- npm: https://www.npmjs.com/package/new-relic-statsd-infra-backend
- npm.io page: https://npm.io/package/new-relic-statsd-infra-backend

## Recent versions

- 1.0.0 (latest) — 2018-02-28

## README

## Overview

StatsD backend for sending metrics to New Relic Infrastructure

## Requirements

* StatsD versions >= 0.3.0.
* New Relic Infrastructure Agent >= v1.0.818

## Installation

```sh
    $ cd /path/to/statsd
    $ npm install @newrelic/statsd-infra-backend
```

## Enabling

1. Add `@newrelic/statsd-infra-backend` backend to the list of StatsD backends in the StatsD configuration file.

```js
{
    backends: ["@newrelic/statsd-infra-backend"],
}
```

2. Configure the necessary configuration values for running this backend:

```js
    newrelic: {
      port: 5001,
      rules: [
        {
          matchExpression: "myapp.*redis.*",
          metricSchema: "{app}.{environment}.{service}.{serviceName}.{metricName}",
          eventType: "RedisStatsdSample",
          labels: {
            role: "cache",
            environment: "{environment}"
          }
        }
      ]
    }
```

See our [example config file](exampleConfig.js) for a complete StatsD configuration.

3. Start/restart the StatsD daemon and your metrics should now be pushed to your
New Relic Infrastructure account.

## Development

- Fork and clone this project
- Download project dependencies using `npm`
- Modify the code
- Ensure everything is running properly executing tests: `npm test`
- Push the code to your fork
- Send a Pull Request

## License

New Relic Infrastructure Backend for StatsD is free-to-use, proprietary
software. Please see the full license (found in [LICENSE](LICENSE) in this
distribution) for details on its license and the licenses of its dependencies.

---
_Source: https://npm.io/package/new-relic-statsd-infra-backend · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
