Skip to content

Commit c9e2ee2

Browse files
Update installation and configuration instructions for Grafana and TimescaleDB
1 parent 4d7d92d commit c9e2ee2

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

content/learning-paths/servers-and-cloud-computing/timescaledb-on-gcp/grafana-timescaledb-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ sudo systemctl start grafana-server
4040
sudo systemctl enable grafana-server
4141
```
4242

43-
**Verify status:**
43+
Verify the service is running:
4444

4545
```bash
4646
sudo systemctl status grafana-server

content/learning-paths/servers-and-cloud-computing/timescaledb-on-gcp/live-sensor-dashboard.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 8
66
layout: learningpathall
77
---
88

9-
## Create a Live Sensor Temperature Dashboard
9+
## Create a live sensor temperature dashboard
1010

1111
In this section, you'll create a Grafana dashboard that visualizes live temperature data stored in TimescaleDB. The dashboard continuously updates to display sensor temperature changes in near real time.
1212

@@ -49,13 +49,13 @@ You will be redirected to the Edit panel screen.
4949

5050
In the Query section:
5151

52-
- Data source: PostgreSQL / TimescaleDB
53-
- Query type: SQL
54-
- Format: Time series
52+
- **Data source:** PostgreSQL / TimescaleDB
53+
- **Query type:** SQL
54+
- **Format:** Time series
5555

5656
![Grafana time series panel editor showing the visualization configuration screen with the time series panel type selected and panel title field alt-txt#center](images/data-source-visualization.png "Grafana visualization configuration")
5757

58-
Paste the following query after pressing the "Code" button on the right of the query editor:
58+
Paste the following query after selecting **Code** on the right of the query editor:
5959

6060
```sql
6161
SELECT
@@ -74,14 +74,14 @@ Apply the following settings in the right-hand panel:
7474

7575
- Visualization Settings
7676

77-
- Visualization: Time series
78-
- Panel title: Live Sensor Temperature
79-
- Table view: Disabled
77+
- **Visualization:** Time series
78+
- **Panel title:** Live Sensor Temperature
79+
- **Table view:** Disabled
8080

8181
- Time & Refresh Settings
8282

83-
- Time range: Last 5 minutes
84-
- Refresh interval: 5s
83+
- **Time range:** Last 5 minutes
84+
- **Refresh interval:** 5s
8585

8686
These settings ensure the panel refreshes automatically with new data.
8787

content/learning-paths/servers-and-cloud-computing/timescaledb-on-gcp/sensor-data-ingestion.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ sudo zypper install -y \
3535
python3-psycopg2
3636
```
3737

38-
**Verify psycopg2:**
38+
Verify psycopg2 is installed correctly:
3939

4040
```bash
4141
python3 - <<EOF
@@ -77,7 +77,7 @@ Press Ctrl+D to exit back into the SSH shell.
7777

7878
The following Python script simulates multiple sensors sending readings every two seconds and inserts them into TimescaleDB.
7979

80-
Create a new Python file called **sensor_ingest.py** and add the following code to the file:
80+
Create a new Python file called `sensor_ingest.py` and add the following code to the file:
8181

8282
```python
8383
import time
@@ -118,7 +118,7 @@ nohup python3 sensor_ingest.py > ingest.log 2>&1 &
118118

119119
This ensures the sensor generator continues running even after you close the terminal.
120120

121-
### Verify Data Ingestion
121+
### Verify data ingestion
122122

123123
```bash
124124
ps -ef | grep sensor_ingest.py

content/learning-paths/servers-and-cloud-computing/timescaledb-on-gcp/setup-timescaledb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ TimescaleDB must be preloaded when PostgreSQL starts.
116116

117117
### Edit PostgreSQL configuration and add the timescaledb library
118118

119-
Using a suitable editor and "sudo", edit **/var/lib/pgsql/data/postgresql.conf** and add the following line:
119+
Using a suitable editor and `sudo`, edit `/var/lib/pgsql/data/postgresql.conf` and add the following line:
120120

121121
```text
122122
shared_preload_libraries = 'timescaledb'

0 commit comments

Comments
 (0)