autometrics-dev / am

Autometrics Companion CLI app
Apache License 2.0
16 stars 2 forks source link

Show explorer, prometheus, pushgateway, etc details once everything is started #53

Closed hatchan closed 1 year ago

hatchan commented 1 year ago

We should only display the details once the download and unpack is complete for both prometheus and pushgateway.

This is not an issue when the users already has the applications cached. But it does give a poor experience for a first time user.

hatchan commented 1 year ago

This could actually be a more persistent interface with some keyboard shortcuts. @keturiosakys mentioned VITE, which allows you to quickly open a browser, while it shows all the other relevant information about the server. There are some other hotkeys as well. Tilt does a similar thing.

For am we could show all the relevant endpoints once it starts and then allow space to be used to open the explorer page. Additionally you can interact with the running am server with other hot keys (such as restart prometheus, or change the scrape interval). We do need to figure out how to combine this with our current logging implementation.

keturiosakys commented 1 year ago

Here are a couple of example screenshots of how Vite and its cousin Vitest run in the shell when active:

image CleanShot 2023-06-28 at 14 39 14@2x
hatchan commented 1 year ago

A example of how tilt does it (screenshot by @stephlow, thanks). Screenshot 2023-06-28 at 14 44 02