This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
management.endpoints.web.exposure.include=prometheus,health,info,metrics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: reliably.com/v1 | |
kind: Objective | |
metadata: | |
labels: | |
name: 99% of requests over last 1 hour | |
service: my spring boot app | |
spec: | |
indicatorSelector: | |
prometheus_query: sum by (uri) (http_server_requests_seconds_count{status="200",uri="/"}) | |
/ sum by (uri) (http_server_requests_seconds_count{uri="/"}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global: | |
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute. | |
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute. | |
scrape_configs: | |
- job_name: 'prometheus' | |
static_configs: | |
- targets: ['localhost:9090'] | |
- job_name: 'my-spring-boot-app' | |
static_configs: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reliably Simple SLO Report | |
<style> | |
html { | |
font-family: sans-serif; | |
} | |
table, th, td { | |
border: 1px solid #ccc; | |
border-collapse: collapse; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"title": "Use SLO as safeguard of the experiment. Terminating it as soon as the error budgets are consumed.", | |
"description": "n/a", | |
"controls": [ | |
{ | |
"name": "safeguard", | |
"provider": { | |
"type": "python", | |
"module": "chaosaddons.controls.safeguards", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"title": "Use SLO as steady-states that we must not deviate from.", | |
"description": "n/a", | |
"steady-state-hypothesis": { | |
"title": "We do not consume all of our error budgets during the experiment", | |
"probes": [ | |
{ | |
"name": "last-3-slos-must-be-ok", | |
"type": "probe", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run SLO reports of the Noteboard Frontend service | |
on: | |
push: | |
paths: | |
- '.github/workflows/frontend-service-ci.yaml' | |
- 'apps/noteboard-frontend/**' | |
env: | |
RELIABLY_TOKEN: ${{ secrets.RELIABLY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run SLO reports of the Noteboard Frontend service | |
on: | |
push: | |
paths: | |
- '.github/workflows/frontend-service-ci.yaml' | |
- 'apps/noteboard-frontend/**' | |
env: | |
RELIABLY_TOKEN: ${{ secrets.RELIABLY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
- name: Website | |
service-levels: | |
- name: Website Availability SLO | |
type: availability | |
slo: 98 | |
sli: | |
- id: arn:partition:service:region:account-id:resource-id | |
provider: aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refreshing SLO report every 3 seconds. Press CTRL+C to quit. | |
Actual Target Delta Time Window | |
Service #1: website | |
❌ Website Availability 96% 97% -1.00% 1 day |
NewerOlder