chaosblade-io / chaosblade

An easy to use and powerful chaos engineering experiment toolkit.(阿里巴巴开源的一款简单易用、功能强大的混沌实验注入工具)
https://chaosblade.io
Apache License 2.0
5.97k stars 947 forks source link

is there any way to find out principle of all commands? #330

Open No-sleeping opened 4 years ago

No-sleeping commented 4 years ago

Issue Description

Type: bug report or feature request

Describe what happened (or what feature you want)

excuse me Where can I find out the principle of all commands? For example, "cpu fullload" is to write a loop to occupy the CPU. "disk fill",is using "dd"command from linux.

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

No-sleeping commented 4 years ago

especially ,i want to figure "dubbo delay"

xcaspar commented 4 years ago

@No-sleeping There is no relevant documentation yet, I briefly wrote about it and can see the following image.

image

image

image

No-sleeping commented 4 years ago

how about those commands related to"dubbo"

xcaspar commented 4 years ago

how about those commands related to"dubbo"

You can see https://github.com/chaosblade-io/chaosblade-exec-jvm/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E6%8C%87%E5%8D%97-%E5%8D%8F%E8%AE%AE%E7%AF%87 for the details.

No-sleeping commented 4 years ago

thanks a lot i go see see

No-sleeping commented 4 years ago

how about those commands related to"dubbo"

You can see https://github.com/chaosblade-io/chaosblade-exec-jvm/wiki/%E5%BC%80%E5%8F%91%E8%80%85%E6%8C%87%E5%8D%97-%E5%8D%8F%E8%AE%AE%E7%AF%87 for the details.

excuse me ,which file i can find the source code about "dubbo delay" ?

xcaspar commented 4 years ago

@No-sleeping https://github.com/chaosblade-io/chaosblade-exec-jvm/tree/master/chaosblade-exec-plugin/chaosblade-exec-plugin-dubbo

No-sleeping commented 4 years ago

@No-sleeping https://github.com/chaosblade-io/chaosblade-exec-jvm/tree/master/chaosblade-exec-plugin/chaosblade-exec-plugin-dubbo

thank u very much

No-sleeping commented 4 years ago

@No-sleeping https://github.com/chaosblade-io/chaosblade-exec-jvm/tree/master/chaosblade-exec-plugin/chaosblade-exec-plugin-dubbo

Roughly i wrote a process of command transfrom. it would be pleaure if u can See if I have written something wrong It would be great if you can give some guidance

image

Swarag-N commented 4 years ago

Since you have figured it out this may be helpful for someone else. 😃😅😅 Since you were interested in dubbo delay, this code snippet from docker demo would be helpful,

Create a experiment is delay 3s when invoke com.example.service.DemoService#sayHello service,

blade create dubbo delay --time 3000 --service com.example.service.DemoService --methodname sayHello --consumer

or

blade c dubbo delay --time 3000 --service com.example.service.DemoService --methodname sayHello --consumer

No-sleeping commented 4 years ago

methodname sayHell

i knew this docker demo. thanks . do u have any comment for the transfrom i wrote.