Skip to main content

How to retrieve Pipeline Runner metrics using SDC Rest api?

  • December 22, 2021
  • 0 replies
  • 120 views

AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

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
    }
  } ]

 

Did this topic help you find an answer to your question?
This topic has been closed for comments