pfnet-research / alertmanager-to-github Goto Github PK
View Code? Open in Web Editor NEWThis receives webhook requests from Alertmanager and creates GitHub issues.
License: Apache License 2.0
This receives webhook requests from Alertmanager and creates GitHub issues.
License: Apache License 2.0
When raising issues via Alertmanager, we don't wish to automatically close them until they've had manual intervention - this allows us to investigate one off events which then cease from.
This'd be great to add as a feature on either the alert labels individually, or just as a central config option to prevent the close functionality.
It'd be useful to expose prometheus metrics around communication with the Github API, e.g 4xx/5xx errors.
That way we can alert on any issues which may prevent issues being opened.
I want to use this tool to au-create the issue in my repo. but my env is private, and we provide a proxy to access the internet. so I am not sure if I can configure a proxy with this tool to call my github repo. thanks.
There's existing functionality to setup multiple receivers, using query parameters to determine the organisationa and repo.
However, as alertmanager doesn't allow templating the URL or body of webhook receivers, it'd be useful to able to route alerts dynamically based on labels set on the alert, e.g. org
, repo
(repo being the more useful of the two).
When testing this service we discovered a bug on Github where issues with newlines in titles do not get propagated to Slack when using the official Github Slack application (i.e. /github subscribe <org>/<repo> issues
).
We've raised this with Github support, but this should be fixed in the library to prevent confusion - this is a result of the template creating a trailing newline in the issue, for example we were seeing this title
in the request when using the default template:
"title":"[ALERT] alertname:TicketAlertTestV6 monitor:prometheus repo:data-platform-documentation severity:ticket system:system-monitoring \n"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.