Here is the curl command you would need to retrieve Pipeline Runner metrics using the SDC Rest API:
curl -u <username>:<password> -X GET http://<SDC-hostname>:<SDC-port>/rest/v1/system/jmx?qry=metrics:name=sdc.pipeline.safe-executor.runner.runtime.gauge
The output should look like this:
{
"beans" : [ {
"name" : "metrics:name=sdc.pipeline.safe-executor.runner.runtime.gauge",
"modelerType" : "com.codahale.metrics.jmx.JmxReporter$JmxGauge",
"Value" : {
"running" : 0,
"waiting" : 0,
"max" : 50,
"periodic" : 1
}
} ]