Skip to content

Instantly share code, notes, and snippets.

@thoward
Created April 21, 2022 22:02
Show Gist options
  • Save thoward/f98631cccdff7ab3fd623aa290db010c to your computer and use it in GitHub Desktop.
Save thoward/f98631cccdff7ab3fd623aa290db010c to your computer and use it in GitHub Desktop.
Example output from Caddy Webserver metrics endpoint
# HELP caddy_admin_http_requests_total Counter of requests made to the Admin API's HTTP endpoints.
# TYPE caddy_admin_http_requests_total counter
caddy_admin_http_requests_total{code="200",handler="metrics",method="GET",path="/metrics"} 3
# HELP caddy_http_request_duration_seconds Histogram of round-trip request durations.
# TYPE caddy_http_request_duration_seconds histogram
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="200",handler="encode",method="GET",server="srv0"} 0.003154858
caddy_http_request_duration_seconds_count{code="200",handler="encode",method="GET",server="srv0"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="200",handler="file_server",method="GET",server="srv0"} 0.002912934
caddy_http_request_duration_seconds_count{code="200",handler="file_server",method="GET",server="srv0"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="200",handler="rewrite",method="GET",server="srv0"} 0.003189469
caddy_http_request_duration_seconds_count{code="200",handler="rewrite",method="GET",server="srv0"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="200",handler="subroute",method="GET",server="srv0"} 0.003949803
caddy_http_request_duration_seconds_count{code="200",handler="subroute",method="GET",server="srv0"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="200",handler="templates",method="GET",server="srv0"} 0.003131992
caddy_http_request_duration_seconds_count{code="200",handler="templates",method="GET",server="srv0"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.005"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.01"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.025"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.05"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.1"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.25"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.5"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="2.5"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="5"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="10"} 1
caddy_http_request_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="+Inf"} 1
caddy_http_request_duration_seconds_sum{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 0.000104955
caddy_http_request_duration_seconds_count{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 1
# HELP caddy_http_request_errors_total Number of requests resulting in middleware errors.
# TYPE caddy_http_request_errors_total counter
caddy_http_request_errors_total{handler="encode",server="srv0"} 1
caddy_http_request_errors_total{handler="file_server",server="srv0"} 1
caddy_http_request_errors_total{handler="subroute",server="srv0"} 1
caddy_http_request_errors_total{handler="templates",server="srv0"} 1
# HELP caddy_http_request_size_bytes Total size of the request. Includes body
# TYPE caddy_http_request_size_bytes histogram
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="256"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="200",handler="encode",method="GET",server="srv0"} 1263
caddy_http_request_size_bytes_count{code="200",handler="encode",method="GET",server="srv0"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="256"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="200",handler="file_server",method="GET",server="srv0"} 1263
caddy_http_request_size_bytes_count{code="200",handler="file_server",method="GET",server="srv0"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="256"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="200",handler="rewrite",method="GET",server="srv0"} 1263
caddy_http_request_size_bytes_count{code="200",handler="rewrite",method="GET",server="srv0"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="256"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="200",handler="subroute",method="GET",server="srv0"} 1263
caddy_http_request_size_bytes_count{code="200",handler="subroute",method="GET",server="srv0"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="256"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="200",handler="templates",method="GET",server="srv0"} 1263
caddy_http_request_size_bytes_count{code="200",handler="templates",method="GET",server="srv0"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="256"} 0
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1024"} 0
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="4096"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="16384"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="65536"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="262144"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1.048576e+06"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="4.194304e+06"} 1
caddy_http_request_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="+Inf"} 1
caddy_http_request_size_bytes_sum{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 1261
caddy_http_request_size_bytes_count{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 1
# HELP caddy_http_requests_in_flight Number of requests currently handled by this server.
# TYPE caddy_http_requests_in_flight gauge
caddy_http_requests_in_flight{handler="encode",server="srv0"} 0
caddy_http_requests_in_flight{handler="file_server",server="srv0"} 0
caddy_http_requests_in_flight{handler="rewrite",server="srv0"} 0
caddy_http_requests_in_flight{handler="static_response",server="remaining_auto_https_redirects"} 0
caddy_http_requests_in_flight{handler="subroute",server="srv0"} 0
caddy_http_requests_in_flight{handler="templates",server="srv0"} 0
# HELP caddy_http_requests_total Counter of HTTP(S) requests made.
# TYPE caddy_http_requests_total counter
caddy_http_requests_total{handler="encode",server="srv0"} 2
caddy_http_requests_total{handler="file_server",server="srv0"} 2
caddy_http_requests_total{handler="rewrite",server="srv0"} 1
caddy_http_requests_total{handler="static_response",server="remaining_auto_https_redirects"} 1
caddy_http_requests_total{handler="subroute",server="srv0"} 2
caddy_http_requests_total{handler="templates",server="srv0"} 2
# HELP caddy_http_response_duration_seconds Histogram of times to first byte in response bodies.
# TYPE caddy_http_response_duration_seconds histogram
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="encode",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="200",handler="encode",method="GET",server="srv0"} 0.003138605
caddy_http_response_duration_seconds_count{code="200",handler="encode",method="GET",server="srv0"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="file_server",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="200",handler="file_server",method="GET",server="srv0"} 0.002882799
caddy_http_response_duration_seconds_count{code="200",handler="file_server",method="GET",server="srv0"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="200",handler="rewrite",method="GET",server="srv0"} 0.003167341
caddy_http_response_duration_seconds_count{code="200",handler="rewrite",method="GET",server="srv0"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="subroute",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="200",handler="subroute",method="GET",server="srv0"} 0.003924037
caddy_http_response_duration_seconds_count{code="200",handler="subroute",method="GET",server="srv0"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="200",handler="templates",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="200",handler="templates",method="GET",server="srv0"} 0.003116818
caddy_http_response_duration_seconds_count{code="200",handler="templates",method="GET",server="srv0"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.005"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.01"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.025"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.05"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.1"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.25"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="0.5"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="2.5"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="5"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="10"} 1
caddy_http_response_duration_seconds_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="+Inf"} 1
caddy_http_response_duration_seconds_sum{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 8.4016e-05
caddy_http_response_duration_seconds_count{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 1
# HELP caddy_http_response_size_bytes Size of the returned response.
# TYPE caddy_http_response_size_bytes histogram
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="256"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="encode",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="200",handler="encode",method="GET",server="srv0"} 42
caddy_http_response_size_bytes_count{code="200",handler="encode",method="GET",server="srv0"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="256"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="file_server",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="200",handler="file_server",method="GET",server="srv0"} 42
caddy_http_response_size_bytes_count{code="200",handler="file_server",method="GET",server="srv0"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="256"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="rewrite",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="200",handler="rewrite",method="GET",server="srv0"} 42
caddy_http_response_size_bytes_count{code="200",handler="rewrite",method="GET",server="srv0"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="256"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="subroute",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="200",handler="subroute",method="GET",server="srv0"} 42
caddy_http_response_size_bytes_count{code="200",handler="subroute",method="GET",server="srv0"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="256"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="200",handler="templates",method="GET",server="srv0",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="200",handler="templates",method="GET",server="srv0"} 42
caddy_http_response_size_bytes_count{code="200",handler="templates",method="GET",server="srv0"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="256"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1024"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="4096"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="16384"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="65536"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="262144"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="1.048576e+06"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="4.194304e+06"} 1
caddy_http_response_size_bytes_bucket{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects",le="+Inf"} 1
caddy_http_response_size_bytes_sum{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 0
caddy_http_response_size_bytes_count{code="308",handler="static_response",method="GET",server="remaining_auto_https_redirects"} 1
# HELP go_build_info Build information about the main Go module.
# TYPE go_build_info gauge
go_build_info{checksum="",path="caddy",version="(devel)"} 1
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 4.1425e-05
go_gc_duration_seconds{quantile="0.25"} 4.9971e-05
go_gc_duration_seconds{quantile="0.5"} 7.947e-05
go_gc_duration_seconds{quantile="0.75"} 0.000189382
go_gc_duration_seconds{quantile="1"} 0.000880729
go_gc_duration_seconds_sum 0.001240977
go_gc_duration_seconds_count 5
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 19
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.17.8"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 4.106232e+06
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 8.605104e+06
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.454035e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 48527
# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
# TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 7.3757061165703125e-06
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 5.540432e+06
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 4.106232e+06
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 9.166848e+06
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 6.59456e+06
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 39965
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 8.052736e+06
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 1.5761408e+07
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.650578046121718e+09
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 88492
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 19200
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 32768
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 203184
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 212992
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 8.054368e+06
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 3.328485e+06
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 1.015808e+06
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 1.015808e+06
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 2.7345928e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 21
# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.
# TYPE promhttp_metric_handler_requests_in_flight gauge
promhttp_metric_handler_requests_in_flight 1
# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.
# TYPE promhttp_metric_handler_requests_total counter
promhttp_metric_handler_requests_total{code="200"} 3
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment