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

Monitor tcp memory usage in content node verbose health check #1482

Merged
merged 5 commits into from May 11, 2021

Conversation

dmanjunath
Copy link
Contributor

Description

Add the ability to monitor tcp mem obtained from cat /proc/net/sockstat and expose it in the /health_check/verbose route.

Tests

Tested this locally and verified the value is exposed via the endpoint

35_223_139_120_4000_health_check_verbose

@dmanjunath dmanjunath marked this pull request as ready for review May 11, 2021 18:23
Copy link
Member

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

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

yaaaaaay monitors! hopefully this was ok for you :)

@@ -1,4 +1,5 @@
const si = require('systeminformation')
var sockstat = require('sockstat')
Copy link
Member

Choose a reason for hiding this comment

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

const

@dmanjunath dmanjunath merged commit 35a1148 into master May 11, 2021
@dmanjunath dmanjunath deleted the dm-cn-tcp-mem-monitor branch May 11, 2021 20:22
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.

None yet

2 participants