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

Want to run oximeter in standalone mode #4063

Closed
bnaecker opened this issue Sep 9, 2023 · 2 comments
Closed

Want to run oximeter in standalone mode #4063

bnaecker opened this issue Sep 9, 2023 · 2 comments
Labels

Comments

@bnaecker
Copy link
Collaborator

bnaecker commented Sep 9, 2023

Running oximeter currently requires nearly the entire control plane. In addition to oximeter itself, one needs nexus to assign metric producers to collectors; CockroachDB to record that assignment; and ClickHouse for oximeter to insert data. This is all pretty heavyweight, especially if one wants to test just things like the basic accuracy of the metrics collected by oximeter.

It would be very helpful to have an oximeter-standalone binary. This would run the collector more or less as usual, but without any of the other components. It could be pointed directly at a producer; collect its metrics periodically; and simply print them. The oximeter-client may be useful here, or we could just start up a binary with the producer's endpoint directly.

A slightly more full-featured version might tell oximeter-standalone how to reach ClickHouse, in which case data would be inserted into the database as well. This might be useful for developing query tools, for example.

@jordanhendricks
Copy link
Contributor

This would be great! I really wanted to be able to do this when I was reproducing and testing the fix for oxidecomputer/propolis#497.

@bnaecker
Copy link
Collaborator Author

bnaecker commented Oct 4, 2023

Closed by #4117

@bnaecker bnaecker closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants