add panopticon
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
58f06d6729
commit
ea9850107f
9 changed files with 412 additions and 11 deletions
27
hosts/panopticon/grafana.nix
Normal file
27
hosts/panopticon/grafana.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
_: {
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
http_addr = "127.0.0.1";
|
||||
http_port = 3000;
|
||||
};
|
||||
security = {
|
||||
admin_user = "admin";
|
||||
admin_password = "changeme";
|
||||
};
|
||||
};
|
||||
|
||||
provision = {
|
||||
datasources.settings.datasources = [
|
||||
{
|
||||
name = "Loki";
|
||||
type = "loki";
|
||||
access = "proxy";
|
||||
url = "http://localhost:3100";
|
||||
isDefault = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue