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

Variable context.node in Disk Usage alert should have only the node name, not the node name and percent used. #158850

Open
leandrojmp opened this issue Jun 1, 2023 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team

Comments

@leandrojmp
Copy link

leandrojmp commented Jun 1, 2023

Describe the feature:

Currently there is a built-in rule in the Stack Monitoring to alert when the Disk Usage of a node is above some specified watermark, this rule have a couple of variables that can be used in the alert message.

One of these variables is the context.node and the description for this variable is The node reporting high disk usage

Screenshot from 2023-06-01 13-39-10

But if you use the variable context.node on any action the actual value will be the node name and the percent of disk usage in the format nodeName:percent, for example node-01:95.

The value for context.node should be split in two fields, context.node with the node name and context.diskUsage with the percentual of disk usage.

This issue is based on this discuss post.

Describe a specific use case for the feature:

When getting alerts you need to have the exact node name, the way it is today you will have the node name and the disk usage percent, this can impact on some automation use cases for example, node-01:95 and node-01:97 are different values, but the issue is the same node.

@botelastic botelastic bot added the needs-team Issues missing a team label label Jun 1, 2023
@davismcphee davismcphee added Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services and removed needs-team Issues missing a team label labels Jun 14, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@smith smith added bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring labels Jun 21, 2023
@miltonhultgren
Copy link
Contributor

Linking this comment for reference when/why this was setup this way #100136 (comment)

@smith smith added Team:Monitoring Stack Monitoring team and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Nov 13, 2023
@leandrojmp
Copy link
Author

Hello, will this be considered?

I just noticed that the same thing happens with the CPU usage, I can not get the percent of CPU used, the only information available is in the format node-name:cpu-used, it should be possible to have the cpu used in an different field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Stack Monitoring Team:Monitoring Stack Monitoring team
Projects
None yet
Development

No branches or pull requests

5 participants