Server Health

Server Health over six hours

Props

Name

Type

Default Value

Required

Description

rows

IServerHealthRow[]

[]

yes

data for each bar row

startTime

number (unix timestamp in seconds)

-

yes

unix timestamp representing start time. can use moment().unix()

endTime

number(unix timestamp in seconds)

-

yes

unix timestamp representing start time. can use moment().unix()

interval

number

-

yes

interval between each timepoint

Usage Example

Data Structure

Key

Type

Required

Description

name

string

yes

name of row

severity

string

yes

to describe color/severity status in front of name

data

number[][]

yes

an array of array of unix timestamps indicating when server was down

Last updated

Was this helpful?