Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to send a more compact/dense messages to slack #82

Open
mfn opened this issue Mar 24, 2022 · 0 comments
Open

Ability to send a more compact/dense messages to slack #82

mfn opened this issue Mar 24, 2022 · 0 comments

Comments

@mfn
Copy link

mfn commented Mar 24, 2022

Is your feature request related to a problem? Please describe.
I would like to see a more compact notifications (at least on Slack), as the current format takes up a lot of screen space and I wish the information would be more dense and less verbose.

Describe the solution you'd like
Example what it looks currently (screenshot is from the readme):
image

Translating to text:

Pod Crash

There is an issue with your pod!

Name                             Container
mytest                           nginx

Namespace                        Reason
default                          ErrImagePull

Events
…
…
…

Logs:
…

It would be great if there was an option to have a condensed format, example:

kwatch: Pod Crash: default/mytest:nginx: ErrImagePull

Further it would be great if both "Events" and "Logs" can be tuned to only show the last n lines, ranging from 0 to Inf or so.

With n being 1:

kwatch: Pod Crash: default/mytest:nginx: ErrImagePull

Events:
<last line>

Logs:
<last line>

If either the last lines for Events/Logs is 0, it shouldn't be displayed at all.

(well, maxRecentLogLines is already there for "Logs", just wanted to mention it in regards for "Events")

WDYT? Thank you for considering 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant