Comments (10)
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.
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.
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.
This might be a further refinement/requirement on this issue: chaostoolkit/chaostoolkit#74
from chaostoolkit-lib.
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.
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.
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.
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.
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.
This Issue was closed because it was not reactivated after 7 days of being marked Stale
.
from chaostoolkit-lib.
Related Issues (20)
- Move from setup.py to setup.cfg
- Moving to pylama
- Secrets should allow for arbitrary levels of nesting HOT 3
- Secrets testing taking advantage of side effect HOT 1
- What is intended behavior when secrets stored in a vault are overridden? HOT 3
- If a vault fails to load, should it raise an exception? HOT 2
- Dynamic configuration values HOT 11
- Invalid name reported in logs on Python provider validation
- chao run is failing to run "got an unexpected keyword argument 'continous_hypothesis_frequency'" HOT 3
- Whenever using settings.yaml file, before and after activity control called only from 1 control. HOT 6
- after_activity_control state.status is "succeeded" but probe tolerance wasn't met HOT 2
- Use dynamic config more then once, use the dynamic config as an argument to some other dynamic config doesn't working
- Experiment level controls not applied to activity when control declared on activity
- Fix dynamic config and env type config when using them in extra_vars HOT 18
- Load experiment configuration context from files even if not defined in experiment template HOT 3
- Status should be `completed` when all tolerances executed fine but tolerance wasn't matched HOT 1
- Loading var files without an extension fails
- Allow configuration substitution on jsonpath expect HOT 2
- Error in python 3.11 HOT 1
- Enhance Experiment Logs to Include Detailed ImportError Information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chaostoolkit-lib.