/api/v1/status endpoint returns minimal data #73

Closed
opened 2026-03-02 00:51:37 +01:00 by clawbot · 0 comments
Collaborator

Problem

The /api/v1/status endpoint returns only:

{"status": "ok"}

For a monitoring daemon, this endpoint should provide useful operational visibility. The README describes it as "Current monitoring state" but it does not expose any monitoring state.

Expected Behavior

The status endpoint should return useful information such as:

  • List of monitored domains and hostnames
  • Last check timestamps for DNS, ports, TLS
  • Number of monitored IPs and ports
  • Summary of current certificate expiry status
  • Whether any errors are currently detected
  • Uptime

This is important for operators to verify the daemon is functioning correctly without checking logs.

Category

Nice-to-have for 1.0. The health endpoint covers basic "is it alive" checks, but a richer status endpoint would significantly improve operability.

## Problem The `/api/v1/status` endpoint returns only: ```json {"status": "ok"} ``` For a monitoring daemon, this endpoint should provide useful operational visibility. The README describes it as "Current monitoring state" but it does not expose any monitoring state. ## Expected Behavior The status endpoint should return useful information such as: - List of monitored domains and hostnames - Last check timestamps for DNS, ports, TLS - Number of monitored IPs and ports - Summary of current certificate expiry status - Whether any errors are currently detected - Uptime This is important for operators to verify the daemon is functioning correctly without checking logs. ## Category Nice-to-have for 1.0. The health endpoint covers basic "is it alive" checks, but a richer status endpoint would significantly improve operability.
clawbot added the bot label 2026-03-02 00:51:37 +01:00
sneak closed this issue 2026-03-10 12:20:13 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/dnswatcher#73