Open sven0219 opened 1 year ago
Could you try to log evt.Data
?
Sorry for reply so late.
Code for log evt.Data
func middlewareAppMentionEvent(evt *socketmode.Event, client *socketmode.Client) {
eventsAPIEvent, ok := evt.Data.(slackevents.EventsAPIEvent)
logger.Info("evt.Data---->", evt.Data)
if !ok {
logger.Info("Ignored %+v\n", evt)
return
}
...
log
{"level":"info","ts":"2023-01-11T18:07:09+08:00","msg":"evt.Data---->{AwKZMkAdB1AbFuoc6sn1j9fA T024GQDB5 event_callback A03GSSXUTNY 0xc0000ca460 {app_mention 0xc0000ca500}}"}
slack msg
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
What happened
The log is as follows
Expected behavior
When I ping the robot like this
the logs like this:
I'm not sure why I can't get the grafana alerts text
Versions
1.19.3
v0.11.3