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

[Feature request] Alerting on Google Hangouts Chat #11221

Closed
PatrickSchuster opened this Issue Mar 13, 2018 · 17 comments

Comments

@PatrickSchuster
Copy link
Contributor

PatrickSchuster commented Mar 13, 2018

What Grafana version are you using?

4.6.3

What datasource are you using?

Prometheus

What OS are you running grafana on?

Ubuntu

Hi,
I'm trying to set up an alert using webhooks to a Google Chat / Hangouts chat room. I used the official Google Chat documentation on setting up webhooks.

However, in Grafana there is currently no Google Chat type available in the alerting type dropdown list. I've tried using "webhook", but can't get past a "Webhook response status 400 Bad Request" error message.

I think this is the case because there is currently no way to specify a custom HTTP message required by the Google Chat webhook?

So my question would be: Has anyone successfully set up a Google Chat alert configuration and could tell me how he/she get it to work?

Thank you!

@wbrauneis

This comment has been minimized.

Copy link

wbrauneis commented Mar 13, 2018

For the official JSON message format reference please refer to https://developers.google.com/hangouts/chat/reference/message-formats/

@bergquist

This comment has been minimized.

Copy link
Contributor

bergquist commented Mar 13, 2018

Naitive support for this have to wait until we support backend plugins

@wbrauneis

This comment has been minimized.

Copy link

wbrauneis commented Mar 14, 2018

Adding the alert configuration for Hangouts Chat to the standard code base like the other configurations already available is not a viable solution?

@bergquist

This comment has been minimized.

Copy link
Contributor

bergquist commented Mar 15, 2018

@wbrauneis only if its provided as a pull request and upvoted by the community. We don't want to support yet another API for a minority of our users.

@PatrickSchuster PatrickSchuster changed the title Alerting on Google Chat (gChat) [Feature request] Alerting on Google Hangouts Chat Mar 15, 2018

@vainkop

This comment has been minimized.

Copy link

vainkop commented Mar 25, 2018

@PatrickSchuster did this work for you? https://developers.google.com/hangouts/chat/reference/message-formats/

If yes, can you share?

Thanks :)

@PatrickSchuster

This comment has been minimized.

Copy link
Contributor Author

PatrickSchuster commented Mar 28, 2018

Hello everyone,
I implemented a Google Hangouts Chat notifier in my pull request using the official JSON message format (https://developers.google.com/hangouts/chat/reference/message-formats/).

A sample alert notification (without a graph screenshot) looks something like this:
google_chat_grafana_alert

@PatrickSchuster

This comment has been minimized.

Copy link
Contributor Author

PatrickSchuster commented Apr 24, 2018

Hi @bergquist ,
I wanted to ask if you might have time to review my pull request. There are a couple of upvotes on this issue as well as the pull request and it might be worth considering. :)
Thank you!

@n0guest

This comment has been minimized.

Copy link

n0guest commented Jul 23, 2018

+1

It would be great to have this feature.

@ondrejFuchs

This comment has been minimized.

Copy link

ondrejFuchs commented Aug 21, 2018

+1
It would be great to have this feature by Neuron Soundware.

@bill0k

This comment has been minimized.

Copy link

bill0k commented Aug 28, 2018

+1 aswell.
Not a big change.

@xtroncode

This comment has been minimized.

Copy link

xtroncode commented Sep 6, 2018

+1
this is needed

@cw-pratik

This comment has been minimized.

Copy link

cw-pratik commented Sep 6, 2018

+1
really need this

@bergquist bergquist self-assigned this Sep 6, 2018

@sjernigan

This comment has been minimized.

Copy link

sjernigan commented Sep 10, 2018

+1

2 similar comments
@shanodj

This comment has been minimized.

Copy link

shanodj commented Oct 19, 2018

+1

@auntispam

This comment has been minimized.

Copy link

auntispam commented Oct 30, 2018

+1

piotrmaslanka added a commit to smok-serwis/grafana that referenced this issue Nov 11, 2018

@PcoWegenenVerkeer

This comment has been minimized.

Copy link

PcoWegenenVerkeer commented Dec 6, 2018

+1
We need this

bergquist added a commit that referenced this issue Dec 7, 2018

@bergquist

This comment has been minimized.

Copy link
Contributor

bergquist commented Dec 7, 2018

closed by #11410

@bergquist bergquist closed this Dec 7, 2018

@marefr marefr added this to the 5.5 milestone Dec 7, 2018

ryantxu added a commit to ryantxu/grafana that referenced this issue Dec 11, 2018

Merge remote-tracking branch 'grafana/master'
* grafana/master: (93 commits)
  updated publish script
  Update CHANGELOG.md
  fix time regions bugs
  fixed issue with colorpicker position above window, fixes grafana#14412
  fixed issue with singlestat and repeated scopedVars, was only working for time series data sources, and only if there was any series, now scoped vars is always set, fixes grafana#14367
  fix search tag issues, fixes grafana#14391
  Clear query models when changing data source type, fixes grafana#14394
  Use correct variable name in fail text
  Fix logs panel meta wrap
  Explore: dont pass all rows to all rows, fixes profiler
  Explore: Logging dedup tooltips
  Explore: Hide scanning again after result was found
  Explore: Fix timepicker inputs for absolute dates
  Switch to global match for full browser support of escaped custom vars
  Allow backslash escaping in custom variables
  Fixed issue with logs graph and stacking
  align yellow collor with graph in logs table
  Add the AWS/SES Cloudwatch metrics of BounceRate and ComplaintRate.  Pull request grafana#14399
  allow sidemenu sections without children still have a hover menu/header
  changelog: adds note about closing grafana#11221
  ...

@torkelo torkelo modified the milestones: 5.5, 6.0-beta1 Jan 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment