Prometheus integration

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.

Available metrics

The following metrics are exposed under dipdup namespace:

metric namedescription
dipdup_indexes_totalNumber of indexes in operation by status
dipdup_index_level_sync_duration_secondsDuration of indexing a single level
dipdup_index_level_realtime_duration_secondsDuration of last index syncronization
dipdup_index_total_sync_duration_secondsDuration of the last index syncronization
dipdup_index_total_realtime_duration_secondsDuration of the last index realtime syncronization
dipdup_index_levels_to_sync_totalNumber of levels to reach synced state
dipdup_index_levels_to_realtime_totalNumber of levels to reach realtime state
dipdup_index_handlers_matched_totalIndex total hits
dipdup_datasource_head_updated_timestampTimestamp of the last head update
dipdup_datasource_rollbacks_totalNumber of rollbacks
dipdup_http_errors_totalNumber of http errors
dipdup_callback_duration_secondsDuration of callback execution

You can also query 3.10. Internal models for monitoring purposes.