https://github.com/expediadotcom/haystack-traces
Components that handle spans, buffers them, writes to ElasticSearch/Cassandra, and provides API to access them .
https://github.com/expediadotcom/haystack-traces
cassandra distributed-tracing elasticsearch kafka opentracing
Last synced: 8 months ago
JSON representation
Components that handle spans, buffers them, writes to ElasticSearch/Cassandra, and provides API to access them .
- Host: GitHub
- URL: https://github.com/expediadotcom/haystack-traces
- Owner: ExpediaDotCom
- License: apache-2.0
- Created: 2017-08-17T06:46:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T23:36:03.000Z (over 3 years ago)
- Last Synced: 2025-03-26T17:21:25.765Z (about 1 year ago)
- Topics: cassandra, distributed-tracing, elasticsearch, kafka, opentracing
- Language: Scala
- Homepage:
- Size: 1.67 MB
- Stars: 9
- Watchers: 17
- Forks: 10
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/ExpediaDotCom/haystack-traces)
[](https://github.com/ExpediaDotCom/haystack/blob/master/LICENSE)
# haystack-traces
This repo contains the haystack components that build the traces, store them in Cassandra and ElasticSearch(for indexing) and provide a grpc endpoint for accessing them
## Building
Since this repo contains haystack-idl as the submodule, so use the following to clone the repo
* git clone --recursive git@github.com:ExpediaDotCom/haystack-traces.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
```
Run the build and integration tests for individual components with
```
make indexer
```
&&
```
make reader
```