{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spring Batch 5.1 Actuator Batch Jobs Metrics API",
    "version": "5.1.0"
  },
  "items": [
    {
      "info": {
        "name": "Metrics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Available Metrics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/actuator/metrics"
          },
          "docs": "Returns a list of all available metric names collected by Micrometer, including Spring Batch job and step metrics."
        },
        {
          "info": {
            "name": "Get Metric Value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:8080/actuator/metrics/:metricName",
            "params": [
              {
                "name": "metricName",
                "value": "",
                "type": "path",
                "description": "Name of the metric (e.g., spring.batch.job.duration, spring.batch.step.duration, spring.batch.chunk.size)"
              },
              {
                "name": "tag",
                "value": "",
                "type": "query",
                "description": "Tag filter in the form name:value (can be repeated)"
              }
            ]
          },
          "docs": "Returns measurements for a specific metric. Spring Batch 5.1 exposes metrics under the spring.batch namespace including job duration, step duration, read count, write count, and skip count."
        }
      ]
    }
  ],
  "bundled": true
}