DipDup provides basic integration with the Prometheus monitoring system by exposing some metrics.
When running DipDup in Docker make sure that the Prometheus instance is in the same network.
The following metrics are exposed under
|Number of indexes in operation by status
|Duration of the last synchronization
|Duration of the last realtime queue processing
|Number of levels to reach synced state
|Number of levels to reach realtime state
|Index total hits
|Timestamp of the last head update
|Number of rollbacks
|Number of HTTP errors
Also, DipDup exposes the following metrics for compatibility with Subsquid Cloud:
|Level of the last processed block from Subsquid Network
|Current chain height as reported by Subsquid Network
|Number of consecutive failed requests to Subsquid Network
If you need more complex metrics, consider querying Internal tables.