This endpoint serves Prometheus metrics via a HTTP-based interface that provides access to metrics data in a format suitable for scraping by Prometheus servers. The endpoint provides real-time insights into how the system is functioning. The endpoint exposed the metrics in a time-series format, allowing you to track various types of data, including system resources usage, application performance, and other custom metrics.
Currently following metrics are available:
Successful Response
# HELP cpu_usage_percent Multiprocess metric # TYPE cpu_usage_percent gauge cpu_usage_percent 53.9 # HELP cpu_memory_used_bytes Multiprocess metric # TYPE cpu_memory_used_bytes gauge cpu_memory_used_bytes 2.260492288e+010 # HELP cpu_memory_total_bytes Multiprocess metric # TYPE cpu_memory_total_bytes gauge cpu_memory_total_bytes 6.7373068288e+010 # HELP cpu_load_percent Multiprocess metric # TYPE cpu_load_percent gauge cpu_load_percent{duration="1m"} 1.1666666666666667cpu_load_percent{duration="5m"} 0.8333333333333334cpu_load_percent{duration="15m"} 0.9583333333333335# HELP http_request_size_bytes Multiprocess metric # TYPE http_request_size_bytes summary http_request_size_bytes_count{handler="/process/text",method="GET",status="2xx"} 3.0 # HELP http_requests_total Multiprocess metric # TYPE http_requests_total counter http_requests_total{handler="/process/text",method="POST",status="2xx"} 3.0 # HELP http_request_duration_seconds Multiprocess metric # TYPE http_request_duration_seconds histogram http_request_duration_seconds_sum{handler="/process/text",method="POST",status="2xx"} 0.8316442219074816 http_request_duration_seconds_bucket{handler="/process/text",le="0.1",method="POST",status="2xx"} 0.0 http_request_duration_seconds_bucket{handler="/process/text",le="0.25",method="POST",status="2xx"} 2.0 http_request_duration_seconds_bucket{handler="/process/text",le="0.5",method="POST",status="2xx"} 3.0 http_request_duration_seconds_bucket{handler="/process/text",le="1.0",method="POST",status="2xx"} 3.0 http_request_duration_seconds_count{handler="/process/text",method="POST",status="2xx"} 3.0