bitcoin-dev-project / warnet

Monitor and analyze the emergent behaviors of Bitcoin networks
https://warnet.dev
MIT License
63 stars 28 forks source link

Make logging stack optional #275

Closed m3dwards closed 3 months ago

m3dwards commented 3 months ago

Now logging stack will not be created with just start and the kubernetes backend will be just fine with that and not install the prometheus exporters.

How to test:

just stop(d)
k delete crds --all
just start(d)
warcli network start --force

Observe that the containers do not have prometheus exporters and everything is happy

warcli network down
just installlogging
warcli network start --force
just connectlogging

Now when you browse to localhost:3000 (admin/password) Loki and prometheus should be present and working.

willcl-ark commented 3 months ago

OK, I think we're going to need a series of doc/ PRs very soon. Lots more on the K8s/logging stuff, image gen stuff (from me) ...Lots of new command combos becoming available!

willcl-ark commented 3 months ago

LGTM. Logging still slow to shutdown for me, so happy to have this in 👍🏼