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

Dashboard/Metrics info documentation #217

Open
2020testuser opened this issue May 21, 2020 · 5 comments
Open

Dashboard/Metrics info documentation #217

2020testuser opened this issue May 21, 2020 · 5 comments

Comments

@2020testuser
Copy link

Hi,
I'm looking for documentation to view the chaos pod delete report either in text form or in a dashboard/metrics form. Could you please let me know what args I need to pass and how to use it? Thanks!

@linki
Copy link
Owner

linki commented May 21, 2020

There's a counter of the number of deleted pods exposed via Prometheus under http://localhost:8080/metrics by default or use the --metrics-address flag.

The metric is called chaoskube_pods_deleted_total.

You can find other metrics listed here.

@2020testuser
Copy link
Author

@linki - Thanks!
I've chaoskube deployed using your sample Deployment (with some tweaks) in my Kubernetes cluster. Could you please let me know how I can see the metrics?

In your url - http://localhost:8080/metrics, I replaced localhost with my and it didn't display the metrics. Do I need to perform any additional step? Sorry. I'm using chaoskube for the first time and so not clear. Thanks!

@linki
Copy link
Owner

linki commented May 25, 2020

No, if you use the Pod IP instead of localhost it should show you something.

@linki
Copy link
Owner

linki commented May 25, 2020

Where do you run the curl command from?

@2020testuser
Copy link
Author

2020testuser commented Jun 1, 2020

@linki - Thanks Much!
I want to run the curl command from my script which I use for chaos test.
Basically, I want to use the curl command to start chaoskube and pass the arguments to kill the pods.
It would be very helpful if you could provide details.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants