# monitorer

> Module to send monitoring messages to the Monitoring microservice

Latest version **0.0.7** (published 2016-03-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install monitorer
pnpm add monitorer
yarn add monitorer
bun add monitorer
```

## 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.0.7 |
| Published | 2016-03-08 |
| First published | 2016-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+5 in 2 direct dependencies) |
| Install scripts | no |
| Author | Javi Romero |
| Maintainers | elmurci |

## Links

- npm: https://www.npmjs.com/package/monitorer
- Repository: https://github.com/elmurci/monitorer
- Homepage: https://github.com/elmurci/monitorer#readme
- Issues: https://github.com/elmurci/monitorer/issues
- npm.io page: https://npm.io/package/monitorer

## Dependencies (12)

- [chai](https://npm.io/package/chai.md) ^2.1.2
- [grunt](https://npm.io/package/grunt.md) ^0.4.5
- [mocha](https://npm.io/package/mocha.md) ^2.2.1
- [moment](https://npm.io/package/moment.md) ^2.10.3
- [unirest](https://npm.io/package/unirest.md) ^0.4.2
- [bluebird](https://npm.io/package/bluebird.md) ^3.0.6
- [grunt-cli](https://npm.io/package/grunt-cli.md) ^0.1.13
- [assert-plus](https://npm.io/package/assert-plus.md) ^0.1.5
- [body-parser](https://npm.io/package/body-parser.md) ^1.12.2
- [moment-timezone](https://npm.io/package/moment-timezone.md) ^0.4.1
- [chai-as-promised](https://npm.io/package/chai-as-promised.md) ^4.3.0
- [load-grunt-tasks](https://npm.io/package/load-grunt-tasks.md) ^3.3.0

## Recent versions

- 0.0.7 (latest) — 2016-03-08
- 0.0.6 — 2016-03-07
- 0.0.5 — 2016-03-07
- 0.0.4 — 2016-03-07
- 0.0.3 — 2016-03-01
- 0.0.2 — 2016-02-21
- 0.0.1 — 2016-02-21

## README

monitorer
=========

Simple monitor module for nodejs4+

Installation
------------

$ npm install monitorer --save

Setting up
----------

### Direct configuration

```js
"use strict";

Monitorer = require('../index'),
monitorer = new Monitorer({url: 'http://127.0.0.1:8480/v1/log/'}); 

var result = monitorer.send(
        'sendPayment',
        'PaymentApi',
        'ok',
        {
            "whatever": "works"
        },
        'type': 'fatal'
    )
    .then(function(res) {
        // do something
    })
    .catch(function(err){
        // do something
    });

```

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