diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-03-04 16:40:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 16:40:18 +0000 |
commit | 8a4b3738f3dcf49f70c08204ad457559dcef4112 (patch) | |
tree | 8bd53704eba5445498760f74a20538fa90352ef3 /changelog.d | |
parent | Prometheus metrics for logins and registrations (#9511) (diff) | |
download | synapse-8a4b3738f3dcf49f70c08204ad457559dcef4112.tar.xz |
Replace `last_*_pdu_age` metrics with timestamps (#9540)
Following the advice at https://prometheus.io/docs/practices/instrumentation/#timestamps-not-time-since, it's preferable to export unix timestamps, not ages. There doesn't seem to be any particular naming convention for timestamp metrics.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/9540.feature | 1 | ||||
-rw-r--r-- | changelog.d/9540.removal | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/9540.feature b/changelog.d/9540.feature new file mode 100644 index 0000000000..5417e51b93 --- /dev/null +++ b/changelog.d/9540.feature @@ -0,0 +1 @@ +Add `synapse_federation_last_sent_pdu_time` and `synapse_federation_last_received_pdu_time` prometheus metrics, which monitor federation delays by reporting the timestamps of messages sent and received to a set of remote servers. diff --git a/changelog.d/9540.removal b/changelog.d/9540.removal new file mode 100644 index 0000000000..d54f553cb9 --- /dev/null +++ b/changelog.d/9540.removal @@ -0,0 +1 @@ +The `synapse_federation_last_sent_pdu_age` and `synapse_federation_last_received_pdu_age` prometheus metrics have been removed. They are replaced by `synapse_federation_last_sent_pdu_time` and `synapse_federation_last_received_pdu_time`. |