10 Monitor and Trace Transactions
Monitor transactions to understand how the requests flow between MicroTx Distributed Transactions and the microservices and how MicroTx Distributed Transactions manages the transaction.
Prometheus sends a request to each Transaction Manager for Microservices pod to collect metrics from each pod. Use Grafana to visualize the metrics data collected into Prometheus. View the logs emitted by Transaction Manager for Microservices to troubleshoot any issues that may arise.
- Trace
Use distributed tracing to understand how requests flow between MicroTx Distributed Transactions and the microservices. Use tools, such as Kiali and Jaeger, to track and trace distributed transactions in MicroTx Distributed Transactions. - Monitor Performance
Use Prometheus and Grafana to view performance metrics for your services. You can use these metrics to monitor your transactions and the health of the MicroTx Distributed Transactions coordinator. - Install and Configure Alertmanager
Prometheus scrapes data from the MicroTx coordinator at regular intervals. Prometheus Alertmanager sends notifications based on the specified thresholds and rules. If you have configured an email ID to receive notifications, Alertmanager sends notifications to the configured email ID. - Logs
The MicroTx Distributed Transactions coordinator and the MicroTx Distributed Transactions client libraries for Java, Spring Boot, Node.js, and Python generate logs.