Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
apache
Iotdb
提交
489be30b
I
Iotdb
项目概览
apache
/
Iotdb
10 个月 前同步成功
通知
25
Star
3344
Fork
916
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iotdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
489be30b
编写于
8月 24, 2023
作者:
C
Christofer Dutz
提交者:
GitHub
8月 25, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Feature/streamlined grafana plugin profile (#10907)
上级
05432f6d
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
162 addition
and
116 deletion
+162
-116
README.md
README.md
+1
-7
distribution/pom.xml
distribution/pom.xml
+63
-13
iotdb-connector/grafana-plugin/backend-compile.sh
iotdb-connector/grafana-plugin/backend-compile.sh
+2
-2
iotdb-connector/grafana-plugin/go.mod
iotdb-connector/grafana-plugin/go.mod
+2
-2
iotdb-connector/grafana-plugin/pom.xml
iotdb-connector/grafana-plugin/pom.xml
+86
-91
iotdb-connector/pom.xml
iotdb-connector/pom.xml
+8
-1
未找到文件。
README.md
浏览文件 @
489be30b
...
@@ -127,17 +127,11 @@ Make sure `Java` is installed, if it's missing, simply install it via:
...
@@ -127,17 +127,11 @@ Make sure `Java` is installed, if it's missing, simply install it via:
#### OpenSSL header files
#### OpenSSL header files
sudo apt -y install libssl-dev
#### OpenSSL
Usually OpenSSL is already installed, however it's missing the header files we need to compile.
Usually OpenSSL is already installed, however it's missing the header files we need to compile.
So ensure these are installed:
So ensure these are installed:
sudo apt install libssl-dev
sudo apt install libssl-dev
When enabling the
`compile-cpp`
:
### Mac OS
### Mac OS
#### Git
#### Git
...
@@ -156,7 +150,7 @@ Then install `Homebrew` - If this hasn't been installed yet, as we are going to
...
@@ -156,7 +150,7 @@ Then install `Homebrew` - If this hasn't been installed yet, as we are going to
#### Java
#### Java
As soon as that's done install
`Java`
or newer - I
f this hasn't been installed yet:
As soon as that's done install
`Java`
, i
f this hasn't been installed yet:
brew install java
brew install java
...
...
distribution/pom.xml
浏览文件 @
489be30b
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
<descriptor>
src/assembly/datanode.xml
</descriptor>
<descriptor>
src/assembly/datanode.xml
</descriptor>
<descriptor>
src/assembly/confignode.xml
</descriptor>
<descriptor>
src/assembly/confignode.xml
</descriptor>
<descriptor>
src/assembly/cli.xml
</descriptor>
<descriptor>
src/assembly/cli.xml
</descriptor>
<descriptor>
src/assembly/grafana-plugin.xml
</descriptor>
<descriptor>
src/assembly/library-udf.xml
</descriptor>
<descriptor>
src/assembly/library-udf.xml
</descriptor>
<descriptor>
src/assembly/spark-connector.xml
</descriptor>
<descriptor>
src/assembly/spark-connector.xml
</descriptor>
</descriptors>
</descriptors>
...
@@ -84,7 +83,6 @@
...
@@ -84,7 +83,6 @@
<include>
apache-iotdb-${project.version}-datanode-bin.zip
</include>
<include>
apache-iotdb-${project.version}-datanode-bin.zip
</include>
<include>
apache-iotdb-${project.version}-cli-bin.zip
</include>
<include>
apache-iotdb-${project.version}-cli-bin.zip
</include>
<include>
apache-iotdb-${project.version}-confignode-bin.zip
</include>
<include>
apache-iotdb-${project.version}-confignode-bin.zip
</include>
<include>
apache-iotdb-${project.version}-grafana-plugin-bin.zip
</include>
<include>
apache-iotdb-${project.version}-library-udf-bin.zip
</include>
<include>
apache-iotdb-${project.version}-library-udf-bin.zip
</include>
<include>
apache-iotdb-${project.version}-spark-connector-bin.zip
</include>
<include>
apache-iotdb-${project.version}-spark-connector-bin.zip
</include>
</includes>
</includes>
...
@@ -109,12 +107,6 @@
...
@@ -109,12 +107,6 @@
<version>
${project.version}
</version>
<version>
${project.version}
</version>
<type>
zip
</type>
<type>
zip
</type>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
iotdb-grafana-plugin
</artifactId>
<version>
${project.version}
</version>
<type>
pom
</type>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
iotdb-confignode
</artifactId>
<artifactId>
iotdb-confignode
</artifactId>
...
@@ -125,24 +117,71 @@
...
@@ -125,24 +117,71 @@
<groupId>
org.apache.iotdb
</groupId>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
library-udf
</artifactId>
<artifactId>
library-udf
</artifactId>
<version>
${project.version}
</version>
<version>
${project.version}
</version>
<type>
jar
</type>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
spark-iotdb-connector_2.11
</artifactId>
<artifactId>
spark-iotdb-connector_2.11
</artifactId>
<version>
${project.version}
</version>
<version>
${project.version}
</version>
<type>
jar
</type>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
spark-iotdb-connector_2.12
</artifactId>
<artifactId>
spark-iotdb-connector_2.12
</artifactId>
<version>
${project.version}
</version>
<version>
${project.version}
</version>
<type>
jar
</type>
</dependency>
</dependency>
</dependencies>
</dependencies>
<profiles>
<profiles>
<profile>
<profile>
<id>
with-cpp
</id>
<id>
with-cpp
</id>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
${maven.assembly.version}
</version>
<executions>
<!-- Package binaries-->
<execution>
<id>
all-bin
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
<configuration>
<descriptors
combine.children=
"append"
>
<descriptor>
src/assembly/client-cpp.xml
</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<!--
Create SHA512 checksum files for the release artifacts.
-->
<plugin>
<groupId>
net.nicoulaj.maven.plugins
</groupId>
<artifactId>
checksum-maven-plugin
</artifactId>
<version>
1.8
</version>
<executions>
<execution>
<id>
sign-source-release
</id>
<phase>
package
</phase>
<goals>
<goal>
files
</goal>
</goals>
<configuration>
<fileSets>
<fileSet>
<includes
combine.children=
"append"
>
<include>
apache-iotdb-${project.version}-client-cpp-${os.classifier}-bin.zip
</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<groupId>
org.apache.iotdb
</groupId>
...
@@ -152,6 +191,9 @@
...
@@ -152,6 +191,9 @@
<!-- <classifier>${os.classifier}</classifier>-->
<!-- <classifier>${os.classifier}</classifier>-->
</dependency>
</dependency>
</dependencies>
</dependencies>
</profile>
<profile>
<id>
with-grafana-plugin
</id>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
...
@@ -168,7 +210,7 @@
...
@@ -168,7 +210,7 @@
</goals>
</goals>
<configuration>
<configuration>
<descriptors
combine.children=
"append"
>
<descriptors
combine.children=
"append"
>
<descriptor>
src/assembly/
client-cpp
.xml
</descriptor>
<descriptor>
src/assembly/
grafana-plugin
.xml
</descriptor>
</descriptors>
</descriptors>
</configuration>
</configuration>
</execution>
</execution>
...
@@ -192,7 +234,7 @@
...
@@ -192,7 +234,7 @@
<fileSets>
<fileSets>
<fileSet>
<fileSet>
<includes
combine.children=
"append"
>
<includes
combine.children=
"append"
>
<include>
apache-iotdb-${project.version}-
client-cpp-${os.classifier}
-bin.zip
</include>
<include>
apache-iotdb-${project.version}-
grafana-plugin
-bin.zip
</include>
</includes>
</includes>
</fileSet>
</fileSet>
</fileSets>
</fileSets>
...
@@ -202,6 +244,14 @@
...
@@ -202,6 +244,14 @@
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
<dependencies>
<dependency>
<groupId>
org.apache.iotdb
</groupId>
<artifactId>
iotdb-grafana-plugin
</artifactId>
<version>
${project.version}
</version>
<type>
pom
</type>
</dependency>
</dependencies>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>
iotdb-connector/grafana-plugin/backend-compile.sh
浏览文件 @
489be30b
...
@@ -28,8 +28,8 @@ go get -u github.com/grafana/grafana-plugin-sdk-go
...
@@ -28,8 +28,8 @@ go get -u github.com/grafana/grafana-plugin-sdk-go
go mod tidy
go mod tidy
check_results
=
$(
go
env
|
grep
GOPATH
=
|
sed
's/\"//g'
)
check_results
=
$(
go
env
|
grep
GOPATH
=
|
sed
's/\"//g'
)
go_path
=
${
check_results
/GOPATH=/
}
go_path
=
${
check_results
/GOPATH=/
}
cd
$go_path
/pkg/mod/github.com/magefile/mage@v1.1
4
.0
cd
$go_path
/pkg/mod/github.com/magefile/mage@v1.1
5
.0
chmod
755
$go_path
/pkg/mod/github.com/magefile/
*
chmod
755
$go_path
/pkg/mod/github.com/magefile/
*
go run
$go_path
/pkg/mod/github.com/magefile/mage@v1.1
4
.0/bootstrap.go
go run
$go_path
/pkg/mod/github.com/magefile/mage@v1.1
5
.0/bootstrap.go
cd
$work_path
cd
$work_path
$go_path
/bin/mage
-v
$go_path
/bin/mage
-v
iotdb-connector/grafana-plugin/go.mod
浏览文件 @
489be30b
...
@@ -18,6 +18,6 @@ module github.com/grafana/grafana-starter-datasource-backend
...
@@ -18,6 +18,6 @@ module github.com/grafana/grafana-starter-datasource-backend
go 1.16
go 1.16
require (
require (
github.com/grafana/grafana-plugin-sdk-go v0.1
39
.0
github.com/grafana/grafana-plugin-sdk-go v0.1
72
.0
github.com/magefile/mage v1.1
3
.0 // indirect
github.com/magefile/mage v1.1
5
.0 // indirect
)
)
iotdb-connector/grafana-plugin/pom.xml
浏览文件 @
489be30b
...
@@ -26,9 +26,6 @@
...
@@ -26,9 +26,6 @@
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<name>
IoTDB: Connector: Grafana (Plugin)
</name>
<name>
IoTDB: Connector: Grafana (Plugin)
</name>
<description>
IoTDB Grafana plugin
</description>
<description>
IoTDB Grafana plugin
</description>
<profiles>
<profile>
<id>
compile-grafana-plugin
</id>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
...
@@ -117,6 +114,4 @@
...
@@ -117,6 +114,4 @@
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</profile>
</profiles>
</project>
</project>
iotdb-connector/pom.xml
浏览文件 @
489be30b
...
@@ -33,11 +33,18 @@
...
@@ -33,11 +33,18 @@
<module>
flink-iotdb-connector
</module>
<module>
flink-iotdb-connector
</module>
<module>
flink-tsfile-connector
</module>
<module>
flink-tsfile-connector
</module>
<module>
grafana-connector
</module>
<module>
grafana-connector
</module>
<module>
grafana-plugin
</module>
<module>
hadoop
</module>
<module>
hadoop
</module>
<module>
hive-connector
</module>
<module>
hive-connector
</module>
<module>
spark-iotdb-connector
</module>
<module>
spark-iotdb-connector
</module>
<module>
spark-tsfile
</module>
<module>
spark-tsfile
</module>
<module>
zeppelin-interpreter
</module>
<module>
zeppelin-interpreter
</module>
</modules>
</modules>
<profiles>
<profile>
<id>
with-grafana-plugin
</id>
<modules>
<module>
grafana-plugin
</module>
</modules>
</profile>
</profiles>
</project>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录