Skip to main content

Monitor

Keep your APIs running smoothly with Quetzly Validator's monitoring feature. Set up continuous monitoring of your critical endpoints to track uptime, performance, and view issues before they impact your users.

What is API Monitoring?

API monitoring is the continuous checking of your endpoints to ensure they:

  • Respond successfully: Return expected HTTP status codes
  • Perform adequately: Meet response time requirements
  • Stay available: Remain accessible when needed
  • Function correctly: Return expected data formats and content

Note: at the moment only basic monitoring is performed on APIs to get returned HTTP status. More monitoring information and features are planned for future releases.

Accessing the Monitor Interface

  1. Click the Open Monitor icon in the left sidebar
  2. The Monitor panel displays:
    • Add API Endpoint: Configure new endpoints for monitoring
    • Monitoring Interval: Set check frequency
    • Monitor Table: View status of all monitored endpoints

Setting Up Endpoint Monitoring

Adding API Endpoints

Step 1: Add Endpoint URL

  1. Enter the API endpoint URL in the "Enter API Endpoint URL" field
  2. Examples of endpoints to monitor:
    # WMS GetCapabilities
    https://example.com/geoserver/wms?service=WMS&request=GetCapabilities

    # REST API health check
    https://api.example.com/v1/health

    # ArcGIS service status
    https://services.arcgis.com/example/arcgis/rest/services/layer/MapServer

    # WFS service availability
    https://example.com/geoserver/wfs?service=WFS&request=GetCapabilities
  3. Click "Add" to add the endpoint to your monitoring list

Step 2: Configure Monitoring Interval

Set Check Frequency:

  1. Enter a number in the "Interval Time" field

  2. Select the time unit from the dropdown:

    • seconds: For high-frequency monitoring (use sparingly)
    • minutes: Most common for active monitoring
    • hours: For less critical services
    • days: For basic availability checks
  3. Click "Save" to apply the monitoring interval to all endpoints

Monitor Configuration Best Practices

Choosing Monitoring Intervals

Consider these factors:

  • Service criticality: More critical = more frequent checks
  • Service stability: Unstable services may need frequent monitoring
  • Resource usage: Frequent checks consume more resources
  • Provider limits: Respect API rate limits and terms of service

Endpoint Selection

Recommended endpoints to monitor:

  • Service health/status endpoints: Dedicated health check URLs
  • GetCapabilities requests: For WMS/WFS service availability
  • Root service endpoints: Main service entry points
  • Authentication endpoints: Login and token services
  • Critical data endpoints: Your most important data sources

Avoid monitoring:

  • Rate-limited endpoints: Those with strict usage limits
  • Resource-intensive queries: Complex requests that stress servers
  • User-specific endpoints: URLs requiring user authentication
  • Deprecated services: Services scheduled for retirement

Understanding the Monitor Table

The monitoring table displays real-time status information for all your monitored endpoints:

Table Columns

URL

  • Display: Shows the monitored endpoint URL
  • Truncation: Long URLs may be abbreviated
  • Tooltip: Hover to see the complete URL

Date

  • Format: Shows the date of the last check
  • Updates: Refreshes after each monitoring cycle
  • Time zone: Displays in your local time zone

Status

  • HTTP Codes: Displays the last received HTTP status code
  • Color Coding:
    • 🟢 Green (2xx): Service is healthy and responding
    • 🟡 Yellow (3xx): Redirects or warnings
    • 🔴 Red (4xx/5xx): Client or server errors

Actions

  • Remove: Delete the endpoint from monitoring
  • More actions like test now and view detailed response are coming soon.

Interpreting Status Codes

Success Codes (2xx):

  • 200 OK: Perfect response, service is healthy
  • 201 Created: Successful resource creation
  • 204 No Content: Successful request with no response body

Redirect Codes (3xx):

  • 301/302: Service moved, may need URL update
  • 304 Not Modified: Cached response, normal for some services

Client Error Codes (4xx):

  • 400 Bad Request: Malformed monitoring request
  • 401 Unauthorized: Authentication required
  • 403 Forbidden: Access denied
  • 404 Not Found: Service endpoint not available
  • 429 Too Many Requests: Rate limit exceeded

Server Error Codes (5xx):

  • 500 Internal Server Error: Service experiencing issues
  • 502 Bad Gateway: Proxy/gateway error
  • 503 Service Unavailable: Service temporarily down
  • 504 Gateway Timeout: Service response timeout