Open tjerkw opened 1 year ago
Assigning to @getsentry/support for routing, due by (sfo). ⏲️
Routing to @getsentry/product-owners-settings-integrations for triage, due by (sfo). ⏲️
Hi @tjerkw - Thanks a lot for the request, Is there anything in particular you'd like to see in such an integration? Beyond support for issue alerts and metric alerts?
Hi @tjerkw - Thanks a lot for the request, Is there anything in particular you'd like to see in such an integration? Beyond support for issue alerts and metric alerts?
Personally, I would be very excited to just have Issue Alerts. Anything else would be icing on the cake. 🍰
Indeed, basically similar feature set as the slack integration: https://docs.sentry.io/product/integrations/notification-incidents/slack/
But as a minimum issue alerting. Currently we already solved this by writing a webhook that submits to google chat. But I guess sentry can do a way better job by investing a bit of time. It would be beneficial for sentry in the long term too.
is there an example of an internal integration for a custom webhook that sends to a google space url in the {"text": "{{issue}}"} format?
Where is that feature on the development list? We would love to have it too as today we rely on exposing metrics through prometheus and grafana to alert us.
This is still in our backlog, We don't anticipate we will get to this in the next 2 quarters. But we'll keep this issue updated if there's any change in the timeline
fwiw, here is a third party implementation: https://github.com/jweslley/sentry-googlechat
Our company recently migrated from Slack to Google Chat, this feature would be very useful.
We have a simple Sinatra app to forward webhooks from various sources to the persnickety GChat format. Here's the rough code for it if anyone wants to crib it:
post '/sentry-notifications' do
req_body = request.body.read
@request_payload = JSON.parse(req_body)
text = "<#{@request_payload['url']}|#{@request_payload['message']}>\n"
text += "Culprit: #{@request_payload['culprit']}\n"
text += "Project: #{@request_payload['project_name']}"
post_to_google_chat(text, 'GOOGLE_CHAT_SENTRY_ROOM_WEBHOOK_URL')
halt 200
end
def post_to_google_chat(message, channel='GOOGLE_CHAT_HEROKU_ROOM_WEBHOOK_URL')
HTTParty.post(
ENV[channel],
body: {'text': message}.to_json,
headers: {'Content-Type' => 'application/json'}
)
end
With this, the Legacy Webhooks integration, and a new Alert, I think we're all set for now - but an official integration would be super nice.
Any update on this? Google Chat usage is on the up and our business has moved away from slack due to pricing.
Any kind of basic issue reporting or official workaround would be fantastic.
Problem Statement
I want to re-open https://github.com/getsentry/sentry/issues/9206
More and more business have moved to google chat... So having a native integration would be usefull
Solution Brainstorm
No response
Product Area
Alerts