@@ -41,31 +41,36 @@ stopping you from creating a client in any other language (see
4141
4242## Table of Contents
4343
44- 1 . [ Why yet another chaotic TCP proxy?] ( #why-yet-another-chaotic-tcp-proxy )
45- 2 . [ Clients] ( #clients )
46- 3 . [ Example] ( #example )
47- 4 . [ Usage] ( #usage )
48- 1 . [ Installing] ( #1-installing-toxiproxy )
49- 1 . [ Upgrading from 1.x] ( #upgrading-from-toxiproxy-1x )
50- 2 . [ Populating] ( #2-populating-toxiproxy )
51- 3 . [ Using] ( #3-using-toxiproxy )
52- 4 . [ Logging] ( #4-logging )
53- 5 . [ Toxics] ( #toxics )
54- 1 . [ Latency] ( #latency )
55- 2 . [ Down] ( #down )
56- 3 . [ Bandwidth] ( #bandwidth )
57- 4 . [ Slow close] ( #slow_close )
58- 5 . [ Timeout] ( #timeout )
59- 6 . [ Reset peer] ( #reset_peer )
60- 7 . [ Slicer] ( #slicer )
61- 6 . [ HTTP API] ( #http-api )
62- 1 . [ Proxy fields] ( #proxy-fields )
63- 2 . [ Toxic fields] ( #toxic-fields )
64- 3 . [ Endpoints] ( #endpoints )
65- 4 . [ Populating Proxies] ( #populating-proxies )
66- 7 . [ CLI example] ( #cli-example )
67- 8 . [ FAQ] ( #frequently-asked-questions )
68- 9 . [ Development] ( #development )
44+ - [ Toxiproxy] ( #toxiproxy )
45+ - [ Table of Contents] ( #table-of-contents )
46+ - [ Why yet another chaotic TCP proxy?] ( #why-yet-another-chaotic-tcp-proxy )
47+ - [ Clients] ( #clients )
48+ - [ Example] ( #example )
49+ - [ Usage] ( #usage )
50+ - [ 1. Installing Toxiproxy] ( #1-installing-toxiproxy )
51+ - [ Upgrading from Toxiproxy 1.x] ( #upgrading-from-toxiproxy-1x )
52+ - [ 2. Populating Toxiproxy] ( #2-populating-toxiproxy )
53+ - [ 3. Using Toxiproxy] ( #3-using-toxiproxy )
54+ - [ 4. Logging] ( #4-logging )
55+ - [ Toxics] ( #toxics )
56+ - [ latency] ( #latency )
57+ - [ down] ( #down )
58+ - [ bandwidth] ( #bandwidth )
59+ - [ slow_close] ( #slow_close )
60+ - [ timeout] ( #timeout )
61+ - [ reset_peer] ( #reset_peer )
62+ - [ slicer] ( #slicer )
63+ - [ limit_data] ( #limit_data )
64+ - [ HTTP API] ( #http-api )
65+ - [ Proxy fields:] ( #proxy-fields )
66+ - [ Toxic fields:] ( #toxic-fields )
67+ - [ Endpoints] ( #endpoints )
68+ - [ Populating Proxies] ( #populating-proxies )
69+ - [ CLI Example] ( #cli-example )
70+ - [ Metrics] ( #metrics )
71+ - [ Frequently Asked Questions] ( #frequently-asked-questions )
72+ - [ Development] ( #development )
73+ - [ Release] ( #release )
6974
7075## Why yet another chaotic TCP proxy?
7176
@@ -497,6 +502,7 @@ All endpoints are JSON.
497502 - ** DELETE /proxies/{proxy}/toxics/{toxic}** - Remove an active toxic
498503 - ** POST /reset** - Enable all proxies and remove all active toxics
499504 - ** GET /version** - Returns the server version number
505+ - ** GET /metrics** - Returns Prometheus-compatible metrics
500506
501507#### Populating Proxies
502508
@@ -565,6 +571,11 @@ $ redis-cli -p 26379
565571Could not connect to Redis at 127.0.0.1:26379: Connection refused
566572```
567573
574+ ### Metrics
575+
576+ Toxiproxy exposes Prometheus-compatible metrics via its HTTP API at /metrics.
577+ See [ METRICS.md] ( ./METRICS.md ) for full descriptions
578+
568579### Frequently Asked Questions
569580
570581** How fast is Toxiproxy?** The speed of Toxiproxy depends largely on your hardware,
0 commit comments