跳到主要内容
跳到主要内容

Omni

Partner Integration

Omni 可以通过官方 ClickHouse 数据源连接到 ClickHouse Cloud 或本地自建部署的 ClickHouse。

1. 收集连接信息

To connect to ClickHouse with HTTP(S) you need this information:

Parameter(s)Description
HOST and PORTTypically, the port is 8443 when using TLS or 8123 when not using TLS.
DATABASE NAMEOut of the box, there is a database named default, use the name of the database that you want to connect to.
USERNAME and PASSWORDOut of the box, the username is default. Use the username appropriate for your use case.

The details for your ClickHouse Cloud service are available in the ClickHouse Cloud console. Select a service and click Connect:

ClickHouse Cloud service connect button

Choose HTTPS. Connection details are displayed in an example curl command.

ClickHouse Cloud HTTPS connection details

If you are using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.

2. 创建 ClickHouse 数据源

进入 Admin -> Connections,然后点击右上角的“Add Connection”按钮。

Omni 管理界面在 Connections 部分中显示 Add Connection 按钮

选择 ClickHouse,并在表单中输入你的认证信息。

Omni 中用于 ClickHouse 的连接配置界面,显示认证信息表单字段

现在你就可以在 Omni 中查询和可视化 ClickHouse 中的数据了。