Skip to content

Commit

Permalink
Fix peer and database size metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Apr 22, 2024
1 parent 9a60d60 commit 6d39c5c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion node-dashboard
6 changes: 3 additions & 3 deletions pkg/dashboard/frontend/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/dashboard/static/css/main.17d3dd65.css",
"main.js": "/dashboard/static/js/main.8ff3b600.js",
"main.js": "/dashboard/static/js/main.741b55ba.js",
"static/js/751.7b6352ab.chunk.js": "/dashboard/static/js/751.7b6352ab.chunk.js",
"static/js/626.a6cf14e7.chunk.js": "/dashboard/static/js/626.a6cf14e7.chunk.js",
"static/js/733.f3d21da9.chunk.js": "/dashboard/static/js/733.f3d21da9.chunk.js",
Expand Down Expand Up @@ -54,10 +54,10 @@
"static/media/health-bad.svg": "/dashboard/static/media/health-bad.f6b3a99f588b20aef147dd8cada3356f.svg",
"static/media/health-good.svg": "/dashboard/static/media/health-good.c06d31b2b699112b161f07c13711dc20.svg",
"main.17d3dd65.css.map": "/dashboard/static/css/main.17d3dd65.css.map",
"main.8ff3b600.js.map": "/dashboard/static/js/main.8ff3b600.js.map"
"main.741b55ba.js.map": "/dashboard/static/js/main.741b55ba.js.map"
},
"entrypoints": [
"static/css/main.17d3dd65.css",
"static/js/main.8ff3b600.js"
"static/js/main.741b55ba.js"
]
}
2 changes: 1 addition & 1 deletion pkg/dashboard/frontend/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="msapplication-TileColor" content="#ffffff"><meta name="theme-color" content="#ffffff"><meta name="author" content="Martyn Janes"><link rel="shortcut icon" href="/dashboard/branding/iota-core/favicon/favicon-32x32.png"><link rel="apple-touch-icon" sizes="180x180" href="/dashboard/branding/iota-core/favicon/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/dashboard/branding/iota-core/favicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/dashboard/branding/iota-core/favicon/favicon-16x16.png"><link rel="manifest" href="/dashboard/branding/iota-core/favicon/site.webmanifest"><link rel="mask-icon" href="/dashboard/branding/iota-core/favicon/safari-pinned-tab.svg" color="#485776"><title>Node Dashboard</title><meta name="keywords" content="IOTA,Node,Dashboard,iota-core"/><meta name="description" content="IOTA Node Dashboard iota-core"/><script defer="defer" src="/dashboard/static/js/main.8ff3b600.js"></script><link href="/dashboard/static/css/main.17d3dd65.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="msapplication-TileColor" content="#ffffff"><meta name="theme-color" content="#ffffff"><meta name="author" content="Martyn Janes"><link rel="shortcut icon" href="/dashboard/branding/iota-core/favicon/favicon-32x32.png"><link rel="apple-touch-icon" sizes="180x180" href="/dashboard/branding/iota-core/favicon/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/dashboard/branding/iota-core/favicon/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/dashboard/branding/iota-core/favicon/favicon-16x16.png"><link rel="manifest" href="/dashboard/branding/iota-core/favicon/site.webmanifest"><link rel="mask-icon" href="/dashboard/branding/iota-core/favicon/safari-pinned-tab.svg" color="#485776"><title>Node Dashboard</title><meta name="keywords" content="IOTA,Node,Dashboard,iota-core"/><meta name="description" content="IOTA Node Dashboard iota-core"/><script defer="defer" src="/dashboard/static/js/main.741b55ba.js"></script><link href="/dashboard/static/css/main.17d3dd65.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/dashboard/frontend/static/js/main.741b55ba.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkg/dashboard/frontend/static/js/main.8ff3b600.js.map

This file was deleted.

1 change: 0 additions & 1 deletion pkg/dashboard/livefeed.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ func (d *Dashboard) runGossipMetricsFeed() {
}

func (d *Dashboard) runPeerMetricsFeed() {

if err := d.daemon.BackgroundWorker("PeerMetrics Feed", func(ctx context.Context) {
ticker := timeutil.NewTicker(func() {
// skip if no client is connected
Expand Down

0 comments on commit 6d39c5c

Please sign in to comment.