Skip to content

Commit

Permalink
add service on off description
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceofr committed Mar 30, 2022
1 parent 4d353c7 commit 97dfbf7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,33 @@
- store results of solana ping
- provide frequently datapoint for Solan Explorer
- active monitoring confirmation loss and send an alert to slack
## Server Setup
### PingService
This is similar to "solana ping" tool in solana tool but can do concurrent rpc query.
It send transactions to rpc endpoint and wait for transactions is confirmed.
Use `NoPingService: false` to turn on. The default is On.

### RetensionService
Use `RetensionService: true` to turn on. Default is Off.
Clean database data periodically.

### SlackReportService
Use `NoSlackReportService: false` to turn on. Default is On.
Fetch Report Data and a send summary to a channel periodically.

### SlackAlertService
Use `NoSlackAlertService: false` to turn on. Default is On.
If Loss is greater than a thredhold, send alert to a channel

### Example:Run only API Query Server
In config.yaml ServerSetup:
```
NoPingService: true
RetensionService: false
NoSlackReportService: true
NoSlackAlertService: true
```
### Run

## Installation
- download executable file
Expand Down

0 comments on commit 97dfbf7

Please sign in to comment.