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 role metadata to node-stats telemetry device #1654

Merged
merged 3 commits into from
Jan 18, 2023

Conversation

b-deam
Copy link
Member

@b-deam b-deam commented Jan 17, 2023

It's useful to know what roles a node was configured for when analysing metrics in a remote metrics store.

For example:
image

I've tested this with a local 8.5 metrics store:

esrally race --track=geopoint  --pipeline=benchmark-only --target-hosts=https://localhost:9222 --challenge=append-fast-with-conflicts --telemetry=node-stats  --client-options="timeout:180,verify_certs:false,basic_auth_user:'elastic',basic_auth_password:'changeme'" --kill-running-processes --test-mode

@b-deam b-deam added enhancement Improves the status quo :Usability Makes Rally easier to use :Telemetry Telemetry Devices that gather additional metrics labels Jan 17, 2023
@b-deam b-deam added this to the 2.7.1 milestone Jan 17, 2023
@b-deam b-deam requested review from pquentin and inqueue January 17, 2023 03:16
@b-deam b-deam self-assigned this Jan 17, 2023
@b-deam
Copy link
Member Author

b-deam commented Jan 17, 2023

@elasticmachine run rally/it-python38

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM. I added a small nit that is optional and does not require another round of review if you do implement it.

tests/telemetry_test.py Outdated Show resolved Hide resolved
@b-deam
Copy link
Member Author

b-deam commented Jan 18, 2023

AssertionError: It was not possible to build the docker image from Dockerfile-dev

@elasticmachine run rally/it-python310

esrally/actor.py Outdated
@@ -259,6 +259,7 @@ def bootstrap_actor_system(try_join=False, prefer_local_only=False, local_ip=Non
if coordinator_ip:
# Make the coordinator node the convention leader
capabilities["Convention Address.IPv4"] = "%s:1900" % coordinator_ip
print(system_base, capabilities)
Copy link
Member

Choose a reason for hiding this comment

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

leftover print

Copy link
Member Author

Choose a reason for hiding this comment

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

🤦

@b-deam
Copy link
Member Author

b-deam commented Jan 18, 2023

I raised #1655 to track the CI failure, since it's not the first time we've seen it.

Copy link
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

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

Thanks for iterating! LGTM.

@b-deam b-deam merged commit 07ce84c into elastic:master Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Telemetry Telemetry Devices that gather additional metrics :Usability Makes Rally easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants