Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@loopback/example-metrics-prometheus

0.2.2 • Public • Published

@loopback/example-metrics-prometheus

This project contains an example to illustrate metrics provided by @loopback/extension-metrics and Prometheus.

Use

npm start

To run full demo:

npm run demo

Now let's generate some traffic:

http://127.0.0.1:3000/greet/world?count=50

The metrics is reported at http://127.0.0.1:3000/metrics.

Open http://localhost:9090 for the Prometheus Web UI.

Prometheus Demo

Contributions

Tests

Run npm test from the root folder.

Contributors

See all contributors.

License

MIT

Install

npm i @loopback/example-metrics-prometheus

DownloadsWeekly Downloads

12

Version

0.2.2

License

MIT

Unpacked Size

225 kB

Total Files

43

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar