Skip to content

Commit

Permalink
Merge pull request #102 from nichosta/v3
Browse files Browse the repository at this point in the history
Work on data flow sankey diagram
  • Loading branch information
syifan committed May 9, 2024
2 parents f6c5150 + aefb50e commit 674be9a
Show file tree
Hide file tree
Showing 5 changed files with 502 additions and 2 deletions.
2 changes: 1 addition & 1 deletion analysis/perf_analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (b *PerfAnalyzer) GetCurrentTraffic(comp string) string {
defer b.mu.Unlock()

for _, data := range b.portDataTable {
if strings.Contains(data.Where, comp) {
if strings.Contains(data.Where, comp) || strings.Contains(data.WhereRemote, comp) {
entry := map[string]string{
"start": fmt.Sprintf("%.9f", data.Start),
"end": fmt.Sprintf("%.9f", data.End),
Expand Down
2 changes: 2 additions & 0 deletions monitoring/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"preview": "vite preview"
},
"devDependencies": {
"@types/d3-sankey": "^0.12.4",
"d3-sankey": "^0.12.3",
"sass": "^1.62.1",
"typescript": "^5.0.2",
"vite": "^4.5.3"
Expand Down
Loading

0 comments on commit 674be9a

Please sign in to comment.