feat(matrix-synapse): enable metrics #100
Labels
No labels
Bug
Docs
Feature request
Good for newcomers
Infra
Privacy
Refactoring or migration
Security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pub-solar/infra#100
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/synapse-metrics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following:
https://github.com/matrix-org/synapse/blob/develop/docs/metrics-howto.md
@ -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}";
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
innames
.f8de0d4f67
to2c6584cf26
450c82671a
to73e3a8c160
Looks good, ship it 🚀
73e3a8c160
to69b976607f