grafana config

This commit is contained in:
Tove 2025-12-29 04:09:32 +00:00
parent 72c9053f0d
commit 4d638abeb1
3 changed files with 2 additions and 1 deletions

1
init.sh Normal file → Executable file
View file

@ -1,7 +1,6 @@
#/bin/sh
mkdir run && cp -r $GRAFANA_PATH/share/grafana/* run/
mkdir run/prometheus
cp prometheus.yml run/prometheus
cd run

1
run_grafana.sh Normal file → Executable file
View file

@ -1,3 +1,4 @@
#/bin/sh
cp grafana.ini run/conf/custom.ini
cd run
./grafana/bin/grafana server

1
run_prometheus.sh Normal file → Executable file
View file

@ -1,3 +1,4 @@
#/bin/sh
cp prometheus.yml run/prometheus
cd run/prometheus
./prometheus/bin/prometheus --web.listen-address=[::1]:9090