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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f6d91ae
[script] update warehouse jpa store metrics expire-time to 1h
tomsun28 Mar 20, 2023
4b2efe7
[script] update warehouse jpa store metrics expire-time to 1h
tomsun28 Mar 20, 2023
203a532
[script] update warehouse jpa store metrics expire-time to 1h
tomsun28 Mar 20, 2023
f7d5385
[script] update warehouse jpa store metrics expire-time to 1h
tomsun28 Mar 20, 2023
1adb54d
[warehouse] support greptime db store metrics data
tomsun28 Mar 20, 2023
f152ee9
Merge branch 'master' into greptime
tomsun28 Mar 24, 2023
a1e7a50
[manager] update version
tomsun28 Mar 25, 2023
72f6807
Merge branch 'master' into greptime
tomsun28 Mar 26, 2023
5005063
[manager] update greptime
tomsun28 Mar 26, 2023
c2ef9a8
[manager] update greptime
tomsun28 Mar 26, 2023
9c20328
constraint common dependencies version
tomsun28 Mar 26, 2023
93461d7
Merge branch 'mavenversion' into greptime
tomsun28 Mar 26, 2023
401831c
Merge branch 'master' into greptime
tomsun28 Mar 27, 2023
cf32819
fix unsupported error
tomsun28 Mar 27, 2023
1b20bf3
remove success result
tomsun28 Mar 27, 2023
901c98c
[code]feature: add GrepTimeDb `getHistoryMetricData`
zqr10159 Mar 29, 2023
fd4812e
Merge pull request #820 from zqr10159/greptime
zqr10159 Mar 29, 2023
3c0e487
[warehouse]feature:
zqr10159 Mar 30, 2023
1f22244
Merge pull request #821 from zqr10159/greptime
zqr10159 Mar 30, 2023
7f30163
[warehouse]feature:
zqr10159 Mar 31, 2023
3235965
Merge pull request #823 from zqr10159/greptime
zqr10159 Mar 31, 2023
cfdb92d
[warehouse] bugfix can not catch exception when table not exist
tomsun28 Mar 31, 2023
fe5892b
Merge branch 'master' into greptime
tomsun28 Mar 31, 2023
e387ba8
[warehouse] support time period string query, 1h 3D 3W
tomsun28 Mar 31, 2023
eb26895
[warehouse] support time period string query, 1h 3D 3W
tomsun28 Mar 31, 2023
6e56783
[warehouse]feature:
zqr10159 Apr 2, 2023
ecc9237
Merge pull request #832 from zqr10159/greptime
zqr10159 Apr 2, 2023
87bb094
Merge branch 'master' into greptime
tomsun28 Apr 2, 2023
4838591
merge master
tomsun28 Apr 2, 2023
58bcf0a
update
tomsun28 Apr 2, 2023
50f333f
[warehouse]Add support for greptimedb.
zqr10159 Apr 2, 2023
c51b073
Merge pull request #833 from zqr10159/greptime
zqr10159 Apr 2, 2023
6b7225e
[warehouse]Add support for greptimedb.
zqr10159 Apr 2, 2023
abae93d
Merge pull request #835 from zqr10159/greptime
zqr10159 Apr 2, 2023
36a9a7c
Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/…
zqr10159 Apr 3, 2023
3220123
Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/…
zqr10159 Apr 3, 2023
080c032
Update warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/…
tomsun28 Apr 3, 2023
65b5ec0
[warehouse]
zqr10159 Apr 3, 2023
f965433
[warehouse]
zqr10159 Apr 3, 2023
6aecf72
Merge remote-tracking branch 'origin/greptime' into greptime
zqr10159 Apr 3, 2023
b375d71
Merge pull request #840 from zqr10159/greptime
zqr10159 Apr 3, 2023
051b904
Update warehouse/pom.xml
tomsun28 Apr 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions warehouse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<iotdb-session.version>0.13.3</iotdb-session.version>
<spring-cloud-starter-openfeign.version>3.0.5</spring-cloud-starter-openfeign.version>
<taos-jdbcdriver.version>3.0.0</taos-jdbcdriver.version>
<greptimedb.version>0.1.3</greptimedb.version>
</properties>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -78,6 +79,52 @@
<artifactId>iotdb-session</artifactId>
<version>${iotdb-session.version}</version>
</dependency>
<dependency>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-protocol</artifactId>
<version>${greptimedb.version}</version>
<exclusions>
<exclusion>
<groupId>io.grpc</groupId>
<artifactId>grpc-all</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.greptime</groupId>
<artifactId>greptimedb-grpc</artifactId>
<version>${greptimedb.version}</version>
<exclusions>
<exclusion>
<groupId>io.grpc</groupId>
<artifactId>grpc-all</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- kafka -->
<dependency>
<groupId>org.apache.kafka</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ public static class StoreProperties {
* IoTDB配置信息
*/
private IotDbProperties iotDb;
/**
* GrepTimeDB Config
*/
private GreptimeProperties greptime;

public JpaProperties getJpa() {
return jpa;
Expand Down Expand Up @@ -209,6 +213,14 @@ public void setIotDb(IotDbProperties iotDb) {
this.iotDb = iotDb;
}

public GreptimeProperties getGreptime() {
return greptime;
}

public void setGreptime(GreptimeProperties greptime) {
this.greptime = greptime;
}

public static class MemoryProperties {
/**
* 内存数据存储是否启动
Expand Down Expand Up @@ -596,6 +608,60 @@ public void setExpireTime(String expireTime) {
this.expireTime = expireTime;
}
}

public static class GreptimeProperties {
/**
* Whether the GrepTimeDB data store is enabled
*/
private boolean enabled = false;

/**
* GrepTimeDB endpoint
*/
private String endpoint = "127.0.0.1:4001";

/**
* GrepTimeDB username
*/
private String username;

/**
* GrepTimeDB password
*/
private String password;

public boolean isEnabled() {
return enabled;
}

public void setEnabled(boolean enabled) {
this.enabled = enabled;
}

public String getEndpoint() {
return endpoint;
}

public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}

public String getUsername() {
return username;
}

public void setUsername(String username) {
this.username = username;
}

public String getPassword() {
return password;
}

public void setPassword(String password) {
this.password = password;
}
}
}

}
Loading