An open API service indexing awesome lists of open source software.

https://github.com/rokid/pandora-metrics-exporter

expose pandora metrics to prometheus scrapper
https://github.com/rokid/pandora-metrics-exporter

metrics nodejs pandora promethrues

Last synced: 3 months ago
JSON representation

expose pandora metrics to prometheus scrapper

Awesome Lists containing this project

README

          

# Pandora Metrics Exporter

![npm](https://img.shields.io/npm/v/pandora-metrics-exporter.svg)

Expose [Pandora.js] metrics to [Prometheus] scrappers

## Usage

### Install

```bash
$ npm i pandora-metrics-exporter -g # install pandora-metrics-exporter globally
$ export PANDORA_CONFIG=`pandora-metrics-exporter-dir`

$ pandora exit && pandora start --name dashboard `pandora-dashboard-dir` # restart pandora daemon
```

Now the metrics is available at default path `http://127.0.0.1:7002/prometheus`

[Pandora.js]: http://www.midwayjs.org/pandora/en/
[Prometheus]: https://prometheus.io