Skip to content

SAMZA-2618: Add per-container metric for memory-utilization#1459

Merged
mynameborat merged 1 commit intoapache:masterfrom
ZitingShen-li:metrics
Feb 3, 2021
Merged

SAMZA-2618: Add per-container metric for memory-utilization#1459
mynameborat merged 1 commit intoapache:masterfrom
ZitingShen-li:metrics

Conversation

@ZitingShen
Copy link
Contributor

@ZitingShen ZitingShen commented Feb 3, 2021

Feature: Add a metric to measure the fraction of physical memory used out of the total memory of the container. During autosizing, the container-count and size can change as traffic changes, so only monitoring the phsical-memory-mb does not provide enough information for alerting. We need a fraction or % metric to allow for easy monitoring and alerting

Changes: Add a metric to measure the fraction of physical memory used out of the total memory of the container.

Tests: unit tests; end-to-end test with samza-hello-samza and inspect the metrics MBean with JMX Reporter
Screen Shot 2021-02-03 at 3 11 28 PM

Copy link
Contributor

@mynameborat mynameborat left a comment

Choose a reason for hiding this comment

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

Thanks for contributing to samza :)

@ZitingShen ZitingShen marked this pull request as ready for review February 3, 2021 23:18
@mynameborat
Copy link
Contributor

@ZitingShen With travis being slow, would you mind hooking up your repository to travis-ci.com and adding the CI build report to the PR. I can then merge it.

@ZitingShen
Copy link
Contributor Author

@ZitingShen With travis being slow, would you mind hooking up your repository to travis-ci.com and adding the CI build report to the PR. I can then merge it.

@mynameborat It seems the CI build already passed https://travis-ci.org/github/apache/samza/builds/757470170

@mynameborat mynameborat merged commit f305149 into apache:master Feb 3, 2021
@ZitingShen ZitingShen deleted the metrics branch February 3, 2021 23:59
tranjith pushed a commit to tranjith/samza that referenced this pull request Mar 23, 2021
)

Feature: Add a metric to measure the fraction of physical memory used out of the total memory of the container. During autosizing, the container-count and size can change as traffic changes, so only monitoring the phsical-memory-mb does not provide enough information for alerting. We need a fraction or % metric to allow for easy monitoring and alerting

Changes: Add a metric to measure the fraction of physical memory used out of the total memory of the container.
shekhars-li pushed a commit to shekhars-li/samza that referenced this pull request May 28, 2021
)

Feature: Add a metric to measure the fraction of physical memory used out of the total memory of the container. During autosizing, the container-count and size can change as traffic changes, so only monitoring the phsical-memory-mb does not provide enough information for alerting. We need a fraction or % metric to allow for easy monitoring and alerting

Changes: Add a metric to measure the fraction of physical memory used out of the total memory of the container.
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