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

SAMZA-2788: Add new metric to emit 1 when containers are processing #1678

Merged
merged 3 commits into from
Jul 28, 2023

Conversation

Zhangyx39
Copy link
Contributor

LISAMZA-31001

Symptom: The "Container Not Running" metric is broken when container level metrics is enabled.

Fix: Adding a new gauge metric to report 1 whenever a container is processing. "Container Not Running" can be calculated by total_container_count - sum(container_running)

This allows dashboards to calculate how many containers are running / not running based on this metric.
The containerRunning metric is set by the callback function
@sborya
Copy link
Contributor

sborya commented Jul 27, 2023

Please add a comment to the code (similar to one in the PR description).

@Zhangyx39
Copy link
Contributor Author

@sborya added the comment. Can you help approve and merge it?

@sborya sborya merged commit 9357a91 into apache:master Jul 28, 2023
1 check passed
@sborya
Copy link
Contributor

sborya commented Jul 28, 2023

Done

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