feat(matrix-synapse): enable metrics #100

Merged
teutat3s merged 4 commits from feat/synapse-metrics into main 2024-01-28 23:56:42 +00:00
Owner
Following: https://github.com/matrix-org/synapse/blob/develop/docs/metrics-howto.md
teutat3s self-assigned this 2024-01-25 19:24:47 +00:00
teutat3s requested review from b12f 2024-01-25 19:25:21 +00:00
teutat3s requested review from hensoko 2024-01-25 19:25:21 +00:00
teutat3s requested review from axeman 2024-01-25 19:25:21 +00:00
axeman reviewed 2024-01-27 17:32:05 +00:00
@ -1,4 +1,8 @@
{config, lib, pkgs, ...}:
let
# Get port from first element in list of matrix-synapse listeners
synapsePort = "${toString (lib.findFirst (listener: listener.port != null) "" config.services.matrix-synapse.settings.listeners).port}";
Owner

This looks like it will break if someone adds things as the first element of that list. We should filter for the service which contains federation in names.

This looks like it will break if someone adds things as the first element of that list. We should filter for the service which contains `federation` in `names`.
teutat3s force-pushed feat/synapse-metrics from f8de0d4f67 to 2c6584cf26 2024-01-27 18:12:36 +00:00 Compare
teutat3s force-pushed feat/synapse-metrics from 450c82671a to 73e3a8c160 2024-01-27 19:35:53 +00:00 Compare
axeman approved these changes 2024-01-28 21:03:52 +00:00
axeman left a comment
Owner

Looks good, ship it 🚀

Looks good, ship it 🚀
teutat3s force-pushed feat/synapse-metrics from 73e3a8c160 to 69b976607f 2024-01-28 23:45:22 +00:00 Compare
teutat3s merged commit b2e845876a into main 2024-01-28 23:56:42 +00:00
teutat3s deleted branch feat/synapse-metrics 2024-01-28 23:56:42 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#100
No description provided.