Comments (11)
+1 on that. Fantastic idea. @adejanovski what do you think the scope of something like this might be?
from cassandra-reaper.
That would be nice indeed.
The way I see it, we could trigger calling a url through HTTP on different events (repair started, failed, finished) to have generic push of events. Callbacks should be registered through the UI and stored in the database.
Having observers through pluggable classes would require users to recompile Reaper which we might not want.
Another way to make it very generic would be to allow people to write Groovy scripts to register callbacks.
And of course we can maintain a set of specific triggers in the Reaper codebase to ease integration with Slack, etc...
@rustyrazorblade @zznate : thoughts ?
from cassandra-reaper.
URL callbacks sound great. Better than what I had suggested. +1 from me
On Fri, Oct 28, 2016 at 3:32 AM Alexander Dejanovski <
[email protected]> wrote:
That would be nice indeed.
The way I see it, we could trigger calling a url through HTTP on different
events (repair started, failed, finished) to have generic push of events.
Callbacks should be registered through the UI and stored in the database.Having observers through pluggable classes would require users to
recompile Reaper which we might not want.Another way to make it very generic would be to allow people to write
Groovy scripts to register callbacks.And of course we can maintain a set of specific triggers in the Reaper
codebase to ease integration with Slack, etc...@rustyrazorblade https://github.com/rustyrazorblade @zznate
https://github.com/zznate : thoughts ?—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
#11 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUn0A3ZUWhz1VY4O0aNN_LuIy3BuotUks5q4c8_gaJpZM4KgPGm
.
from cassandra-reaper.
How about we design an interface for event handling and do an implementation as HTTP callbacks? It solves most people's needs but also give an escape hatch for folks that want something really simple, like an email when things fail. See #79
from cassandra-reaper.
👍
from cassandra-reaper.
@michaelsembwever
Is this email feature already developed in some other branch or is it in pipeline?
from cassandra-reaper.
It's only been discussed here. Are you interested in working on it @ritu0407 ?
from cassandra-reaper.
@rustyrazorblade
This is our first attempt to use reaper in the project. Right now we don't have any plans to enhance the tool and as long as we have a way to check the logs to know if it's working or not, that's good enough.
Thanks for developing this tool !
from cassandra-reaper.
When we start working on it, we'll update this issue and the work will be in a branch here. Would you be able to help us test it and give feedback along its development?
from cassandra-reaper.
Sure, we can test it.
from cassandra-reaper.
I think the implementation here has overshadowed the importance of the actual feature. Having configuration options for simple shell scripts for start, end, failure of repair runs is important for a set-it-and-forget-it tool like this (what a former colleague calls the "Ronco toolsuite"). Reaper runs generally once a week for most orgs and works well. Until one week you have a repair that doesn't finish for some reason and then it runs for 21 days straight or is erroring out silently because no one looks at it. Simple shell script hooks would go a long way here. People can hook into whatever notification systems they want from there.
from cassandra-reaper.
Related Issues (20)
- [Feature Request] Enable different repair types within the same schedule.
- Make TLS connection available to management-api
- webui login not working in docker HOT 3
- Cassandra Reaper strips dashes and underscore from metrics tags HOT 3
- Incorrect values for millisSinceLastRepairForSchedule in prometheusMetrics HOT 4
- Investigate why CI breaks with python 3.12
- Autoscheduler and incremental repairs
- upgrade dropwizard.version 2.1.0 or higher to fix CVEs
- NPE when listing repairs HOT 4
- Spring vulnerability HOT 1
- Disallow a full/incremental to start if another one is running HOT 3
- Builds are broken due to a missing ruby dependency
- Typo/spelling issues
- web UI can not login when Authentication is activate HOT 3
- API REST repair_run segmentCountPerNode HOT 2
- (Re-)Deployment fails with "com.datastax.driver.core.exceptions.AlreadyExistsException: Table reaper_db.running_repairs already exists" exception HOT 5
- Fix testSSLHotReload so it can be run locally
- Change Request: Build RPM Packages with SHA256 digests enabled.
- Failed creating a merkle tree for [repair #c0c157f0-e14a-11ee-b320-bdc4e5fd08de on reaper_current/running_repairs, [(-8896895687978311387,-8888847627918162438], (-881535601694419919,-867088063190097011], (1356177826732174702,1357186491253880239], (6263469266031338450,6279809997892748801]]], /<IP>:7000 HOT 3
- Add an option to persist the memory storage data using a local store
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra-reaper.