Git Product home page Git Product logo

bachelor-tramodana's Introduction

Tramodana

Trace Modeling and Analysis - eliminate common maintenance issues by providing the ability to visualize and troubleshoot a distributed system.

Description

Proof of concept to demonstrate visualization of a backend system out of trace data.

Architecture

tramodana-architecture

Connector

Import data from a target system to Kafka and serves as the layer between Cassandra and Kafka. Based on Alpakka and reactive streams.

Builder

Build sets of suggested models from traces. Based on Kafka-streams API.

Modeler

Convert SpanTrees into a BPMN 2.0 flowchart diagram in Bpmn format. Based on Kafka-streams API and Camunda.

Query

Provide opportunity to query specific topics in Kafka via HTTP. Based on Kafka-streams API and akka-http

How to use it?

REQUIREMENTS:

1. Generate example trace data

  1. docker-compose -f jaeger.yml up -d
  2. Check status docker-compose -f jaeger.yml ps
    Query, Agent and Collector containers should be UP
  3. Build project TraceGenApp2 ./mvnw clean package
  4. Run one java -jar one/target/one.jar
  5. Run two java -jar two/target/two.jar
  6. Several times curl http://localhost:10081/buybook
  7. Check localhost:16686

2. Run Tramodana

  1. Build project ./gradlew clean installDist
  2. Run kafka-cluster, Builder and Modeler docker-compose up -d
  3. Run connector to import traces docker-compose -f connector_tramodana.yml up
  4. Open localhost:3030
  5. Find topic spans-json-original (all imported data in json format)
  6. Find topic root-operation-bpmn-xml (camunda diagram)
  7. Run Query module

Cassandra data samples

Cassandra docker images docs. Samples contains snapshot of cassandra db, with 3 traces from Jorge's project

  1. Exec: docker-compose -f jaeger.yml exec tracing-jaeger-cassandra cqlsh
  2. Query DB with:
DESCRIBE KEYSPACES;
USE jaeger_v1_dc1;
DESCRIBE TABLES;
SELECT * FROM traces;

Connector

Check connector documentation and db entities

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.