Kafka clusters
Get Kafka metrics graphs
GET
/kafka-clusters/{uuid}/metrics-graphRetrieves broker, topic, partition, and per-broker CPU user/system metrics for a Strimzi Kafka cluster.
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request GET \
--url 'https://api.artie.com/kafka-clusters/{uuid}/metrics-graph?from=<from>&to=<to>' \
--header 'Authorization: Bearer <token>'Path parameters
uuidstringrequired
Query parameters
fromstringrequiredtostringrequired
Responses
200OKapplication/json
brokerCountobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
cpuSystemobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
cpuUserobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
memoryUsageobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
partitionCountobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
reasonstringsupportedbooleanrequiredtopicCountobject[] | nullrequiredShow child attributes
labelstringrequiredpointsobject[] | nullrequiredShow child attributes
timestampstring<date-time>requiredvaluenumber<double>required
unitstringrequired
400Bad Request
404Not Found
500Internal Server Error
502Bad Gateway
200 OK
{
"brokerCount": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"cpuSystem": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"cpuUser": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"memoryUsage": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"partitionCount": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"reason": "<string>",
"supported": true,
"topicCount": [
{
"label": "<string>",
"points": [
{
"timestamp": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"unit": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.