metrics

package module
v0.0.0-...-96f0cdb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2019 License: MIT Imports: 8 Imported by: 0

README

metrics

moleculer-metrics plugins

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrometheusService

func PrometheusService() moleculer.ServiceSchema

PrometheusService Moleculer metrics module for Prometheus.

*
* 		https://prometheus.io/
*
* Running Prometheus & Grafana in Docker:
*
* 		git clone https://github.com/vegasbrianc/prometheus.git
* 		cd prometheus
*
* 	Please note, don't forget add your endpoint to static targets in prometheus/prometheus.yml file
*
*     static_configs:
*       - targets: ['localhost:9090', 'moleculer-node-123:3030']
*
*  Start containers:
*
* 		docker-compose up -d
*
* Grafana dashboard: http://<docker-ip>:3000

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL