/kafka/clusters?gte={timestamp}<={timestamp}
Gets Kafka cluster metrics.
Request
GET http://unravel-host
:3000/api/v1/kafka/clusters?gte={timestamp}<={timestamp}
Path parameters
None.
Query parameters
Name | Type | Description |
---|---|---|
| string | Start time. Format: |
| string | End time. Format: |
Response body
The response body is a JSON structure identified by cluster name containing cluster metrics.
Name | Type | Description |
---|---|---|
| integer | |
| integer | |
| float | |
| float | |
| float | |
| float | |
| integer |
Examples
Request:
curl -X GET "http://myserver.com:3000/api/v1/kafka/clusters?gte=2019-06-02T14:14:18%2B05:30<=2019-06-03T14:14:18%2B05:30" -H "accept: application/json" -H "Authorization: JWT token
"
Response:
{ "QAHDP26B": { "ActiveControllerCount-Value":1, "OfflinePartitionsCount-Value":43, "BytesInPerSec_newTopic1-OneMinuteRate":8.893181625e-314, "BytesOutPerSec___consumer_offsets-OneMinuteRate":5549.999999999995, "MessagesInPerSec___consumer_offsets-OneMinuteRate":49.99999999999996, "TotalFetchRequestsPerSec___consumer_offsets-OneMinuteRate":514.6005947658281, "UnderReplicatedPartitions-Value":0, } }