sentry
sentry copied to clipboard
Google Chat Notification Support
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
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.
https://pypi.org/project/sentry-googlechat/
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.
This would be a really handy integration to have
No updates for an official Google Chat integration. It does not have significant adoption among our paid organizations yet.
No updates for an official Google Chat integration. It does not have significant adoption among our paid organizations yet.
@leedongwei Where should we report that so you link your subscribers to this feature request?
No updates for an official Google Chat integration. It does not have significant adoption among our paid organizations yet.
I m really surprised by this affirmation, how do you monitor that ? we're a paid customer and i know other using google chat...
@marcaurele This thread is the first result on Google, and the PyPi project is the fourth result.
Folks can 👍 on the first message here to express support. If you are an enterprise account, please reach out to your account CSM too.
This feature is quite easy to implement: it’s low hanging fruit. I don’t see why Sentry would spend at least a bit of time on what customers want.
-- Tjerk Wolterink
On Fri, Jul 19, 2024 at 00:02 Danny Lee @.***> wrote:
@marcaurele https://github.com/marcaurele This thread is the first result on Google, and the PyPi project https://pypi.org/project/sentry-googlechat/ is the fourth result.
Screenshot.2024-07-18.at.2.59.09.PM.png (view on web) https://github.com/user-attachments/assets/1ea88183-74b5-4c5a-a3b5-6ee919c23978
Folks can 👍 on the first message here to express support. If you are an enterprise account, please reach out to your account CSM too.
— Reply to this email directly, view it on GitHub https://github.com/getsentry/sentry/issues/49542#issuecomment-2237700502, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGH5MO7ZIIW5I7RJWZQOYTZNA3QPAVCNFSM6AAAAAAYKSUKXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZXG4YDANJQGI . You are receiving this because you were mentioned.Message ID: @.***>
Any progress on this or ETA? I like Sentry but my company moved to Google Chat and now I feel like getting notifications when something is broken is kinda useful.
This is not prioritized yet. I'll post an update when we get to it.
https://sentry.zendesk.com/agent/tickets/146666
We don't have this integration in future plans but customers can easily create an internal integration that does the same.
Docs for internal integration: https://docs.sentry.io/organization/integrations/integration-platform/internal-integration/ Doc for google chat APIs: https://developers.google.com/workspace/chat/api/reference/rest
@sentaur-athena Hi, Any suggestions for SaaS Sentry customers? Maybe some other notification service that could act as bridge to Google Chat?
@hfoffani the link that @sentaur-athena provided is available to SaaS Sentry Customers. You'll require an intermediary service to receive the outbound post requests from from Sentry and re-package them into notifications that conform to the Google Chat REST API specs: https://developers.google.com/workspace/chat/api/reference/rest
This is a useful page for getting started with Webhooks from an Internal Integration: https://docs.sentry.io/organization/integrations/integration-platform/webhooks/#developing-and-testing-webhooks
Thank you for the response @souredoutlook
In 2025 is there a plan for a integration to alert in google chat or any way to provide a webhook that sends a post to an url with a body that I can set up?
@LuccaRomanelli no plan to build the integration. I posted about setting up a webhook here. Did that not work?
Is there any update?
@numan-myalfred https://github.com/getsentry/sentry/issues/49542#issuecomment-2701676336
Waiting for this to happen