After setting up your uptime monitors, you’ll want to track their results to ensure your services are functioning properly. Metoro provides detailed logs allowing you to analyze performance and troubleshoot issues.
When a check fails, look at the error field first to understand the type of failure:
Connection errors - For errors like “connection refused” or “timeout”, the service may be down, blocked by a firewall, or experiencing network issues.
Status code mismatches - Compare the status_code with expected_status_code to see if the service is returning unexpected responses.
Response body mismatches - Check if the actual_response_body contains the content you expected to match your regex pattern.
TCP connection failures - For errors like “TCP Dial failed”, verify the host is reachable and the port is open.
If the 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.