Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support checking application availability during and post chaos #755

Open
chaitanyaenr opened this issue Feb 4, 2025 · 1 comment
Open
Assignees
Labels
enhancement New feature or request P1 High Priority

Comments

@chaitanyaenr
Copy link
Collaborator

chaitanyaenr commented Feb 4, 2025

Krkn currently has various checks to make sure the targeted component recovered from chaos and can validate SLOs via prometheus during chaos. Users can benefit from having a way to define url's accessible via http or https as part of the krkn config, check the availability both during/post chaos and report the status as part of the summary json.

For instance, we can add the following to the config ( https://github.com/krkn-chaos/krkn/blob/main/config/config.yaml ):

health_checks:
    urls: [http://www.app.example.com, https://www.app2.example.com]
    auth: 
    bearer_token:  

The status of the url's can then be published as part of the summary/telemetry json:

"health_checks": [
      {
           "url": "http://www.app.example.com",
            status: "True",
            status_code: "200"
      },
      {
           "url" "https://www.app2.example.com",
            status: "False",
            status_code: "503"
      }
]
    
@chaitanyaenr chaitanyaenr added the enhancement New feature or request label Feb 4, 2025
@chaitanyaenr
Copy link
Collaborator Author

cc: @paigerube14 @tsebastiani

@chaitanyaenr chaitanyaenr added the P1 High Priority label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 High Priority
Projects
None yet
Development

No branches or pull requests

2 participants