Ops.Live
Observability
Live Ops dashboard channel. Join Monitor for a snapshot; receive Replaced / EventArrived downs. Mount via Ops.Plugin.
Types
Topic
type Topic = MonitorUp
type Up = RefreshDown
type Down
= Replaced Snapshot
| EventArrived EventReply
type alias Reply =
SnapshotJobCount
type alias JobCount =
{ state : String
, count : Int
}JobRow
type alias JobRow =
{ id : Int
, queue : String
, worker : String
, state : String
, attempt : Int
, maxAttempts : Int
, scheduledAt : Int
, errors : String
}Event
type alias Event =
{ event : List String
, measurements : List (String, String)
, metadata : List (String, String)
, atMs : Int
}Snapshot
type alias Snapshot =
{ node : String
, peers : List String
, jobCounts : List JobCount
, events : List Event
, recent : List JobRow
}Values
channel
channel : Channel Topic Up Down Reply State Msg