Skip to content

Commit

Permalink
Unnamed => Kinky
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Dec 29, 2023
1 parent c0d7d63 commit e6ee421
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 47 deletions.
2 changes: 1 addition & 1 deletion docs/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ description: "Der Datenzwerg ist ein Gartenzwerg mit einer Mission: Umweltdaten
| [Grumpy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Grumpy&theme=dark) | Hall Z | Deployed |
| [Happy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Happy&theme=dark) | Hall G | Deployed |
| [Hefty](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Hefty&theme=dark) | Jugend Assembly | Deployed |
| [Kinky](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Kinky&theme=dark) | Telnet Assembly | Deployed |
| [Moopsy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Moopsy&theme=dark) | Lounge | Deployed |
| [UNNAMED](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Nameme&theme=dark) | Telnet Assembly | Deployed |
| [Nerdy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Nerdy&theme=dark) | Flower Assembly | Deployed |
| [Sleepy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Sleepy&theme=dark) | POC | Deployed |
| [Sneezy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Sneezy&theme=dark) | Hall E | Deployed |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ description: "The Datenzwerg is a garden gnome with a mission: To collect enviro
| [Grumpy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Grumpy&theme=dark) | Hall Z | Deployed |
| [Happy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Happy&theme=dark) | Hall G | Deployed |
| [Hefty](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Hefty&theme=dark) | Jugend Assembly | Deployed |
| [Kinky](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Kinky&theme=dark) | Telnet Assembly | Deployed |
| [Moopsy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Moopsy&theme=dark) | Lounge | Deployed |
| [UNNAMED](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Nameme&theme=dark) | Telnet Assembly | Deployed |
| [Nerdy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Nerdy&theme=dark) | Flower Assembly | Deployed |
| [Sleepy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Sleepy&theme=dark) | POC | Deployed |
| [Sneezy](https://grafana.datagnome.de/d/f17a6449-84ed-4733-b982-21c0d480c42a/overview?orgId=1&refresh=15m&var-zwerg=Sneezy&theme=dark) | Hall E | Deployed |
Expand Down
10 changes: 5 additions & 5 deletions grafana/healthchecks.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"wifi_signal\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n |> map(fn: (r) => ({r with _value: int(v: uint(v: now()) - uint(v: r._time)) / 1000000000}))\n |> map(fn: (r) => ({r with _value: if r._value < 0 then 0 else r._value}))\n |> last()\n",
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"wifi_signal\")\n |> filter(fn: (r) => r.device != \"nameme\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n |> map(fn: (r) => ({r with _value: int(v: uint(v: now()) - uint(v: r._time)) / 1000000000}))\n |> map(fn: (r) => ({r with _value: if r._value < 0 then 0 else r._value}))\n |> last()\n",
"refId": "A"
}
],
Expand Down Expand Up @@ -214,7 +214,7 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"temperature\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n |> map(fn: (r) => ({r with _value: int(v: uint(v: now()) - uint(v: r._time)) / 1000000000}))\n |> map(fn: (r) => ({r with _value: if r._value < 0 then 0 else r._value}))\n |> last()\n",
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"temperature\")\n |> filter(fn: (r) => r.device != \"nameme\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n |> map(fn: (r) => ({r with _value: int(v: uint(v: now()) - uint(v: r._time)) / 1000000000}))\n |> map(fn: (r) => ({r with _value: if r._value < 0 then 0 else r._value}))\n |> last()\n",
"refId": "A"
}
],
Expand Down Expand Up @@ -515,7 +515,7 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"query": "import \"strings\"\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"datenzwerg___wifi_signal\" or r._measurement == \"wifi_signal\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: 60m, fn: median, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))",
"query": "import \"strings\"\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |> filter(fn: (r) => r._measurement == \"datenzwerg___wifi_signal\" or r._measurement == \"wifi_signal\")\n |> filter(fn: (r) => r.device != \"nameme\")\n |> group(columns: [\"device\"])\n |> aggregateWindow(every: 60m, fn: median, createEmpty: false)\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))",
"refId": "A"
}
],
Expand Down Expand Up @@ -585,7 +585,7 @@
"type": "influxdb",
"uid": "${DS_INFLUXDB}"
},
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\n |> filter(fn: (r) => r[\"_measurement\"] == \"esphome_version\" or r[\"_measurement\"] == \"git_ref\" or r[\"_measurement\"] == \"eco2_baseline\" or r[\"_measurement\"] == \"tvoc_baseline\")\n |> map(fn: (r) => ({r with _value: string(v: r._value)}))\n |> group(columns: [\"device\"])\n |> pivot(rowKey: [\"_measurement\"], columnKey: [\"_field\"], valueColumn: \"_value\")\n |> group()\n |> pivot(rowKey: [\"device\"], columnKey: [\"_measurement\"], valueColumn: \"value\")\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n",
"query": "import \"strings\"\n\nfrom(bucket: \"datagnome-raw\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_field\"] == \"value\")\n |> filter(fn: (r) => r[\"_measurement\"] == \"esphome_version\" or r[\"_measurement\"] == \"git_ref\" or r[\"_measurement\"] == \"eco2_baseline\" or r[\"_measurement\"] == \"tvoc_baseline\")\n |> filter(fn: (r) => r.device != \"nameme\")\n |> map(fn: (r) => ({r with _value: string(v: r._value)}))\n |> group(columns: [\"device\"])\n |> pivot(rowKey: [\"_measurement\"], columnKey: [\"_field\"], valueColumn: \"_value\")\n |> group()\n |> pivot(rowKey: [\"device\"], columnKey: [\"_measurement\"], valueColumn: \"value\")\n |> map(fn: (r) => ({r with device: strings.title(v: r.device)}))\n",
"refId": "A"
}
],
Expand Down Expand Up @@ -623,6 +623,6 @@
"timezone": "",
"title": "Healthchecks",
"uid": "a5cb5f8d-b6ce-47c4-a414-69c74e41e388",
"version": 26,
"version": 27,
"weekStart": ""
}
Loading

0 comments on commit e6ee421

Please sign in to comment.