Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 370 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 370 Bytes

Rack example

A simple Rack application which shows how to use prometheus' Rack::Exporter and Rack::Collector rack middlwares.

Usage

Start the Server.

unicorn -p 5000 -c unicorn.conf

Benchmark number of requests.

ab -c 10 -n 1000 http://127.0.0.1:5000/

View the metrics output.

curl http://127.0.0.1:5000/metrics.json