nats-io / nats-top

A top-like tool for monitoring NATS servers.
https://nats.io
MIT License
351 stars 30 forks source link

Support using with nats context #97

Closed yeqown closed 8 months ago

yeqown commented 8 months ago

What motivated this proposal?

Avoid inputting nats server and creds config again if I have configured multiple nats contexts

What is the proposed change?

Make this the default or interactively behavior of nats-top to fetch the config

Who benefits from this change?

People like me who has multi nats context in different env, them have different host and creds ~

What alternatives have you evaluated?

none yet

yeqown commented 8 months ago

The natscli called nats support top as a subcommand, so we don't need it anymore