Streaming Job that converts a group of raw spans into traces.
Hypertrace Ingestion Pipeline |
hypertrace-oc-collector
collects spans from tracers like Jaeger, Zipkin and writes them to kafka which will be then converted to raw-spans
by span-normalizer Job. raw-spans-grouper
fetches this raw-spans
from kafka and creates structured traces out of it based on the trace id and the parent span id in the spans.
Raw spans grouper uses gradlew to compile/install/distribute. Gradle wrapper is already part of the source code. To build Raw spans grouper, run:
./gradlew dockerBuildImages
Run ./gradlew test
to execute unit tests.
You can test the image you built after modification by running docker-compose or helm setup.
Change the tag for raw-spans-grouper
from :main
to :test
in docker-compose file like this.
raw-spans-grouper:
image: hypertrace/raw-spans-grouper:test
container_name: raw-spans-grouper
...
and then run docker-compose up
to test the setup.