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

Hot threads should include timestamp and params #9773

Closed
wants to merge 1 commit into from

Conversation

mikemccand
Copy link
Contributor

When looking at a hot threads output, it's useful to know the exact time when the hot threads were taken, e.g. to correlate back to Marvel charts or other monitors. If multiple hot threads were pulled at different times it's useful to know which one was when.

I think it's also useful to know the params that were passed (interval, busiestThreads count, whether idle threads were ignored).

This change just adds a line at the top of each node's hot threads, like this:

Hot threads at 2015-02-19T10:33:52.333Z, interval=500ms, busiestThreads=2147483647, ignoreIdleThreads=false:

@dakrone
Copy link
Member

dakrone commented Feb 19, 2015

LGTM, this is a nice addition

mikemccand added a commit that referenced this pull request Feb 19, 2015
Include the timestamp and params (interval, busiestThreads,
ignoreIdleThreads), when hot threads were collected.

Closes #9773
@clintongormley clintongormley added >enhancement :Data Management/Stats Statistics tracking and retrieval APIs labels Jun 8, 2015
@clintongormley clintongormley changed the title Core: hot threads should include timestamp and params Hot threads should include timestamp and params Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Stats Statistics tracking and retrieval APIs >enhancement v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants