{"repo":"mgumz/mtr-exporter","free":true,"listed":false,"github":"https://github.com/mgumz/mtr-exporter","clone":"git clone https://github.com/mgumz/mtr-exporter.git","description":"A Prometheus exporter for mtr metrics","language":"Go","stars":136,"topics":["metrics","mtr","network-analysis","network-performance","prometheus","prometheus-exporter"],"license":"BSD-3-Clause","category":"analytics","readme_excerpt":"mtr-exporter mtr-exporter periodically executes [mtr] to a given host and provides the measured results as [Prometheus] metrics. Usually, [mtr] is producing the following output: HOST: src.example.com Loss% Snt Last Avg Best Wrst StDev 1. -- 127.0.0.1 0.0% 2 0.6 0.6 0.6 0.7 0.1 2. -- 127.0.0.2 0.0% 2 6.1 10.2 6.1 14.3 5.8 3. -- 127.0.0.3 0.0% 2 13.0 12.3 11.6 13.0 1.0 4. -- 127.0.0.4 0.0% 2 7.0 9.1 7.0 11.1 2.9 5. -- 127.0.0.5 0.0% 2 12.5 16.5 12.5 20.6 5.7 6. -- 127.0.0.6 0.0% 2 19.1 18.5 17.9 19.1 0.9 7. -- 127.0.0.7 0.0% 2 18.3 18.2 18.0 18.3 0.2 8. -- 127.0.0.8 0.0% 2 89.9 61.6 33.3 89.9 40.0 9. -- 127.0.0.9 0.0% 2 18.5 18.3 18.1 18.5 0.2 10. -- 127.0.0.10 0.0% 2 20.4 19.8 19.2 20.4 0.8 mtr-exporter exposes the measured values like this: # mtr run: 2020-03-08T16:37:05.000377Z # cmdline: /usr/local/sbin/mtr -j -c 2 -n example.com mtr runs total{bitpattern=\"0x00\",dst=\"example.com\",psize=\"64\",src=\"src.example.com\",tests=\"2\",tos=\"0x0\"} 13 1583685425000 mtr report duration seconds{bitpattern=\"0x00\",dst=\"example.com\",psize=\"64\",src=\"src.example.com\",tests=\"2\",tos=\"0x0\"} 7.179 1583685425000 mtr report count hubs{bitpattern=\"0x00\",dst=\"example.com\",psize=\"64\",src=\"src.example.com\",tests=\"2\",tos=\"0x0\"} 10 1583685425000 mtr report loss{bitpattern=\"0x00\",hop=\"first\",count=\"1\",dst=\"example.com\",host=\"127.0.0.1\",psize=\"64\",src=\"src.example.com\",tests=\"2\",tos=\"0x0\"} 0.000000 1583685425000 mtr report snt{bitpattern=\"0x00\",hop=\"first\",count=\"1\",dst=\"example.com\",host=\"127.0.0.1\",psize=\"6","default_branch":null,"files":null,"tree":[],"storefront":"/r/mgumz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mgumz/mtr-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}