2014-05-28 22:07:06 +08:00
|
|
|
CartoDB-SQL-API metrics
|
|
|
|
=======================
|
|
|
|
|
2014-05-28 23:29:50 +08:00
|
|
|
## Timers
|
2014-05-28 22:07:06 +08:00
|
|
|
- **sqlapi.query**: time to return a query resultset from the API, splitted into:
|
|
|
|
+ **sqlapi.query.init**: time to prepare params from the request
|
2014-08-19 01:45:17 +08:00
|
|
|
+ **sqlapi.query.getDBParams**: time to retrieve the database connection params
|
|
|
|
+ **sqlapi.query.authenticate**: time to determine if request is authenticated
|
|
|
|
+ **sqlapi.query.setDBAuth**: time to set the authenticated connection params
|
2014-05-28 22:07:06 +08:00
|
|
|
+ **sqlapi.query.queryExplain**: time to retrieve affected tables from the query
|
|
|
|
+ **sqlapi.query.eventedQuery**: (pg) Time to prepare and execute the query
|
2014-08-19 01:45:17 +08:00
|
|
|
+ **sqlapi.query.beforeSink**: time to start sending the response.
|
|
|
|
+ **sqlapi.query.gotRows**: Time until it finished processing all rows in the resultset.
|
|
|
|
+ **sqlapi.query.generate**: Time to prepare and generate a response from ogr
|
|
|
|
+ **sqlapi.query.finish**: time to handle an exception
|
2014-05-28 23:29:50 +08:00
|
|
|
|
|
|
|
## Counters
|
2014-05-28 22:07:06 +08:00
|
|
|
- **sqlapi.query.success**: number of successful queries
|
|
|
|
- **sqlapi.query.error**: number of failed queries
|