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

Calculate system metrics per node #803

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we split aggregation of "global" results (which can be
determined by inspecting the cluster remotely) and results based on system
metrics (which can only be determined per Elasticsearch node on that respective
machine). This will help us to provide specific subcommands that can manage an
Elasticsearch node but are still able to retrieve system metrics and send it to
the metrics store.

Relates #697
Closes #792

With this commit we switch to a sum aggregation in the I/O charts as
metrics are now stored per node instead of per cluster. For correct
results across the whole cluster we thus need to sum up all values from
individual nodes.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Metrics How metrics are stored, calculated or aggregated :Reporting Command line reporting labels Oct 24, 2019
@danielmitterdorfer danielmitterdorfer added this to the 1.4.0 milestone Oct 24, 2019
@danielmitterdorfer danielmitterdorfer self-assigned this Oct 24, 2019
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

Masterfully done! Thanks

docs/migrate.rst Outdated
@@ -4,6 +4,11 @@ Migration Guide
Migrating to Rally 1.4.0
------------------------

Index size and Total Written are not contained in the command line report
Copy link
Contributor

Choose a reason for hiding this comment

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

s/contained/included ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I'll change this accordingly before merging.

pass


# helper function for encoding and decoding float keys so that the Elasticsearch metrics store can safe it.
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: safe it -> save them

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. I'll change this accordingly before merging.

@danielmitterdorfer danielmitterdorfer merged commit 4e36e05 into elastic:master Nov 13, 2019
@danielmitterdorfer danielmitterdorfer deleted the agg-node-metrics branch November 13, 2019 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Metrics How metrics are stored, calculated or aggregated :Reporting Command line reporting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Calculate system metrics per node
2 participants