HO-CTO / sre-monitoring-as-code

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.
https://ho-cto.github.io/sre-monitoring-as-code/
MIT License
23 stars 15 forks source link

create s3 storage sli #432

Closed mahrufiqbalHO closed 1 year ago

mahrufiqbalHO commented 1 year ago

Purpose of pull request

create s3 storage sli.

How to test

Emulate the following data in localstack and you should see Prometheus sli05 being updated;

[
  {
    "MetricName": "5xxErrors",
    "Value": 1
  },
  {
    "MetricName": "4xxErrors",
    "Value": 1
  },
  {
    "MetricName": "TotalRequestLatency",
    "Value": 1
  },
  {
    "MetricName": "AllRequests",
    "Value": 10
  }
]