curl -X GET \ https://api.upstash.com/v2/kafka/stats/topic/:id \ -u 'EMAIL:API_KEY'
{ "throughput": [ { "x": "2022-02-07 12:05:11", "y": 0 } ... ], "produce_throughput": [ { "x": "2022-02-07 12:05:11", "y": 0 } ... ], "consume_throughput": [ { "x": "2022-02-07 12:05:11", "y": 0 } ... ], "diskusage": [ { "x": "2022-02-07 12:20:11", "y": 0 } ... ], "total_monthly_storage": 0, "total_monthly_produce": 0, "total_monthly_consume": 0 }
This endpoint gets detailed stats of a Kafka cluster.
Show Properties
Was this page helpful?