1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
How about getting the following metrics?
https://docs.aws.amazon.com/msk/latest/developerguide/metrics-details.html
- GlobalPartitionCount
- The number of partitions across all topics in the cluster, excluding replicas. Because GlobalPartitionCount doesn't include replicas, the sum of the PartitionCount values can be higher than GlobalPartitionCount if the replication factor for a topic is greater than 1.
To get metric values with boto3, you can use the "get_metric_data()" API. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cloudwatch/client/get_metric_data.html
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 19 days ago
- AWS OFFICIALUpdated 6 months ago