Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[warehouse]Add support for greptimedb. #834

Merged
merged 42 commits into from
Apr 4, 2023
Merged

[warehouse]Add support for greptimedb. #834

merged 42 commits into from
Apr 4, 2023

Conversation

zqr10159
Copy link
Member

@zqr10159 zqr10159 commented Apr 2, 2023

What's changed?

Add support for greptimedb.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

tomsun28 and others added 30 commits March 20, 2023 23:28
# Conflicts:
#	warehouse/src/main/java/com/usthe/warehouse/controller/MetricsDataController.java
#	warehouse/src/main/java/com/usthe/warehouse/store/HistoryJpaDatabaseDataStorage.java
#	warehouse/src/main/java/com/usthe/warehouse/store/RealTimeRedisDataStorage.java
[code]feature: add GrepTimeDb `getHistoryMetricData`
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.
[warehouse]feature: 
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.
1.add GrepTimeDb `getHistory`
1.add GrepTimeDb `getHistoryIntervalMetricData`
[warehouse]feature:add GrepTimeDb `getHistoryIntervalMetricData`
# Conflicts:
#	warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java
@zqr10159 zqr10159 reopened this Apr 2, 2023
@tomsun28 tomsun28 added enhancement New feature or request good first pull request Good for newcomers new feature labels Apr 3, 2023
@tomsun28
Copy link
Contributor

tomsun28 commented Apr 3, 2023

@killme2008 hi, please help us take a review thanks. 😄😄😄

@killme2008
Copy link
Contributor

@killme2008 hi, please help us take a review thanks. 😄😄😄

Coooool! Let me see.

zqr10159 and others added 3 commits April 3, 2023 20:33
…HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>
…HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>
…HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
@tomsun28 tomsun28 linked an issue Apr 3, 2023 that may be closed by this pull request
1 task
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`
Copy link
Contributor

@fengjiachun fengjiachun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM👍

warehouse/pom.xml Outdated Show resolved Hide resolved
Signed-off-by: tomsun28 <tomsun28@outlook.com>
@tomsun28 tomsun28 merged commit dc56425 into master Apr 4, 2023
@tomsun28 tomsun28 deleted the greptime branch April 4, 2023 02:08
tomsun28 added a commit that referenced this pull request Jan 16, 2024
)

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [warehouse] support greptime db store metrics data

* [manager] update version

* [manager] update greptime

* [manager] update greptime

* constraint common dependencies version

* fix unsupported error

* remove success result

* [code]feature: add GrepTimeDb `getHistoryMetricData`

* [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

* [warehouse]feature:
1.add GrepTimeDb `getHistory`

* [warehouse] bugfix can not catch exception when table not exist

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

* merge master

* update

* [warehouse]Add support for greptimedb.

* [warehouse]Add support for greptimedb.

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* Update warehouse/pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 9, 2024
)

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [warehouse] support greptime db store metrics data

* [manager] update version

* [manager] update greptime

* [manager] update greptime

* constraint common dependencies version

* fix unsupported error

* remove success result

* [code]feature: add GrepTimeDb `getHistoryMetricData`

* [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

* [warehouse]feature:
1.add GrepTimeDb `getHistory`

* [warehouse] bugfix can not catch exception when table not exist

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

* merge master

* update

* [warehouse]Add support for greptimedb.

* [warehouse]Add support for greptimedb.

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* Update warehouse/pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 9, 2024
)

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [script] update warehouse jpa store metrics expire-time to 1h

* [warehouse] support greptime db store metrics data

* [manager] update version

* [manager] update greptime

* [manager] update greptime

* constraint common dependencies version

* fix unsupported error

* remove success result

* [code]feature: add GrepTimeDb `getHistoryMetricData`

* [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

* [warehouse]feature:
1.add GrepTimeDb `getHistory`

* [warehouse] bugfix can not catch exception when table not exist

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse] support time period string query, 1h 3D 3W

* [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

* merge master

* update

* [warehouse]Add support for greptimedb.

* [warehouse]Add support for greptimedb.

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

* Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

* Update warehouse/pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 10, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 10, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
tomsun28 added a commit that referenced this pull request Mar 11, 2024
)

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [script] update warehouse jpa store metrics expire-time to 1h

  [warehouse] support greptime db store metrics data

  [manager] update version

  [manager] update greptime

  [manager] update greptime

  constraint common dependencies version

  fix unsupported error

  remove success result

  [code]feature: add GrepTimeDb `getHistoryMetricData`

  [warehouse]feature:
1.add GrepTimeDb `createDatabase`
2.Check if the database exists; if it does not exist, create the database.

  [warehouse]feature:
1.add GrepTimeDb `getHistory`

  [warehouse] bugfix can not catch exception when table not exist

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse] support time period string query, 1h 3D 3W

  [warehouse]feature:
1.add GrepTimeDb `getHistoryIntervalMetricData`

  merge master

  update

  [warehouse]Add support for greptimedb.

  [warehouse]Add support for greptimedb.

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: zqr10159 <zqr10159@126.com>

  Update warehouse src main java org dromara hertzbeat warehouse store HistoryGrepTimeDbDataStorage.java

Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Signed-off-by: tomsun28 <tomsun28@outlook.com>

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use async method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  [warehouse]
1.Update greptimedb `0.1.2` to `0.1.3`,
2.Use sync method `future.get()` to write rows,
3.Update `GrepTime` to `Greptime`

  Update warehouse pom.xml


---------

Signed-off-by: zqr10159 <zqr10159@126.com>
Signed-off-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: tomsun28 <tomsun28@outlook.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first pull request Good for newcomers new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] <support using greptimedb store history metrics data>
4 participants