diff --git a/README.md b/README.md index 3154311..a9e92b7 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ grafana 的配置在:./service_configs/admin_service/grafana/xxxx.json (根 - Metrics - Prometheus + - rabbitmq_exporter - Grafana - Error Reporting - Sentry diff --git a/apisix_conf/config.yaml b/apisix/apisix_conf/config.yaml similarity index 100% rename from apisix_conf/config.yaml rename to apisix/apisix_conf/config.yaml diff --git a/dashboard_conf/conf.yaml b/apisix/dashboard_conf/conf.yaml similarity index 100% rename from dashboard_conf/conf.yaml rename to apisix/dashboard_conf/conf.yaml diff --git a/etcd_conf/etcd.conf.yml b/apisix/etcd_conf/etcd.conf.yml similarity index 100% rename from etcd_conf/etcd.conf.yml rename to apisix/etcd_conf/etcd.conf.yml diff --git a/grafana_conf/config/grafana.ini b/apisix/grafana_conf/config/grafana.ini similarity index 100% rename from grafana_conf/config/grafana.ini rename to apisix/grafana_conf/config/grafana.ini diff --git a/grafana_conf/dashboards/apisix-grafana-dashboard.json b/apisix/grafana_conf/dashboards/apisix-grafana-dashboard.json similarity index 100% rename from grafana_conf/dashboards/apisix-grafana-dashboard.json rename to apisix/grafana_conf/dashboards/apisix-grafana-dashboard.json diff --git a/grafana_conf/provisioning/dashboards/all.yaml b/apisix/grafana_conf/provisioning/dashboards/all.yaml similarity index 100% rename from grafana_conf/provisioning/dashboards/all.yaml rename to apisix/grafana_conf/provisioning/dashboards/all.yaml diff --git a/grafana_conf/provisioning/datasources/all.yaml b/apisix/grafana_conf/provisioning/datasources/all.yaml similarity index 100% rename from grafana_conf/provisioning/datasources/all.yaml rename to apisix/grafana_conf/provisioning/datasources/all.yaml diff --git a/mkcert/README.md b/apisix/mkcert/README.md similarity index 100% rename from mkcert/README.md rename to apisix/mkcert/README.md diff --git a/mkcert/lvh.me+1-key.pem b/apisix/mkcert/lvh.me+1-key.pem similarity index 100% rename from mkcert/lvh.me+1-key.pem rename to apisix/mkcert/lvh.me+1-key.pem diff --git a/mkcert/lvh.me+1.pem b/apisix/mkcert/lvh.me+1.pem similarity index 100% rename from mkcert/lvh.me+1.pem rename to apisix/mkcert/lvh.me+1.pem diff --git a/mkcert/rootCA-key.pem b/apisix/mkcert/rootCA-key.pem similarity index 100% rename from mkcert/rootCA-key.pem rename to apisix/mkcert/rootCA-key.pem diff --git a/mkcert/rootCA.pem b/apisix/mkcert/rootCA.pem similarity index 100% rename from mkcert/rootCA.pem rename to apisix/mkcert/rootCA.pem diff --git a/prometheus_conf/prometheus.yml b/apisix/prometheus_conf/prometheus.yml similarity index 100% rename from prometheus_conf/prometheus.yml rename to apisix/prometheus_conf/prometheus.yml diff --git a/docker-compose-apisix.yml b/docker-compose-apisix.yml index d6e13f6..e36f982 100644 --- a/docker-compose-apisix.yml +++ b/docker-compose-apisix.yml @@ -24,7 +24,7 @@ services: hostname: 'apisix-dashboard' restart: always volumes: - - ./dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml + - ./apisix/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml ports: - "9000:9000" networks: @@ -36,7 +36,7 @@ services: hostname: 'apisix' restart: always volumes: - - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro + - ./apisix/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro depends_on: - etcd ##network_mode: host @@ -72,7 +72,7 @@ services: hostname: 'apisix-prometheus' restart: always volumes: - - ./prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml + - ./apisix/prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml ports: - "9093:9090" networks: @@ -86,9 +86,9 @@ services: ports: - "3010:3000" volumes: - - "./grafana_conf/provisioning:/etc/grafana/provisioning" - - "./grafana_conf/dashboards:/var/lib/grafana/dashboards" - - "./grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini" + - "./apisix/grafana_conf/provisioning:/etc/grafana/provisioning" + - "./apisix/grafana_conf/dashboards:/var/lib/grafana/dashboards" + - "./apisix/grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini" networks: apisix: diff --git a/service_configs/admin_service/grafana/Admin Service.json b/service_configs/admin_service/grafana/Admin Service.json index 56d7688..571d326 100644 --- a/service_configs/admin_service/grafana/Admin Service.json +++ b/service_configs/admin_service/grafana/Admin Service.json @@ -214,8 +214,8 @@ "gridPos": { "h": 12, "w": 12, - "x": 12, - "y": 0 + "x": 0, + "y": 12 }, "hiddenSeries": false, "id": 10, @@ -299,7 +299,7 @@ "h": 12, "w": 12, "x": 12, - "y": 0 + "y": 12 }, "hiddenSeries": false, "id": 10, @@ -382,8 +382,8 @@ "gridPos": { "h": 12, "w": 12, - "x": 12, - "y": 0 + "x": 0, + "y": 24 }, "hiddenSeries": false, "id": 10, @@ -461,7 +461,7 @@ "list": [] }, "time": { - "from": "now-1h", + "from": "now-12h", "to": "now" }, "timepicker": { @@ -492,6 +492,6 @@ "timezone": "", "title": "Admin Service", "uid": "ReKfE8Q4z", - "version": 2, + "version": 7, "weekStart": "" } \ No newline at end of file