monogon icon indicating copy to clipboard operation
monogon copied to clipboard

BMDB: Operator/debug CLI

Open q3k opened this issue 2 years ago • 2 comments

We want a CLI to talk to a BMDB, first to at least query per-machine state, and export that state to some somewhat machine-parsable format.

This is expected to be used when troubleshooting the BMDB in production, but also as a stopgap measure for integrating the BMDB in some deployments (eg. exporting machine information to spreadsheets, etc).

q3k avatar Dec 13 '22 10:12 q3k

We now have webug as a read-only debug tool. We still should have a CLI for mutating the state, but that's probably gonna be written as we realize what kind of operations we need to perform. Until then, we'll probably mostly use webug and manual SQL surgery.

q3k avatar Feb 21 '23 09:02 q3k

I started working on a CLI and have a prototype ready, but it's currently stuck on me wanting to have a nice query/filter language for expressing machine data and machine data filtering.

Ask me for the current source.

q3k avatar Aug 29 '23 12:08 q3k