Skip to content

Instantly share code, notes, and snippets.

@ashkan18
Created March 18, 2016 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashkan18/567a06f97e1fdd59d5aa to your computer and use it in GitHub Desktop.
Save ashkan18/567a06f97e1fdd59d5aa to your computer and use it in GitHub Desktop.
# Monitoring cards
## Partner Artsit Bio
Volt changes will go live in next deploy. Latest [PR](https://github.com/artsy/volt/pull/1692).
## Grace End At Updates
This is already live and need monitoring.
# FF
## Kafka
### Gravity
Gravity changes are in `wavelength` branch of my fork here:
https://github.com/ashkan18/gravity/tree/wavelength
All you need to do is to do a
```
docker-compose build
```
which will create Kafka container and then just do a
```
docker-compose up
```
In latest commit I've switched to Avro which will break working with Wavelength Phoenix app, if you want to see a working example switch gravity to `0d9b44d61d64eb85783c58e0ad7b509ee7d92141` on Gravity.
### Wavelength
Wavelength is the phoenix app that subscribes to `gravity-changes` topic of Kafka and broadcast the events internally to websockets connected to it.
https://github.com/ashkan18/wavelength
For setting it up, follow the README
## CircleCi
I started getting Gravity builds working on circleCi, tricky part so far has been setting up Solr and proper mongoid.yml but as I'm writing this it seems to be working fine.
So far the changes I've ended up doing was:
- Add `circle.yml` and setup Solr in there
- Add a new `mongoid.ci.yml` which will override `mongoid.yml` created by CircleCi, this part I don't like and I'm pretty sure there are better ways to do this.
My changes are in this branch:
https://github.com/ashkan18/gravity/tree/circle-ci-test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment