Sign inSign up

kallaics82/pm2-metrics-test

By kallaics82

•Updated almost 5 years ago

Image
0

990

kallaics82/pm2-metrics-test repository overview

This is for a test purpose only and not any guarantee, it will work perfectly anytime. So use it only for your risk.

This is a small test image provide only pm2 metrics as datasource for Prometheus.

The container based on Alpine linux. The components:

  • nodejs, v16.13.0
  • npm, v8.1.2
  • pm2, v5.1.2

pm2-metrics installed automatically and fake nodejs webserver running as a process inside a container. the container exposed port 9209 to get the metrics.

Usage: docker run -it -d -p 9209:9209 --rm --name pm2m-test kallaics82/pm2-metrics-test:v1.0.0

Check the metrics: curl http://127.0.0.1:9209/metrics⁠

Sources: PM2 metrics: https://github.com/saikatharryc/pm2-prometheus-exporter⁠

Tag summary

Content type

Image

Digest

Size

44.9 MB

Last updated

almost 5 years ago

docker pull kallaics82/pm2-metrics-test:v1.0.0