Back to Uno

Hot Reload Telemetry Events

src/Uno.UI.RemoteControl.Server.Processors/Telemetry.md

6.6-release-branch-cut3.6 KB
Original Source

Hot Reload Telemetry Events

This document summarizes all Hot Reload telemetry events emitted by the server (ServerHotReloadProcessor.Notify).

Event name prefix: uno/dev-server/hot-reload

Event NameMain Properties (with hotreload/ prefix)Measurements (with hotreload/ prefix)
notify-start [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-disabled [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-initializing [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-ready [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-processing-files [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-completed [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-no-changes [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-failed [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-rude-edit [src]Event, Source, PreviousStateFileCount, DurationMs (optional)
notify-complete [src]Event, Source, PreviousState, NewState, HasCurrentOperationFileCount, DurationMs (optional)
notify-error [src]Event, Source, PreviousState, NewState, HasCurrentOperation, ErrorMessage, ErrorTypeFileCount, DurationMs (optional)

Property Value Examples

String Properties

  • Event: "ProcessingFiles", "Completed", ...
  • Source: "IDE", "DevServer", ...
  • PreviousState: "Ready", "Disabled", "Initializing", "Processing"
  • NewState: "Ready", "Disabled", "Initializing", "Processing"
  • HasCurrentOperation
  • ErrorMessage: "Compilation failed", "Syntax error"
  • ErrorType: "CompilationException", "SyntaxException"

Property Details

  • Event: The type of event that triggered the notification
  • Source: The source of the event
  • PreviousState: The state before the operation
  • NewState: The state after the operation (only present in notify-complete and notify-error)
  • HasCurrentOperation: Indicates if a Hot Reload operation is in progress (only present in notify-complete and notify-error)
  • FileCount: Number of files affected by the operation (only present if there is a current operation)
  • DurationMs: Duration of the operation in milliseconds (only present if the operation has completed)
  • ErrorMessage/ErrorType: Only present on notify-error events

All events are tracked server-side in Notify().