MatrixSynapse/synapse
Richard van der Hoff 39f4e29d01 Reorganise request and block metrics
In order to circumvent the number of duplicate foo:count metrics increasing
without bounds, it's time for a rearrangement.

The following are all deprecated, and replaced with synapse_util_metrics_block_count:
  synapse_util_metrics_block_timer:count
  synapse_util_metrics_block_ru_utime:count
  synapse_util_metrics_block_ru_stime:count
  synapse_util_metrics_block_db_txn_count:count
  synapse_util_metrics_block_db_txn_duration:count

The following are all deprecated, and replaced with synapse_http_server_response_count:
   synapse_http_server_requests
   synapse_http_server_response_time:count
   synapse_http_server_response_ru_utime:count
   synapse_http_server_response_ru_stime:count
   synapse_http_server_response_db_txn_count:count
   synapse_http_server_response_db_txn_duration:count

The following are renamed (the old metrics are kept for now, but deprecated):

  synapse_util_metrics_block_timer:total ->
     synapse_util_metrics_block_time_seconds

  synapse_util_metrics_block_ru_utime:total ->
     synapse_util_metrics_block_ru_utime_seconds

  synapse_util_metrics_block_ru_stime:total ->
     synapse_util_metrics_block_ru_stime_seconds

  synapse_util_metrics_block_db_txn_count:total ->
     synapse_util_metrics_block_db_txn_count

  synapse_util_metrics_block_db_txn_duration:total ->
     synapse_util_metrics_block_db_txn_duration_seconds

  synapse_http_server_response_time:total ->
     synapse_http_server_response_time_seconds

  synapse_http_server_response_ru_utime:total ->
     synapse_http_server_response_ru_utime_seconds

  synapse_http_server_response_ru_stime:total ->
     synapse_http_server_response_ru_stime_seconds

   synapse_http_server_response_db_txn_count:total ->
      synapse_http_server_response_db_txn_count

   synapse_http_server_response_db_txn_duration:total
      synapse_http_server_response_db_txn_duration_seconds
2018-01-15 17:09:44 +00:00
..
api Refactor UI auth implementation 2017-12-05 09:40:05 +00:00
app Actually make it work 2018-01-12 10:39:27 +00:00
appservice Extract group_id from the dict for multiple use 2017-11-16 18:18:30 +00:00
config Actually make it work 2018-01-12 10:39:27 +00:00
crypto Fix 500 when joining matrix-dev 2017-11-29 16:00:46 +00:00
events replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
federation Check missing fields in event_from_pdu_json 2017-12-30 18:40:19 +00:00
groups Namespace visibility options for groups 2017-11-09 15:27:18 +00:00
handlers Merge pull request #2773 from matrix-org/erikj/hash_bg 2018-01-10 18:11:41 +00:00
http Reorganise request and block metrics 2018-01-15 17:09:44 +00:00
metrics mechanism to render metrics with alternative names 2018-01-15 17:04:39 +00:00
module_api Delete devices in various logout situations 2017-11-29 16:44:35 +00:00
push Remove pushers when deleting access tokens 2017-11-29 16:44:35 +00:00
replication Fix some logcontext leaks in replication resource 2017-11-23 23:19:43 +00:00
rest Reinstate media download on thumbnail request 2018-01-12 15:38:06 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Remove dead code related to default thumbnails 2018-01-09 14:38:33 +00:00
streams replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
util Reorganise request and block metrics 2018-01-15 17:09:44 +00:00
__init__.py Bump version and changelog 2018-01-05 10:54:01 +00:00
event_auth.py Fix templating error with unban permission message 2018-01-07 19:52:58 -07:00
notifier.py Clear logcontext before starting fed txn queue runner 2017-11-28 15:26:14 +00:00
python_dependencies.py Make 'affinity' package optional 2017-10-02 18:03:59 +01:00
server.py Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
server.pyi Move set_password into its own handler 2017-11-29 16:44:35 +00:00
state.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
types.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
visibility.py Remove preserve_context_over_{fn, deferred} 2017-11-14 11:22:42 +00:00