How to view and analyze uptime monitoring check results via logs
uptime-monitor
metoro-internal
Uptime check succeeded
check_type
: Whether this was an HTTP or TCP checkresponse_time_ms
: How long the request took to completeendpoint
: The URL that was checkedstatus_code
: The HTTP status code receivedexpected_status_code
: The pattern you configuredactual_response_body
: The body content returned (may be truncated for large responses)host
: The hostname or IP addressport
: The TCP port numberUptime check failed
error
: Detailed reason for the failure (e.g., “status code mismatch”, “response body mismatch”, “TCP Dial failed”)check_type
: Whether this was an HTTP or TCP checkresponse_time_ms
: How long the request took before failingerror
field first to understand the type of failure:
status_code
with expected_status_code
to see if the service is returning unexpected responses.
actual_response_body
contains the content you expected to match your regex pattern.
actual_response_body
attribute is empty in the logs, it likely means the HTTP server did not return a response. In this case, the status_code
attribute will be 0, indicating that no response was received.