Giter Club home page Giter Club logo

service_communication_map's People

Contributors

marcodenisi avatar yoosiba avatar youssufradi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

service_communication_map's Issues

add ID based connection generation between services

Assume that when service A calls Service B, there is at least one unique ID in logs from service A and service B that allows to deduct that there is communication between A and B. Use that information to connect corresponding services in generated map.

Process raw data into graph representation

Given raw input data (log lines) process them into a graph

  • consider lots of lines -> streaming API
  • parse log line to obtain timestamp
  • parse log line to obtain service name
  • map to graph data structure
  • consider mapping to existing graph library, e.g. https://jgrapht.org/

Order of nodes should reflect time based 1st appearance

For a specific flow, graph nodes should be shown in order of in which participate in a give flow. So graph layout algorithm should take first appearance (time based) of the node as the input, i.e. chronological order should be preserved.

For example wen flow was 1->2, 2->3, 2->4, 4->5
Order of nodes (either left to right, or top down, or whatever arbitrary direction) should be 1, 2, 3 and 4, 5, e.g.

1 -> 2 -> 3 
      \-> 4 -> 5

Read Log file(s)

Need something that will read data input:

  • allow to specify input log files location
  • read one file
  • read multiple files
  • support only log per single line (no multi line parsing)
  • assume larger files, streaming lines (or similar) solution would be needed
  • have a way to pass read raw lines for further processing by other components

Present graph in a visual way

Given graph structure represent it in visual way.

Potential candidates, PlantUML, Vaadin, Processing, etc.

This is first iteration. Start small. It is ok to change underlying presentation layer as needed.

don't check in generated Vaadin code

Currently all code generated by Vaadin is checked in.

  • remove checked in code
  • add git ignore rules to avoid generated code from being checked in

extract IDs from log message

log messages can contain up to multiple different IDs, extract them all to be able to derive relationship between them

affects #23

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.