refactor: update grafana dashboard (#2)

* grafana/dashboard.json aktualisiert

rename to "number of videos"
add refresh and extend timestamp

* README.md aktualisiert

Rename IMMICH_URL to IMMICH_BASE_URL

---------

Co-authored-by: Simon Rieger <simono41@noreply.localhost>
This commit is contained in:
Simon Rieger 2023-10-18 23:29:56 +02:00 committed by GitHub
parent c880ba2e36
commit 4cbc006e84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 15 deletions

View file

@ -19,7 +19,7 @@ Create an API key in your Immich settings and set `IMMICH_API_KEY` to is value.
```sh
docker run --name=immich-exporter \
-e IMMICH_URL=http://192.168.1.10:8080 \
-e IMMICH_BASE_URL=http://192.168.1.10:8080 \
-e IMMICH_API_KEY=<your_api_key> \
-p 8090:8090 \
martabal/immich-exporter
@ -34,7 +34,7 @@ services:
image: martabal/immich-exporter:latest
container_name: immich-exporter
environment:
- IMMICH_URL=http://192.168.1.10:8080
- IMMICH_BASE_URL=http://192.168.1.10:8080
- IMMICH_API_KEY=<your_api_key>
ports:
- 8090:8090

View file

@ -15,7 +15,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.3.6"
"version": "10.1.5"
},
{
"type": "panel",
@ -137,7 +137,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
@ -206,7 +206,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
@ -275,7 +275,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
@ -344,7 +344,7 @@
},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
@ -361,7 +361,7 @@
"refId": "A"
}
],
"title": "Number of users",
"title": "Number of videos",
"type": "stat"
},
{
@ -376,7 +376,9 @@
},
"custom": {
"align": "auto",
"displayMode": "auto",
"cellOptions": {
"type": "auto"
},
"filterable": false,
"inspect": false
},
@ -502,7 +504,9 @@
},
"id": 15,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
@ -517,7 +521,7 @@
}
]
},
"pluginVersion": "9.3.6",
"pluginVersion": "10.1.5",
"targets": [
{
"datasource": {
@ -561,6 +565,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
@ -659,6 +664,7 @@
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@ -868,21 +874,21 @@
"type": "piechart"
}
],
"refresh": false,
"schemaVersion": 37,
"refresh": "5m",
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-15m",
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Immich",
"title": "Immich Go",
"uid": "9QXCv3AVk",
"version": 9,
"version": 4,
"weekStart": ""
}