Skip to content

Conversation

@Maxusmusti
Copy link
Member

@Maxusmusti Maxusmusti commented Sep 8, 2020

Complete tool metadata abstraction work!
(Still code review changes to iron out)
On new branch, same as PR #1778

@Maxusmusti Maxusmusti closed this Sep 8, 2020
@Maxusmusti Maxusmusti reopened this Sep 8, 2020
@Maxusmusti Maxusmusti marked this pull request as draft September 8, 2020 15:52
@Maxusmusti Maxusmusti added Agent enhancement tools Of and related to the operation and behavior of various tools (iostat, sar, etc.) labels Sep 8, 2020
@Maxusmusti
Copy link
Member Author

Created a more proper and up-to-date branch for this work.

Copy link
Member

@npalaska npalaska left a comment

Choose a reason for hiding this comment

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

Its still a draft but I left few comments

@portante
Copy link
Member

portante commented Sep 9, 2020

@Maxusmusti, is this really ready for review? Typically, if a PR is in Draft mode we don't want to officially request code reviews. However, if it is ready to review, then let's take it out of Draft mode.

@portante
Copy link
Member

portante commented Sep 9, 2020

Also what necessitated a new PR? Typically, there are steps one can take with git to fix up the proper branch to use, and/or, fix up the GitHub PR mechanism for the pull request against the new branch.

@Maxusmusti
Copy link
Member Author

The reason I had assigned reviewers was simply for consistency (added the same people who were marked as reviewers on the old PR). Also I was (and still am) unaware of a means by which one switches the branch that a PR originates from, so I made a fresh PR for the more properly named and updated branch (old one had some issues).

Copy link
Member

@portante portante left a comment

Choose a reason for hiding this comment

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

As this is a Draft, it goes without saying this is not ready for merging, but I'd like to know what the intent is for using metaclass module?

Copy link
Member

Choose a reason for hiding this comment

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

This actually made me think: should we sort the list of keys so dcgm and node-exporter don't get moved to the end of the list?

Copy link
Member

Choose a reason for hiding this comment

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

@dbutenhof, just do confirm in writing, do you think we can do that later, or would you want to see the sorting done in this PR?

Copy link
Member

Choose a reason for hiding this comment

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

@portante @Maxusmusti I approved the PR, which I figured would be clear enough; but for the record, yes, sure. It's a pretty trivial UX issue; it'd be more consistent and maybe a bit more clear, but I doubt most people really pay attention to the full list of tools in the usage.

Copy link
Member Author

Choose a reason for hiding this comment

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

I can easily change that once Chuck's work has been integrated, I'll be sure to sort in the future

Copy link
Member

@portante portante left a comment

Choose a reason for hiding this comment

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

Looks good! Just needs a rebase and a squash.

@Maxusmusti
Copy link
Member Author

It should already be rebased on the tool-meister branch, unless there was another new merge today. Should I squash the last chunk of updates and force push to metadata, or would it be better to squash through the "squash and merge" option

Maxusmusti and others added 17 commits September 30, 2020 01:41
This work adds the notion of a "collector" to the Tool Data Sink, and
"tools" which run continuously without cycling through the "start", "stop",
and "send" phases.  The collector is responsible for continuously pulling
data from those tools which are now started during the new "init" phase,
and stopped during the new "end" phase.

The first actual implementation of this kind of collector is for the
prometheus data collection environment, where a `node-exporter` "tool" is
run providing a end-point for a prometheus server "collector" to pull data
from it and store it locally off the run directory (`${benchmark_run_dir}`,
e.g. `${benchmark_run_dir}/collector/prometheus`).
Co-authored-by: maxusmusti <meyceoz@redhat.com>
* Fixed logic flaw resulting in unecessary error logging (#5)

* Fixed most code review suggestions and tm-start logic flaw
@Maxusmusti
Copy link
Member Author

Ok now it's ACTUALLY rebased, it seems as though I had botched it earlier

@portante portante merged commit 7d660e8 into distributed-system-analysis:tool-meister Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Agent enhancement tools Of and related to the operation and behavior of various tools (iostat, sar, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants