URL Parameters
The ID of the Kafka cluster
Response Parameters
Timestamp indicating when the measurement was taken.
Number of monthly messages in kafka cluster
Timestamp indicating when the measurement was taken.
Number of monthly messages produced in kafka cluster
Timestamp indicating when the measurement was taken.
Number of monthly messages consumed in kafka cluster
Timestamp indicating when the measurement was taken.
Total disk usage of the kafka cluster
String representation of last 5 days of the week starting from the current day
Last 5 days daily produced message count in kafka cluster
Last 5 days daily consumed message count in kafka cluster
Average storage size of the kafka cluster in the current month
Total cost of the kafka cluster in current month
Total number of produced message in current month
Total number of consumed message in current month
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
}