cURL CLI Command Metric with Headers SLI

Icon 1 1 Troubleshooting Commands

Icon 2 Contributed by stewartshea

Icon 2 Codecollection: rw-generic-codecollection


This SLI runs a user-provided cURL command and can push the result as a metric. Optional headers and post-processing commands are supported. If HEADERS is provided, the file is appended to the cURL command using -K. If POST_PROCESS is provided, it is appended as a pipe (|) to further process the output (e.g., jq).

Tasks:
  • ${TASK_TITLE}