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,
|
rawCpuMetrics,
|
||||||
'cpu',
|
'cpu',
|
||||||
),
|
),
|
||||||
ppsIn: timeSeriesSerializer(
|
|
||||||
rawNetworkMetrics,
|
|
||||||
'network.0.pps.in',
|
|
||||||
),
|
|
||||||
ppsOut: timeSeriesSerializer(
|
|
||||||
rawNetworkMetrics,
|
|
||||||
'network.0.pps.out',
|
|
||||||
),
|
|
||||||
bandwidthIn: timeSeriesSerializer(
|
bandwidthIn: timeSeriesSerializer(
|
||||||
rawNetworkMetrics,
|
rawNetworkMetrics,
|
||||||
'network.0.bandwidth.in',
|
'network.0.bandwidth.in',
|
||||||
|
|
|
@ -14,8 +14,6 @@ class ServerMetrics {
|
||||||
ServerMetrics({
|
ServerMetrics({
|
||||||
required this.stepsInSecond,
|
required this.stepsInSecond,
|
||||||
required this.cpu,
|
required this.cpu,
|
||||||
required this.ppsIn,
|
|
||||||
required this.ppsOut,
|
|
||||||
required this.bandwidthIn,
|
required this.bandwidthIn,
|
||||||
required this.bandwidthOut,
|
required this.bandwidthOut,
|
||||||
required this.start,
|
required this.start,
|
||||||
|
@ -24,8 +22,6 @@ class ServerMetrics {
|
||||||
|
|
||||||
final num stepsInSecond;
|
final num stepsInSecond;
|
||||||
final List<TimeSeriesData> cpu;
|
final List<TimeSeriesData> cpu;
|
||||||
final List<TimeSeriesData> ppsIn;
|
|
||||||
final List<TimeSeriesData> ppsOut;
|
|
||||||
final List<TimeSeriesData> bandwidthIn;
|
final List<TimeSeriesData> bandwidthIn;
|
||||||
final List<TimeSeriesData> bandwidthOut;
|
final List<TimeSeriesData> bandwidthOut;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue