https://github.com/expediadotcom/haystack-alerting
https://github.com/expediadotcom/haystack-alerting
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/expediadotcom/haystack-alerting
- Owner: ExpediaDotCom
- License: apache-2.0
- Created: 2018-11-28T09:51:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T11:31:55.000Z (about 7 years ago)
- Last Synced: 2025-01-14T17:30:42.407Z (over 1 year ago)
- Language: Scala
- Size: 232 KB
- Stars: 3
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ExpediaDotCom/haystack-alerting)
[](https://github.com/ExpediaDotCom/haystack/blob/master/LICENSE)
# haystack-alerting
This repo contains the haystack integration with [adaptive-alerting](https://github.com/ExpediaDotCom/adaptive-alerting) and [alert-manager](https://github.com/ExpediaDotCom/alert-manager) to
store anomalies generated by adaptive-alerting and provide an interface for subscription management for alerting.
## Building
####
Use the following to clone the repo
* git clone git@github.com:ExpediaDotCom/haystack-alerting.git .
#### Prerequisite:
* Make sure you have Java 1.8
* Make sure you have maven 3.3.9 or higher
* Make sure you have docker 1.13 or higher
Note : For mac users you can download docker for mac to set you up for the last two steps.
#### Build
For a full build, including unit tests and integration tests, docker image build, you can run -
```
make all
```
#### Integration Test
#### Prerequisite:
1. Install docker using Docker Tools or native docker if on mac
2. Verify if docker-compose is installed by running following command else install it.
```
docker-compose
```
3. Add the following entries in `/etc/hosts` :
```
127.0.0.1 kafkasvc
127.0.0.1 wiremock
127.0.0.1 elasticsearch
127.0.0.1 zookeeper
```
4. Build storage backend to run integration test for `anomaly-store`
```
make build_storage_backends
```
#### Running Integration Tests:
Run the build and integration tests for individual components with
```
make alert-api
```
&&
```
make anomaly_store
```