Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Streaming Job that converts a group of raw spans into traces.

License

Notifications You must be signed in to change notification settings

hypertrace/raw-spans-grouper

Repository files navigation

Raw Spans Grouper

Streaming Job that converts a group of raw spans into traces.

Description

space-1.jpg
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.

Building locally

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

Testing

Running unit tests

Run ./gradlew test to execute unit tests.

Testing image

You can test the image you built after modification by running docker-compose or helm setup.

docker-compose

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.

Docker Image Source:

About

Streaming Job that converts a group of raw spans into traces.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published