Sign inSign up

abilioesteves/prom-expressjs

By abilioesteves

Updated about 7 years ago

Image
0

243

abilioesteves/prom-expressjs repository overview

express-prom

Small repo with a full example of how to use NodeJS prom-client with ExpressJS

run

Type on terminal to run:

> npm i
> npm start

Or just:

> docker run -d -p 23498:23498 abilioesteves/prom-expressjs:latest

Event better:

> docker-compose up

Then go to any random path on port 23498, e.g. http://localhost:23498/myname.

The request will be registered by Prometheus and can be viewed at http://localhost:23498/metrics.

Tag summary

Content type

Image

Digest

Size

35.6 MB

Last updated

about 7 years ago

docker pull abilioesteves/prom-expressjs