You can include the following query parameters in the URI:
Parameter
Type
Required
Description
intervals
Integer
Yes
Time, in seconds, to display statistics for a streaming ingestion job. For example, if you specify 30 seconds, the response displays job statistics for the last 30 seconds.
overall
Boolean
No
Displays the statistics from the time the job is deployed.
GET request example
To request the statistics of a streaming ingestion and replication job, you might send a request similar to the following example:
POST https://usw1-ing.dm2-us.informaticacloud.com/sisvc/monitor/v1/statistics/dataflows/7f1daca9-3983-4677-930f-a9529802c56b?intervals=30&overall=true Content-Type: application/json Accept:application/json IDS-SESSION-ID:2l0oeVx22Rujiej7yTokmT
GET response
Returns the statistics object if successful or an error object if an error occurs.
If successful, the response includes the following information about the statistics of a streaming ingestion and replication job:
Parameter
Type
Description
dataflowId
String
ID of the streaming ingestion and replication job.
dataflowRunId
Integer
Run ID of the streaming ingestion and replication job.
startTime
Integer
Start time of the streaming ingestion job, in milliseconds.
stopTime
Integer
Stop time of the streaming ingestion job, in milliseconds.
inMessages
Integer
The number of messages that arrive at a node. A node is a source, transformation, or target, that is used in the streaming ingestion task.
The value is zero for a source node.
outMessages
Integer
The number of messages that transfer from a node.
The value is zero for a target node.
inBytes
Integer
The total size of incoming messages in bytes.
The value is zero for a source node.
outBytes
Integer
The total size of outgoing messages in bytes.
The value is zero for a target node.
nodes
Array
Information about streaming data in the source and the target used in the task.
intervals
Integer
The statistics of the job for the time interval you specify in the request. Applies when you set an interval.
GET response example
If the request to get the statistics of a streaming ingestion and replication job is successful, you might receive a response similar to the following example: