Monitoring-as-Code (MaC) is a jsonnet mixin implementation of SLIs/SLO/Error Budgets using the open-source monitoring and alerting eco-system of Prometheus and Grafana.
found that some of the services do not have autoscaling and therefore double counting when it uses instanced which produces a value greater when using sum by.
The solution to this is to use max instead of sum, hence when there is more than one instance, it selects the instance which is the one which has the highest value (underperforming compared to the other instances running)
found that some of the services do not have autoscaling and therefore double counting when it uses instanced which produces a value greater when using sum by.
The solution to this is to use max instead of sum, hence when there is more than one instance, it selects the instance which is the one which has the highest value (underperforming compared to the other instances running)