mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-23 09:16:54 +00:00
chore: Remove unneeded metrics fields
PPS metrics aren't used in our charts
This commit is contained in:
parent
a7cbde663e
commit
e20063a9ad
|
@ -555,14 +555,6 @@ class HetznerApi extends ServerProviderApi with VolumeProviderApi {
|
|||
rawCpuMetrics,
|
||||
'cpu',
|
||||
),
|
||||
ppsIn: timeSeriesSerializer(
|
||||
rawNetworkMetrics,
|
||||
'network.0.pps.in',
|
||||
),
|
||||
ppsOut: timeSeriesSerializer(
|
||||
rawNetworkMetrics,
|
||||
'network.0.pps.out',
|
||||
),
|
||||
bandwidthIn: timeSeriesSerializer(
|
||||
rawNetworkMetrics,
|
||||
'network.0.bandwidth.in',
|
||||
|
|
|
@ -14,8 +14,6 @@ class ServerMetrics {
|
|||
ServerMetrics({
|
||||
required this.stepsInSecond,
|
||||
required this.cpu,
|
||||
required this.ppsIn,
|
||||
required this.ppsOut,
|
||||
required this.bandwidthIn,
|
||||
required this.bandwidthOut,
|
||||
required this.start,
|
||||
|
@ -24,8 +22,6 @@ class ServerMetrics {
|
|||
|
||||
final num stepsInSecond;
|
||||
final List<TimeSeriesData> cpu;
|
||||
final List<TimeSeriesData> ppsIn;
|
||||
final List<TimeSeriesData> ppsOut;
|
||||
final List<TimeSeriesData> bandwidthIn;
|
||||
final List<TimeSeriesData> bandwidthOut;
|
||||
|
||||
|
|
Loading…
Reference in a new issue