-
Notifications
You must be signed in to change notification settings - Fork 21
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 VM informant #8
Conversation
I think this is ready to merge. It's now clear to me that there's some heavy refactoring needed in While the refactoring in |
Hm, do we actually need a new binary inside? Not saying that we shouldn't, but trying to understand the list of reasons. Vector now provides metrics that agent can read, and we also can embed some UDF's in postgres to up/down scale things and agent can call them. That leaves us with postgres -> scheduler requests on spiky load. Is there anything else? |
Short answer: not yet. The key benefits from having a binary inside, as I see it:
These are all directions for future work — none of this is implemented yet, although (1) is planned and (3) is tenative. (4) may be required. |
👌 |
This commit is just future-proofing. '-mod readonly' is the default behavior, but wouldn't be if we had a vendor directory. See also: * https://go.dev/ref/mod#build-commands * #8 (comment)
Without gcc (and musl-dev), `docker build` fails with: #0 1.775 # runtime/cgo #0 1.775 cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH See also: * #8 (comment)
Currently, this mostly does nothing. The protocol is designed so that it'll be easy to add to it later, which we'll do. There's a couple "todo" items that are necessary before merging that will be handled in follow-up commits.
There's some more work required there because anyways because of merge conflicts, but I wanted to get this out of the way beforehand.
Earlier in this PR's development, util.AddHandler actually lived in cmd/vm-informant, and I forgot to remove the old version.
Per review comment. It's a relatively clean way to return a non-zero exit code.
52d0587
to
7424de6
Compare
* cicd cleanup Co-authored-by: sharnoff <[email protected]>
* cicd cleanup Co-authored-by: sharnoff <[email protected]>
* cicd cleanup Co-authored-by: sharnoff <[email protected]>
Currently, this mostly does nothing. The protocol is designed so that it'll be easy to add to it later, which I'll do shortly.
Remaining TODO items before merging: