kopia lustrzana https://github.com/bugout-dev/moonstream
Added crawlers status
rodzic
9911cbaaa4
commit
86c5849a4a
|
@ -91,6 +91,19 @@ const Status = () => {
|
|||
|
||||
<br />
|
||||
|
||||
<StatusRow title="Crawlers server" cache={crawlersStatusCache}>
|
||||
<Text
|
||||
color={
|
||||
moonstreamCrawlersStatus?.status.body.status == "ok"
|
||||
? healthyStatusColor
|
||||
: downStatusColor
|
||||
}
|
||||
>
|
||||
{moonstreamCrawlersStatus?.status.body.status == "ok"
|
||||
? healthyStatusText
|
||||
: downStatusText}
|
||||
</Text>
|
||||
</StatusRow>
|
||||
<StatusRow title="Txpool latest record ts" cache={crawlersStatusCache}>
|
||||
<Text>
|
||||
{crawlersStatusCache?.data?.ethereum_txpool_timestamp
|
||||
|
|
Ładowanie…
Reference in New Issue