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

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

Merged
merged 1 commit into from
May 9, 2024

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