From 3c83670c5f5a2395c7e08dfb0e45a001944ce406 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 12 Apr 2020 18:05:22 +0200 Subject: add prometheus metrics --- htping.1 | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'htping.1') diff --git a/htping.1 b/htping.1 index a77da05..5ca4582 100644 --- a/htping.1 +++ b/htping.1 @@ -1,4 +1,4 @@ -.Dd March 14, 2020 +.Dd April 12, 2020 .Dt HTPING 1 .Os .Sh NAME @@ -16,6 +16,8 @@ .Op Fl k .Op Fl -http1.1 .Op Fl -keepalive +.Op Fl l Ar addr +.Op Fl q .Ar host .Sh DESCRIPTION The @@ -58,6 +60,15 @@ Turn TLS verification errors into warnings. Disable HTTP/2 requests. .It Fl -keepalive Enable keepalive resp.\& use persistent connections. +.It Fl l Ar addr +Start a HTTP server at +.Ar addr +(e.g.\& +.Sq :9100 ) +to provide Prometheus metrics at +.Sq /metrics . +.It Fl q +Quiet mode, don't print request status lines. .El .Sh EXIT STATUS .Ex -std -- cgit 1.4.1