1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Remove matrix exporter

This commit is contained in:
RGBCube 2024-01-18 07:42:27 +03:00
parent ec6ba9527d
commit a9b819deed
No known key found for this signature in database

View file

@ -21,20 +21,6 @@ in serverSystemConfiguration {
age.secrets."cube/password.secret.matrix-synapse".owner = "matrix-synapse";
age.secrets."cube/password.sync.matrix-synapse".owner = "matrix-synapse";
services.prometheus = {
scrapeConfigs = [{
job_name = "matrix-synapse";
metrics_path = "/_synapse/metrics";
static_configs = [{
labels.job = "matrix-synapse";
targets = [
"[::]:${toString exporterPort}"
];
}];
}];
};
services.postgresql = {
ensureDatabases = [ "matrix-synapse" "matrix-sliding-sync" ];
ensureUsers = [
@ -82,8 +68,7 @@ in serverSystemConfiguration {
# Sets registration_shared_secret.
extraConfigFiles = [ config.age.secrets."cube/password.secret.matrix-synapse".path ];
settings.listeners = [
{
settings.listeners = [{
port = synapsePort;
bind_addresses = [ "::" ];
@ -95,17 +80,7 @@ in serverSystemConfiguration {
compress = false;
names = [ "client" "federation" ];
}];
}
{
port = exporterPort;
bind_addresses = [ "::" ];
tls = false;
type = "metrics";
resources = [];
}
];
}];
};
services.matrix-sliding-sync = enabled {