diff --git a/onboarding-carts/sli-config-prometheus-selfhealing.yaml b/onboarding-carts/sli-config-prometheus-selfhealing.yaml deleted file mode 100644 index 12aadb8..0000000 --- a/onboarding-carts/sli-config-prometheus-selfhealing.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -spec_version: '1.0' -indicators: - response_time_p50: histogram_quantile(0.5, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-primary"}[3m]))) - response_time_p90: histogram_quantile(0.9, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-primary"}[3m]))) - response_time_p95: histogram_quantile(0.95, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-primary"}[3m]))) diff --git a/onboarding-carts/sli-config-prometheus-bg.yaml b/onboarding-carts/sli-config-prometheus.yaml similarity index 65% rename from onboarding-carts/sli-config-prometheus-bg.yaml rename to onboarding-carts/sli-config-prometheus.yaml index af25f11..e4cb42f 100644 --- a/onboarding-carts/sli-config-prometheus-bg.yaml +++ b/onboarding-carts/sli-config-prometheus.yaml @@ -1,6 +1,6 @@ --- spec_version: '1.0' indicators: - response_time_p50: histogram_quantile(0.5, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-canary"}[$DURATION_SECONDS]))) - response_time_p90: histogram_quantile(0.9, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-canary"}[$DURATION_SECONDS]))) - response_time_p95: histogram_quantile(0.95, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-canary"}[$DURATION_SECONDS]))) \ No newline at end of file + response_time_p50: histogram_quantile(0.5, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-$DEPLOYMENT"}[$DURATION_SECONDS]))) + response_time_p90: histogram_quantile(0.9, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-$DEPLOYMENT"}[$DURATION_SECONDS]))) + response_time_p95: histogram_quantile(0.95, sum by(le) (rate(http_response_time_milliseconds_bucket{handler="ItemsController.addToCart",job="$SERVICE-$PROJECT-$STAGE-$DEPLOYMENT"}[$DURATION_SECONDS]))) \ No newline at end of file