Problem
When the
service portfolio increases due to microservice architecture, it becomes
critical to keep a watch on the transactions so that patterns can be monitored
and alerts sent when an issue happens. How should we collect metrics to
monitor application perfomance?
Solution
A metrics
service is required to gather statistics about individual operations. It should
aggregate the metrics of an application service, which provides reporting and
alerting. There are two models for aggregating metrics:
- Push
— the service pushes metrics to the metrics service e.g. NewRelic,
AppDynamics
- Pull
— the metrics services pulls metrics from the service e.g. Prometheus
No comments:
Post a Comment