Skip to content

[singlerun.json] Add support for JSON format output - #1124

Merged
manugarg merged 3 commits into
mainfrom
singlerun_json
Aug 12, 2025
Merged

manugarg merged 3 commits into
mainfrom
singlerun_json

Conversation

@manugarg

Copy link
Copy Markdown
Contributor
  • Also improve flag names.

Example output:

{
  "google_http": {
    "google87.c2om": {
      "success": false,
      "error": "error creating HTTP request for target: google87.c2om, err: error resolving target: google87.c2om, lookup google87.c2om on 127.0.0.53:53: no such host"
    }
  },
  "google_http_1.1.1.1": {
    "google.com": {
      "success": true,
      "latency": "192.21059ms",
      "metrics": [
        "1754862452 labels=ptype=http total=1 success=1 latency=190.434 timeouts=0 resp-code=map:code,200:1 dns_latency=11.847 tls_handshake_latency=77.842",
        "1754862452 labels=ptype=http ssl_earliest_cert_expiry_sec=4272389"
      ]
    }
  }
}

@manugarg manugarg linked an issue Aug 12, 2025 that may be closed by this pull request
@manugarg
manugarg merged commit 3d087df into main Aug 12, 2025
@manugarg
manugarg deleted the singlerun_json branch August 12, 2025 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[singlerun] Add support for JSON format results.

1 participant