Skip to content

Commit ca0016a

Browse files
committed
chore: bumped version to 2.1.4
1 parent 423dd5d commit ca0016a

File tree

7 files changed

+27
-14
lines changed

7 files changed

+27
-14
lines changed

.config/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG anonymous_auth_enabled=true
77
ARG development=false
88
ARG TARGETARCH
99

10-
ARG GO_VERSION=1.21.6
10+
ARG GO_VERSION=1.23.2
1111
ARG GO_ARCH=${TARGETARCH:-amd64}
1212

1313
ENV DEV "${development}"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 2.1.4
4+
5+
Key changes:
6+
7+
* Fixed a concurrent panic issue when running query
8+
* Bumped proton-go-driver to 2.1.2
9+
310
## 2.1.3
411

512
Key changes:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ID = timeplus-proton-datasource
2-
Version = 2.1.3
2+
Version = 2.1.4
33

44
init:
55
npm install

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Timeplus Grafana Datasource
2+
23
Grafana data source plugin to connect to Timeplus and visualize streaming or batch queries.
34

45
## Overview / Introduction
@@ -14,6 +15,7 @@ A running Timeplus Proton or Timeplus Enterprise instance with TCP port 8463 (fo
1415
## Getting Started
1516

1617
### Use the pre-built Docker Compose
18+
1719
The [docker-compose.yaml](docker-compose.yaml) in this folder ships a Grafana container, with the proton plugin pre-installed, as well as a data generator.
1820

1921
You start it with `docker compose up` and go to http://localhost:3000 to view the Carsharing dashboard.
@@ -22,7 +24,7 @@ A data source for Timeplus is created automatically.
2224

2325
### Use your own Grafana deployment
2426

25-
Download the latest version from https://d.timeplus.com/grafana/timeplus-proton-datasource-2.1.3.zip
27+
Download the latest version from https://d.timeplus.com/grafana/timeplus-proton-datasource-2.1.4.zip
2628

2729
Unzip the file and copy the folder to the Grafana plugin directory, usually `/var/lib/grafana/plugins/`.
2830

@@ -32,8 +34,8 @@ For example, on a Linux machine, you can run the following commands:
3234
cd /var/lib/grafana
3335
mkdir plugins
3436
cd plugins
35-
wget d.timeplus.com/grafana/timeplus-proton-datasource-2.1.3.zip
36-
unzip timeplus-proton-datasource-2.1.3.zip
37+
wget d.timeplus.com/grafana/timeplus-proton-datasource-2.1.4.zip
38+
unzip timeplus-proton-datasource-2.1.4.zip
3739
/bin/systemctl start grafana-server.service
3840
```
3941

@@ -43,8 +45,8 @@ For macOS, you can run the following commands:
4345
cd /opt/homebrew/var/lib/grafana
4446
mkdir plugins
4547
cd plugins
46-
wget d.timeplus.com/grafana/timeplus-proton-datasource-2.1.3.zip
47-
unzip timeplus-proton-datasource-2.1.3.zip
48+
wget d.timeplus.com/grafana/timeplus-proton-datasource-2.1.4.zip
49+
unzip timeplus-proton-datasource-2.1.4.zip
4850
brew services restart grafana
4951
```
5052

@@ -59,7 +61,9 @@ There are unbounded streaming query and bounded historical query in Timeplus, al
5961
![query editor](src/img/query.png)
6062

6163
### Query Variables
62-
You can define dashboard variables with this data source. Please make sure turning off the streaming query mode in the SQL to populate the variable values, and only return 1 or 2 columns. When there is 1 column returned, it will be set as both value and label. If there are 2 columns, the first column will be set as value and the second column as the label. You can also refer to `__from` and `__to` variables in the SQL to get the time range of the dashboard, e.g.:
64+
65+
You can define dashboard variables with this data source. Please make sure turning off the streaming query mode in the SQL to populate the variable values, and only return 1 or 2 columns. When there is 1 column returned, it will be set as both value and label. If there are 2 columns, the first column will be set as value and the second column as the label. You can also refer to `__from` and `__to` variables in the SQL to get the time range of the dashboard, e.g.:
66+
6367
```sql
6468
SELECT distinct product_id FROM table(coinbase) where _tp_time < to_datetime($__to/1000) and _tp_time > to_datetime($__from/1000)
6569
```
@@ -89,6 +93,7 @@ SELECT distinct product_id FROM table(coinbase) where _tp_time < to_datetime($_
8993
```bash
9094
mage -l
9195
```
96+
9297
### Frontend
9398

9499
1. Install dependencies
@@ -110,12 +115,13 @@ SELECT distinct product_id FROM table(coinbase) where _tp_time < to_datetime($_
110115
```
111116

112117
4. Sign the plugin
118+
113119
```bash
114120
export GRAFANA_ACCESS_POLICY_TOKEN=<YOUR_ACCESS_POLICY_TOKEN>
115121
npm run sign
116122
```
117123

118-
4. Distribute the plugin
124+
5. Distribute the plugin
119125
```bash
120126
make package
121127
```

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "timeplus-proton-datasource",
3-
"version": "2.1.3",
3+
"version": "2.1.4",
44
"description": "Grafana data source plugin to connect to Timeplus and visualize streaming or batch queries.",
55
"scripts": {
66
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",

src/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
{ "name": "Query Editor", "path": "img/query.png" },
2525
{ "name": "Dashboard", "path": "img/dashboard.png" }
2626
],
27-
"version": "2.1.3",
28-
"updated": "2025-05-12"
27+
"version": "2.1.4",
28+
"updated": "2025-12-12"
2929
},
3030
"dependencies": {
3131
"grafanaDependency": ">=11.3.0",

0 commit comments

Comments
 (0)