Skip to content
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: Discord Webhook Alert Handler #2287

Merged

Conversation

mattnotmitt
Copy link
Contributor

@mattnotmitt mattnotmitt commented Feb 10, 2020

Required for all non-trivial PRs
  • Rebased/mergable
  • Tests pass
  • CHANGELOG.md updated
  • Sign CLA (if not already signed)

Added a Discord Channel Webhook alert handler.

TODO

Screenshot of test notification in Discord client

img-2020-02-10-155610

Copy link
Contributor

@goller goller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I didn't to a complete review, but, here are a few changes to fix up.

pipeline/alert.go Outdated Show resolved Hide resolved
pipeline/alert.go Outdated Show resolved Hide resolved
server/server.go Outdated Show resolved Hide resolved
services/diagnostic/handlers.go Outdated Show resolved Hide resolved
services/discord/config.go Outdated Show resolved Hide resolved
services/discord/service.go Outdated Show resolved Hide resolved
@mattnotmitt
Copy link
Contributor Author

Ha, sorry, thought I'd caught all of those, pushing now!

@mattnotmitt
Copy link
Contributor Author

I'm also happy to add the required stuff to Chronograf, I'd just need a pointer to what needs updating!

@desa
Copy link
Contributor

desa commented Mar 27, 2020

@mattnotmitt is this ready for another review?

@mattnotmitt
Copy link
Contributor Author

@desa very nearly, there's an issue I'm experiencing with the timestamp boolean - I posted about it in the kapacitor channel in the influxdata community slack.

@desa
Copy link
Contributor

desa commented Mar 27, 2020

@mattnotmitt can you link me to the issue?

@mattnotmitt
Copy link
Contributor Author

mattnotmitt commented Mar 27, 2020 via email

@mattnotmitt mattnotmitt force-pushed the features/discord-alert-handler branch from 040e517 to 1729dd0 Compare March 28, 2020 12:55
@mattnotmitt
Copy link
Contributor Author

@desa Ready for review whenever you're available.

@desa
Copy link
Contributor

desa commented Mar 30, 2020

@mattnotmitt were you able to take a look at my suggestion in slack?

@mattnotmitt
Copy link
Contributor Author

mattnotmitt commented Mar 30, 2020 via email

@desa
Copy link
Contributor

desa commented Mar 30, 2020

Typically people use pointers to differentiate between the two. I think that should work.

@mattnotmitt
Copy link
Contributor Author

mattnotmitt commented Mar 30, 2020 via email

@docmerlin docmerlin self-assigned this Apr 16, 2020
@timhallinflux timhallinflux added this to the 1.5.6 milestone Apr 24, 2020
@desa
Copy link
Contributor

desa commented Apr 28, 2020

@mattnotmitt just reaching out with regards to

I'm also happy to add the required stuff to Chronograf, I'd just need a pointer to what needs updating!

Is this something that you'd still be interested in doing? I'd be happy to offer an outline of the steps involved.

@mattnotmitt
Copy link
Contributor Author

mattnotmitt commented Apr 28, 2020

@mattnotmitt just reaching out with regards to
...
Is this something that you'd still be interested in doing? I'd be happy to offer an outline of the steps involved.

Hi @desa, yeah I'd still be happy to work on that!
Also if you know anyone on the influx v2 team who could give me a guide to reimplement this one for that, I'd be happy to do that too!

Copy link
Contributor

@docmerlin docmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVED!

@docmerlin docmerlin merged commit 7e29533 into influxdata:master May 5, 2020
@mattnotmitt mattnotmitt deleted the features/discord-alert-handler branch May 5, 2020 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants