Giter Site home page Giter Site logo

Comments (10)

SaydChada avatar SaydChada commented on June 9, 2024 1

This should be available in some way... What i saw is that most of the chaostoolkit libs (as for exemple k8s) uses probs func as a way to raise chaoslib.exceptions.ActivityFailed when it fails.
For those who are not familar with python, having a way to validate tolerance activity probs in method can be very helpful.

from chaostoolkit-lib.

0rc avatar 0rc commented on June 9, 2024

here
I'd prefer to have something that will fail the experiment when activity is probe and it is not in defined tolerance

Also (just thinking) it can be useful to specify tolerance for action too to have more control over the experiment

from chaostoolkit-lib.

russmiles avatar russmiles commented on June 9, 2024

It's an excellent point @0rc . At the moment this is working as intended as probes in an experiment's method are intended to collect additional information during an experiment's execution, and not to provide any early-experiment-aborting logic.

That's not to say that such control is a bad thing, but it's not currently the intention of these probes.

from chaostoolkit-lib.

russmiles avatar russmiles commented on June 9, 2024

This might be a further refinement/requirement on this issue: chaostoolkit/chaostoolkit#74

from chaostoolkit-lib.

0rc avatar 0rc commented on June 9, 2024

Yes I will add this point to chaostoolkit/chaostoolkit#74

And yes, I just double-checked the documentation and it doesn't say tolerance is supported when using probe in method. But still it may be better to mention explicitly it's not supported unless we can add it soon

But what are other opinions, do you guys think it's useful to have tolerance supported inside method?

from chaostoolkit-lib.

0rc avatar 0rc commented on June 9, 2024

Another example:
When running experiment, I want to make sure there is no active scaling (up or down) activity because of other reasons, not related to experiment (scheduled, traffic spike, whatever) and if there is any I find it's unsafe to run an experiment.
At the same time, I don't want this to be steady state hypothesis as after experiment actions block it is quite normal to have scaling activities which will bring things back to normal.

from chaostoolkit-lib.

maximmold avatar maximmold commented on June 9, 2024

My use case is that I want to kill a node and ensure the node is actually killed before proceeding with the steady state hypothesis which I would initially expect to fail on my one node cluster. Currently, it just drops through to the steady state hypothesis and passes before azure has actually stopped the node which is a false positive.

from chaostoolkit-lib.

Lawouach avatar Lawouach commented on June 9, 2024

I think we are getting more and more ready for this to be an implemented feature considering how many folks need it :)

from chaostoolkit-lib.

github-actions avatar github-actions commented on June 9, 2024

This Issue has not been active in 365 days. To re-activate this Issue, remove the Stale label or comment on it. If not re-activated, this Issue will be closed in 7 days.

from chaostoolkit-lib.

github-actions avatar github-actions commented on June 9, 2024

This Issue was closed because it was not reactivated after 7 days of being marked Stale.

from chaostoolkit-lib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.