For our group, we picked the Train-Ticket Microservice OSS Project.
Team Leader: Eric Jaroszewski
Team Members: Evan Berryman
,Yangzekun Gao
,Zhengyan Hu
,Maiqi Hou
Make sure you have deployed Train-ticket and Jaeger before you run this executable file
Our group provides a Jaeger Tracing.exe
to help users to trace each microservices and comprehensive a completed local file.
If the executable file has some problem, please open the Python Program(in the logfile) and run app.py
Once you open the executable file, it allows users to enter an IP address and a port, which is the IP and port of your developed Jaeger.
We also offer two options for tracing mode: 5m
-traceing recently 5 minutes data and ALL
-tracing data within 2 days.
After you enter the above information, you should access http://localhost:5000 in your browser. If it shows a "Hello, World" page, this means that Jaeger Tracing.exe
has run successfully and it can trace microservices data now.
Now you can access using http://localhost:5000/logging and it is your tracing file. All of our Grafana data sources get their data from this URL.
Make sure you have run Jaeger Tracing.exe
or run app.py
in the logfile folder first
- Prerequisites
- Grafana: higher than 7.0.0 (For my Grafana version is 9.3.6)
- NodeJS: >= 14 (16 Recommanded for Ubuntu 22.04 LTS)
- yarn
- If you NodeJS version lower than 14, you many follow next command:
- Remove nodejs that you have already installed
sudo apt-get remove nodejs
- add Node.js v16.x repositories:
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
- Re-install node.js
sudo apt-get install nodejs
Once you have done above steps, you need you to locate the Grafana.ini
file. The default path on ubuntu: /etc/grafana/Grafana.ini
In the Grafana.ini file make sure following variable has been modified
1. Find plugins paths setting:
[paths]
plugins = /var/lib/grafana/plugins
2. Find plugin_loading_unsigned_plugins
allow_loading_unsigned_plugins = train-ticket-plugin
3. Setting app mode to development
app_mode = development
That is All steps, now you can restart the Grafana server and check your plugin.setting->configuration->Plugins
sudo systemctl restart grafana-server
Download the train-ticket-plugin folder, using VS code open it, and call the terminal to run these commands.
-
Install dependencies
yarn install
-
Build plugin in development mode or run in watch mode
yarn watch
Go to the Grafana platform, selecting our plugin. Here we go, join our plugin.
Renderings:
When there is no dynamic data capture
When there is a small amount of data captured
When a large amount of data is captured
We provide two video demo DEMO