Metrics 🚧
This page is under construction.
⚠️
Metrics are not part of the public API, so these are subject to change without notice. Do not rely on these metrics for anything important (yet).
Ponder apps publish Prometheus metrics at the /metrics
path.
name | description | type |
---|---|---|
ponder_indexing_total_seconds | Total number of seconds required for indexing | gauge |
ponder_indexing_completed_seconds | Number of seconds that have been completed | gauge |
ponder_indexing_completed_events | Number of events that have been processed | gauge |
ponder_indexing_completed_timestamp | Timestamp through which all events have been completed | gauge |
ponder_indexing_has_error | Boolean (0 or 1) indicating if there is an indexing error | gauge |
ponder_indexing_function_duration | Duration of indexing function execution | histogram |
ponder_indexing_function_error_total | Total number of errors encountered during indexing function execution | counter |
ponder_historical_start_timestamp | Unix timestamp (ms) when the historical sync service started | gauge |
ponder_historical_total_blocks | Number of blocks required for the historical sync | gauge |
ponder_historical_cached_blocks | Number of blocks that were found in the cache for the historical sync | gauge |
ponder_historical_completed_blocks | Number of blocks that have been processed for the historical sync | gauge |
ponder_realtime_is_connected | Boolean (0 or 1) indicating if the realtime sync service is connected | gauge |
ponder_realtime_latest_block_number | Block number of the latest synced block | gauge |
ponder_realtime_latest_block_timestamp | Block timestamp of the latest synced block | gauge |
ponder_realtime_reorg_total | Count of how many re-orgs have occurred | counter |
ponder_database_method_duration | Duration of database operations | histogram |
ponder_database_method_error_total | Total number of errors encountered during database operations | counter |
ponder_http_server_port | Port that the server is listening on | gauge |
ponder_http_server_active_requests | Number of active HTTP server requests | gauge |
ponder_http_server_request_duration_ms | Duration of HTTP responses served by the server | histogram |
ponder_http_server_request_size_bytes | Size of HTTP requests received by the server | histogram |
ponder_http_server_response_size_bytes | Size of HTTP responses served by the server | histogram |
ponder_rpc_request_duration | Duration of RPC requests | histogram |
ponder_rpc_request_lag | Time RPC requests spend waiting in the request queue | histogram |
ponder_postgres_pool_connections | Gauge of current connections for PostgreSQL pools | gauge |
ponder_postgres_query_queue_size | Current size of the query queue for PostgreSQL | gauge |
ponder_postgres_query_total | Total number of queries processed by PostgreSQL | counter |
ponder_sqlite_query_total | Total number of queries processed by SQLite | counter |