This topic provides answers to frequently asked questions (FAQs) about metrics that are used in Message Queue for Apache Kafka.
What metrics do I need to monitor?
The values of specific metrics, such as TopicMessageNumInput, TopicReqsInput, TopicReqsOutput, InstanceMessageNumInput, InstanceReqsInput, and InstanceReqsOutput, may be inaccurate when your business traffic is low or the version of your client is outdated. You do not need to focus on these metrics when your service traffic is normal.
Why are the values of specific metrics inaccurate?
- Your business traffic is low. The system calculates the value of each metric based on a specific formula. If the business traffic is low, the deviation of the calculation result is large.
- The version of your client is outdated. Earlier versions of the client do not pass the corresponding parameters. This results in deviation of monitoring data. We recommend that you upgrade your client to the latest version.
- Data is compressed. Producers compress data to meet specific transmission requirements or storage requirements. This results in deviation of monitoring data.