pub struct PerformanceCharts {
pub cpu_datapoints: Vec<Datapoint>,
pub heap_memory_datapoints: Vec<Datapoint>,
pub non_heap_memory_datapoints: Vec<Datapoint>,
}Expand description
GET /data/api/v1/systemPerformance/charts — historic datapoints.
The WIRE shape nests the memory series:
{cpuChartDatapoints: […], memoryChartDatapoints: {heapMemoryDatapoints: […], nonHeapMemoryDatapoints: […]}}
(openapi + live capture). The model is FLAT with serde renames onto
the gateway-native series names, so deserialization accepts the
nested wire body (a manual impl walks memoryChartDatapoints) while
serialization stays a flat, agent-friendly camelCase shape.
Fields§
§cpu_datapoints: Vec<Datapoint>CPU percent per sample.
heap_memory_datapoints: Vec<Datapoint>Heap memory bytes per sample.
non_heap_memory_datapoints: Vec<Datapoint>Non-heap memory bytes per sample.
Trait Implementations§
Source§impl Clone for PerformanceCharts
impl Clone for PerformanceCharts
Source§fn clone(&self) -> PerformanceCharts
fn clone(&self) -> PerformanceCharts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PerformanceCharts
impl Debug for PerformanceCharts
Source§impl<'de> Deserialize<'de> for PerformanceCharts
impl<'de> Deserialize<'de> for PerformanceCharts
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PerformanceCharts
impl PartialEq for PerformanceCharts
Source§impl Serialize for PerformanceCharts
impl Serialize for PerformanceCharts
impl StructuralPartialEq for PerformanceCharts
Auto Trait Implementations§
impl Freeze for PerformanceCharts
impl RefUnwindSafe for PerformanceCharts
impl Send for PerformanceCharts
impl Sync for PerformanceCharts
impl Unpin for PerformanceCharts
impl UnsafeUnpin for PerformanceCharts
impl UnwindSafe for PerformanceCharts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more