Skip to content

Conversation

qzhello
Copy link
Contributor

@qzhello qzhello commented May 9, 2024

What is the problem your feature solves, or the need it fulfills?

增加check接口,用于排查ck表在index pattern中不显示的问题

Describe the solution you'd like

通过接口/check/表名来访问,例如:/check/ops_test_all
返回结构如下:

{
    "index": "ops_test_all",
    "databaseUrls": [
        "jdbc:clickhouse://demo.test:80/ops"
    ],
    "directToEs": true,
    "hitTables": [],
    "inWhiteList": false,
    "whiteList": [
        "ops_test_all",
        "ops_test1_all"
    ],
    "sql": "SELECT name FROM system.tables WHERE database = 'ops'  AND name = 'ops_test_all'  "
}

Describe alternatives you've considered

@qzhello qzhello merged commit cbb28c4 into TongchengOpenSource:main May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant