MetricsViewModel
open class MetricsViewModel(val destNum: Int, dispatchers: CoroutineDispatchers, meshLogRepository: MeshLogRepository, serviceRepository: ServiceRepository, nodeRepository: NodeRepository, tracerouteSnapshotRepository: TracerouteSnapshotRepository, nodeRequestActions: NodeRequestActions, alertManager: AlertManager, getNodeDetailsUseCase: GetNodeDetailsUseCase, fileService: FileService) : ViewModel(source)
ViewModel responsible for managing and graphing metrics (telemetry, signal strength, paxcount) for a specific node.
Constructors
Link copied to clipboard
constructor(destNum: Int, dispatchers: CoroutineDispatchers, meshLogRepository: MeshLogRepository, serviceRepository: ServiceRepository, nodeRepository: NodeRepository, tracerouteSnapshotRepository: TracerouteSnapshotRepository, nodeRequestActions: NodeRequestActions, alertManager: AlertManager, getNodeDetailsUseCase: GetNodeDetailsUseCase, fileService: FileService)
Properties
Link copied to clipboard
Returns the list of time frames that are actually available based on the oldest data point.
Link copied to clipboard
Exposes graphing data specifically for the filtered environment metrics.
Link copied to clipboard
Exposes filtered and unit-converted environment metrics for the UI.
Link copied to clipboard
Exposes filtered and decoded pax metrics for the UI.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun showTracerouteDetail(annotatedMessage: AnnotatedString, requestId: Int, responseLogUuid: String, overlay: TracerouteOverlay?, onViewOnMap: (Int, String) -> Unit)
Link copied to clipboard