Enable prometheus, add loki config example, we don't have a global log system so it's not useful though
This commit is contained in:
parent
b5be1009cf
commit
fe1dbd4f95
5 changed files with 107 additions and 1 deletions
|
@ -9,6 +9,24 @@
|
|||
domain = "grafana.lillianviolet.dev";
|
||||
http_port = 2342;
|
||||
http_addr = "127.0.0.1";
|
||||
provision = {
|
||||
datasources = [
|
||||
{
|
||||
name = "Prometheus";
|
||||
type = "prometheus";
|
||||
access = "proxy";
|
||||
url = "http://localhost:${config.services.prometheus.port}";
|
||||
isDefault = true;
|
||||
}
|
||||
{
|
||||
name = "Loki";
|
||||
type = "loki";
|
||||
access = "proxy";
|
||||
url = "http://localhost:${config.services.loki.port}";
|
||||
isDefault = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# nginx reverse proxy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue