Test Payload Ping

Send custom JSON or text payloads from the monitor detail page

Overview

The monitor detail page includes a Test Payload Ping button in the Test Error Detection area. Paste a payload into the text box, then send it to the monitor’s ping endpoint without leaving the dashboard.

Telemetry.host validates the text before sending:

  • Valid JSON is sent with Content-Type: application/json.
  • Anything else is sent as plain text with Content-Type: text/plain.

This is useful when you want to test the exact payload shape your script or webhook will send, while still keeping the regular Test Detection button available for error-classifier checks.

JSON Example

Paste this payload into the text box:

{
  "duration_seconds": 143,
  "backup_size_mb": 2840,
  "warnings": 0
}

Click Test Payload Ping. Because the payload is valid JSON, it is posted to the monitor endpoint as structured JSON.

The equivalent curl command is:

curl -X POST https://telemetry.host/ping/{YOUR_MONITOR_ID} \
  -H "Content-Type: application/json" \
  -d '{
    "duration_seconds": 143,
    "backup_size_mb": 2840,
    "warnings": 0
  }'

Text Example

Paste command output or logs:

backup completed at 2026-05-05T02:30:00Z
backup_size=2.8GB
files=6412
warnings=0

Click Test Payload Ping. Because this is not valid JSON, it is posted as plain text.

The equivalent curl command is:

/usr/local/bin/backup.sh 2>&1 | curl -X POST \
  https://telemetry.host/ping/{YOUR_MONITOR_ID} \
  -H "Content-Type: text/plain" \
  --data-binary @-

Invalid JSON Falls Back To Text

This payload looks JSON-like but is invalid because the keys are not quoted:

{status: "success", rows: 42}

Telemetry.host sends it as text. Fix the JSON syntax if you want it stored and parsed as structured data:

{"status": "success", "rows": 42}