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

feature: support prometheus metrics #130

Merged
merged 4 commits into from
Oct 26, 2022
Merged

Conversation

tiny-x
Copy link
Member

@tiny-x tiny-x commented Oct 25, 2022

Signed-off-by: tiny-x xf.yefei@gmail.com

The prometheus api must be set during startup --chaos.prometheus.api=http://127.0.0.1:9100/api/v1/query_range

Signed-off-by: tiny-x <xf.yefei@gmail.com>
# Conflicts:
#	chaosblade-box-starter/src/main/resources/application.properties
Signed-off-by: tiny-x <xf.yefei@gmail.com>
@tiny-x tiny-x requested a review from MandssS October 25, 2022 09:19
* @author xf.yefei
*/
@ChaosApplication(
name = "普罗米修斯监控",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use english

}

@ChaosFunction(
name = "主机CPU使用率",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use english

}

@ChaosFunction(
name = "主机磁盘IO负载",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

up

Signed-off-by: tiny-x <xf.yefei@gmail.com>
@MandssS MandssS added this to the v1.0.3 milestone Oct 26, 2022
@MandssS MandssS merged commit 9b6e018 into chaosblade-io:main Oct 26, 2022
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

Successfully merging this pull request may close these issues.

2 participants