-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Slack improvements #894
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
Slack improvements #894
Conversation
Can you remove default value for username into SlackWebhookHandler (in construct) Thanks |
@jewome62 Good idea. This will allow to use slack internal username settings. I'll check how it works for slack API and get that done. Thanks. |
7e93889
to
1a60ad2
Compare
Looking forward to the removal of context fields duplicated in message 👍 |
@Seldaek Do you think we can do better to support The only way I see to fully support |
@an1zhegorodov seems like you say a way to do it so I'd say do it if you think there is value in it :) |
@Seldaek Just realized it would also require moving most of constructor arguments to the formatter... We might consider that for 2.x |
Some visuals on these changes: |
Awaiting this merge to fix issue #902 :) |
From looking at your screenshots @an1zhegorodov it seems to me one important thing that might be worth adding again is the Otherwise I agree it looks much better, thanks for the work. |
@Seldaek Slack has a feature to show date and time below the attachment based on user timezone. That's where That's what I meant by:
|
OK sorry :) Looks fine to me then, thanks! |
@Seldaek can you release a tag with this one? :) |
@an1zhegorodov How is the |
@mirfilip Whether it is handled or not depends on the formatter. If you use default formatter (which is |
@an1zhegorodov Stupid me, I was searching for |
While #846 was focused on providing the ability to communicate with Slack via webhooks/bot, there's a bunch of improvements that can be done before 2.x. Thanks to @greeny, @websirnik, @jewome62 and @mirfilip for ideas.
extra
/context
,datetime
,level
from message when attachment is usedts
attachment key to displaydatetime
considering user timezonecontext
/extra
include_stacktraces
option when attachment is not used and always include stacktraces when attachment is usedextra
/context
field exclusion