curl -X GET \ https://api.upstash.com/v2/kafka/stats/cluster/:id \ -u 'EMAIL:API_KEY'
{ "throughput": [ { "x": "2022-02-07 11:30:28", "y": 0 } ... ], "produce_throughput": [ { "x": "2022-02-07 11:30:28", "y": 0 } ... ], "consume_throughput": [ { "x": "2022-02-07 11:30:28", "y": 0 } ... ], "diskusage": [ { "x": "2022-02-07 11:45:28", "y": 0 } ... ], "days": [ "Thursday", "Friday", "Saturday", "Sunday", "Monday" ], "dailyproduce": [ { "x": "2022-02-07 11:30:28.937259962 +0000 UTC", "y": 0 } ... ], "dailyconsume": [ { "x": "2022-02-07 11:30:28.937256776 +0000 UTC", "y": 0 } ... ], "total_monthly_storage": 0, "total_monthly_billing": 0, "total_monthly_produce": 0, "total_monthly_consume": 0 }
This endpoint gets detailed stats of a database.
Show Properties
Was this page helpful?