This allows us to check the health of the exporter itself.
Example:
# HELP sl_exporter_reference_api_error_total Number of errors encountered while making external calls to an API to gather reference data.
# TYPE sl_exporter_reference_api_error_total counter
sl_exporter_reference_api_error_total{host="lcd.osmosis.zone",reason="timeout"} 16
sl_exporter_reference_api_error_total{host="osmosis-api.polkachu.com",reason="520"} 2
sl_exporter_reference_api_error_total{host="osmosis-api.polkachu.com",reason="timeout"} 16
# HELP sl_exporter_task_error_total Number of failed sl-exporter tasks. A task is a generalized unit of work such as querying validator signing status.
# TYPE sl_exporter_task_error_total counter
sl_exporter_task_error_total{group="osmosis-1"} 11
The last line indicates there could be something wrong with our osmosis-1 config such as we need to find different REST-API nodes.
This allows us to check the health of the exporter itself.
Example:
The last line indicates there could be something wrong with our osmosis-1 config such as we need to find different REST-API nodes.