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

[filehandles] Include allocated, allocated but unused, used, and max filehandler metrics #3608

Merged
merged 1 commit into from Dec 13, 2017

Conversation

kennydo
Copy link
Contributor

@kennydo kennydo commented Dec 8, 2017

What does this PR do?

This change emits more file handler metrics that weren't previously available: num allocated, num allocated but unused, used (an alias for allocated - allocated and unused), and max num of file handles.

Motivation

The "% of max file handlers used" metric introduced by #3395 helps us detect changes in file handler usage, but sometimes I want to know the absolute values (ex: when comparing different hosts with different limits).

Testing Guidelines

An overview on testing
is available in our contribution guidelines.

I verified this by running the agent on my host and seeing the new metrics in the Datadog web UI.

Copy link
Member

@hush-hush hush-hush left a comment

Choose a reason for hiding this comment

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

Hi @kennydo,

Thanks for the PR !

@hush-hush hush-hush added this to the 5.21.0 milestone Dec 13, 2017
@hush-hush hush-hush merged commit cf9b0e2 into DataDog:master Dec 13, 2017
@kennydo kennydo deleted the kedo-more-fs-handlers branch January 1, 2018 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants