autometrics-dev / am

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

Show friendlier error in `am start` when scrape target is not yet up #90

Open brettimus opened 1 year ago

brettimus commented 1 year ago

when you am start :1337 but port 1337 has no /metrics route, then you get a warning log in the console. it'd be nice to say something like "target not yet up, but prometheus will still try to scrape it" (don't use that exact copy pls)

image
hatchan commented 1 year ago

This is running in verbose mode, when running in "normal" mode it is more clean though.