mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2025-04-02 12:11:21 +02:00
ildkule/prometheus: reenable mysqld exporter
This commit is contained in:
parent
493ab057f4
commit
32a529e60f
@ -56,13 +56,12 @@ in {
|
|||||||
url = "https://raw.githubusercontent.com/matrix-org/synapse/develop/contrib/grafana/synapse.json";
|
url = "https://raw.githubusercontent.com/matrix-org/synapse/develop/contrib/grafana/synapse.json";
|
||||||
options.path = dashboards/synapse.json;
|
options.path = dashboards/synapse.json;
|
||||||
}
|
}
|
||||||
# TODO: enable once https://github.com/NixOS/nixpkgs/pull/242365 gets merged
|
{
|
||||||
# {
|
name = "MySQL";
|
||||||
# name = "MySQL";
|
type = "file";
|
||||||
# type = "file";
|
url = "https://raw.githubusercontent.com/prometheus/mysqld_exporter/main/mysqld-mixin/dashboards/mysql-overview.json";
|
||||||
# url = "https://raw.githubusercontent.com/prometheus/mysqld_exporter/main/mysqld-mixin/dashboards/mysql-overview.json";
|
options.path = dashboards/mysql.json;
|
||||||
# options.path = dashboards/mysql.json;
|
}
|
||||||
# }
|
|
||||||
{
|
{
|
||||||
name = "Postgresql";
|
name = "Postgresql";
|
||||||
type = "file";
|
type = "file";
|
||||||
|
@ -4,8 +4,7 @@ in {
|
|||||||
imports = [
|
imports = [
|
||||||
./gitea.nix
|
./gitea.nix
|
||||||
./matrix-synapse.nix
|
./matrix-synapse.nix
|
||||||
# TODO: enable once https://github.com/NixOS/nixpkgs/pull/242365 gets merged
|
./mysqld.nix
|
||||||
# ./mysqld.nix
|
|
||||||
./postgres.nix
|
./postgres.nix
|
||||||
./machines.nix
|
./machines.nix
|
||||||
];
|
];
|
||||||
|
@ -19,7 +19,7 @@ in {
|
|||||||
|
|
||||||
exporters.mysqld = {
|
exporters.mysqld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFilePath = config.sops.secrets."config/mysqld_exporter".path;
|
configFile = config.sops.secrets."config/mysqld_exporter".path;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user