summary refs log tree commit diff
path: root/changelog.d/9540.feature
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-03-04 16:40:18 +0000
committerGitHub <noreply@github.com>2021-03-04 16:40:18 +0000
commit8a4b3738f3dcf49f70c08204ad457559dcef4112 (patch)
tree8bd53704eba5445498760f74a20538fa90352ef3 /changelog.d/9540.feature
parentPrometheus metrics for logins and registrations (#9511) (diff)
downloadsynapse-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/9540.feature')
-rw-r--r--changelog.d/9540.feature1
1 files changed, 1 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.