mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-19 17:01:07 +00:00
Add per-chain aggregate software/hardware telemetry (#464)
* Add per-chain aggregate software/hardware telemetry * Fix tests' compilation * Add extra comments for the `Counter` struct * Replace the boolean argument with an enum * Rename `replace_hwbench` to `update_hwbench` * Move `Counter` into a separate file * Move `ChainStatsCollator` to `chain_stats.rs` * Fix incorrect key on the unknown table * Improve types for the stats component; get rid of `any`
This commit is contained in:
@@ -28,6 +28,7 @@ import listIcon from '../../icons/list-alt-regular.svg';
|
||||
import worldIcon from '../../icons/location.svg';
|
||||
import settingsIcon from '../../icons/settings.svg';
|
||||
import consensusIcon from '../../icons/cube-alt.svg';
|
||||
import statsIcon from '../../icons/graph.svg';
|
||||
|
||||
import './Header.css';
|
||||
|
||||
@@ -90,6 +91,14 @@ export class Header extends React.Component<Header.Props, {}> {
|
||||
current={currentTab}
|
||||
setDisplay={setDisplay}
|
||||
/>
|
||||
<Tab
|
||||
icon={statsIcon}
|
||||
label="Stats"
|
||||
display="stats"
|
||||
tab="stats"
|
||||
current={currentTab}
|
||||
setDisplay={setDisplay}
|
||||
/>
|
||||
<Tab
|
||||
icon={settingsIcon}
|
||||
label="Settings"
|
||||
|
||||
Reference in New Issue
Block a user