1.3.4 • Published 5 years ago

express-gateway-plugin-metrics-prometheus v1.3.4

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

express-gateway-plugin-metrics-prometheus

Creates a metrics policy to expose prometheus metrics on /metrics

install

eg install express-gateway-plugin-metrics-prometheus

development

For development, start the gateway using cd gateway && npm start

You will also need httpbin for accepting HTTP requests, so fire up a docker container: docker run -p 8081:80 kennethreitz/httpbin

In order to generate metrics you can use the ab cli tool provided by the apache2-utils package.

Simply call ab -n <NUMBER_OF_REQUESTS> http://localhost:8080/<HTTPBIN_REQUEST_PATH>

metrics

  • http_requests_total
  • http_request_duration_ms
1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago