Skip to main content

AdapterMetricsSampleDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Resource-utilisation snapshot pushed periodically from an adapter process to the communication controller. The controller keeps the most recent samples in an in-memory ring buffer so the UI can render live CPU / memory sparklines.

public record AdapterMetricsSampleDto : IEquatable<AdapterMetricsSampleDto>

Inheritance Object → AdapterMetricsSampleDto
Implements IEquatable<AdapterMetricsSampleDto>

Properties​

AdapterRtEntityId​

Identifier of the reporting adapter.

public RtEntityId AdapterRtEntityId { get; set; }

Property Value​

RtEntityId

Timestamp​

UTC timestamp the sample was captured at on the adapter side.

public DateTime Timestamp { get; set; }

Property Value​

DateTime

CpuPercent​

CPU utilisation in percent (0..100), normalised across all available cores — 100% means every core was fully saturated during the sampling window.

public double CpuPercent { get; set; }

Property Value​

Double

WorkingSetBytes​

Working set of the adapter process in bytes (Process.WorkingSet64).

public long WorkingSetBytes { get; set; }

Property Value​

Int64

GcHeapBytes​

Managed-heap size reported by the GC in bytes (GC.GetTotalMemory(false)).

public long GcHeapBytes { get; set; }

Property Value​

Int64

ThreadCount​

Total thread count of the adapter process.

public int ThreadCount { get; set; }

Property Value​

Int32

Constructors​

AdapterMetricsSampleDto()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public AdapterMetricsSampleDto()