Monitoring your own performance is essential if you wish to achieve a high uptime. Below are two methods to do so.
Through Increment, you are able to view the proofs your Operator address has submitted.
Log into or signup to the Covalent platform.
Filter the following SQL query so that it returns the results for your Operator address. This will display the number of proofs submitted by your address in 30-minute increments over the past 7 days.
You can also filter the date range if you desire.
SELECT
count(*) AS proofs,
hex(tx_sender) AS refiner_operator,
toStartOfInterval(signed_at, INTERVAL 30 MINUTE) AS interval_start
FROM
blockchains.all_chains
WHERE
chain_name = 'moonbeam_moonbase_alpha'
--please enter your "Operator" address in this filter. Remove the '0x' at the beginning
AND tx_sender = unhex('7a6e49A5d018008Be6954eF6d5ccb99D44d6430a')
--topic hash for 'BlockResultProductionProofSubmitted'
AND topic0 = unhex('8741f5bf89731b15f24deb1e84e2bbd381947f009ee378a2daa15ed8abfb9485')
AND signed_at >= now() - INTERVAL 7 DAY
GROUP BY
refiner_operator,
interval_start
Go to Increment and select ‘Type SQL. Get Charts’. From here, paste in the above query and filter using your Operator address. Run and save the query once finished. If you create a line chart, you should have something like this if you are running the Refiner successfully after 7 days.
If you wish to have a dashboard like so, you can go to ‘Pages’ and save your query to your page.
This involves monitoring the Prometheus dashboard that can be enabled with the Refiner. To set this up, please follow these instructions. Furthermore, pay close attention to the following metric:
Note, that this is local performance only, not on-chain submissions.