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

Add edot to show #109

Merged
merged 1 commit into from
Dec 18, 2015
Merged

Add edot to show #109

merged 1 commit into from
Dec 18, 2015

Conversation

nathanielc
Copy link
Contributor

Adds the throughput number to the DOT ouput of the kapacitor show command. This way you can get a quick glance without having to store and then query the internal stats.

Example DOT output:

digraph udp_drop {
stream0 -> stream1 [label="63921"];
stream1 -> groupby2 [label="143"];
groupby2 -> derivative3 [label="143"];
derivative3 -> window4 [label="142"];
window4 -> map5 [label="2"];
map5 -> reduce6 [label="2"];
reduce6 -> alert7 [label="2"];
}

Read as 63921 points have been sent from stream0 to stream1. In this case meaning that the dbrp of the task has received 63921 points. Only 143 points where passed from stream1 to groupby2 meaning that only 143 points matched the from and where conditions of the task.

These throughput numbers are only displayed if the task is executing.

nathanielc pushed a commit that referenced this pull request Dec 18, 2015
@nathanielc nathanielc merged commit 24aadcf into master Dec 18, 2015
@nathanielc nathanielc deleted the nc-edot branch December 18, 2015 16:57
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.

1 participant