Repository navigation
docs: fix query and BI integration guides for current tool releases - #3049
Merged
Merged
Conversation
Deploying greptime-docs with
|
| Latest commit: |
0d43cfe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f8f25620.greptime-docs.pages.dev |
| Branch Preview URL: | https://docs-verify-query-integratio.greptime-docs.pages.dev |
killme2008
requested review from
sunchanglong and
sunng87
and
a balanced review from Copilot
November 17, 2026 06:13
killme2008
marked this pull request as ready for review
November 17, 2026 06:13
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review reports no active issues with the integration-guide updates.
No open issues 🎉
What changed in this PR
Updates GreptimeDB’s query and BI integration guides for current tool releases, keeping English and Chinese documentation aligned across Nightly and version 1.3.
Changes:
- Corrects Grafana SQL macros and refreshes Grafana, Perses, and Metabase configuration instructions.
- Adds Streamlit dependencies and switches its connection example to the PyMySQL driver.
- Repairs the Perses plugin link, removes GreptimeCloud-specific notes, and fixes documentation typos.
| File | Description |
|---|---|
versioned_docs/version-1.3/user-guide/integrations/superset.md |
Cleans up wording and removes the cloud-specific note. |
versioned_docs/version-1.3/user-guide/integrations/streamlit.md |
Adds dependencies and the PyMySQL connection URL. |
versioned_docs/version-1.3/user-guide/integrations/perses.md |
Repairs the plugin link and updates setup steps. |
versioned_docs/version-1.3/user-guide/integrations/metabase.md |
Updates menu labels and removes the cloud-specific note. |
versioned_docs/version-1.3/user-guide/integrations/grafana.md |
Corrects macros and updates configuration labels. |
i18n/zh/docusaurus-plugin-content-docs/version-1.3/user-guide/integrations/superset.md |
Fixes Chinese-guide typos and removes the cloud-specific note. |
i18n/zh/docusaurus-plugin-content-docs/version-1.3/user-guide/integrations/streamlit.md |
Adds dependencies and the PyMySQL URL to the Chinese guide. |
i18n/zh/docusaurus-plugin-content-docs/version-1.3/user-guide/integrations/perses.md |
Updates the Chinese plugin link and setup steps. |
i18n/zh/docusaurus-plugin-content-docs/version-1.3/user-guide/integrations/metabase.md |
Refreshes Chinese menu instructions and database guidance. |
i18n/zh/docusaurus-plugin-content-docs/version-1.3/user-guide/integrations/grafana.md |
Aligns Chinese macros and configuration labels. |
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/integrations/superset.md |
Fixes Chinese-guide typos and removes the cloud-specific note. |
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/integrations/streamlit.md |
Adds dependencies and the PyMySQL URL to the Chinese guide. |
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/integrations/perses.md |
Updates the Chinese plugin link and setup steps. |
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/integrations/metabase.md |
Refreshes Chinese menu instructions and database guidance. |
i18n/zh/docusaurus-plugin-content-docs/current/user-guide/integrations/grafana.md |
Aligns Chinese macros and configuration labels. |
docs/user-guide/integrations/superset.md |
Cleans up wording and removes the cloud-specific note. |
docs/user-guide/integrations/streamlit.md |
Adds dependencies and the PyMySQL connection URL. |
docs/user-guide/integrations/perses.md |
Repairs the plugin link and updates setup steps. |
docs/user-guide/integrations/metabase.md |
Updates menu labels and removes the cloud-specific note. |
docs/user-guide/integrations/grafana.md |
Corrects macros and updates configuration labels. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Ran the query and BI integration pages against each tool's latest stable release and GreptimeDB v1.3.1. These broke:
grafana.md:$fromTime_ms,$toTime_ms, and$interval_sare not expanded; the plugin registers them under the$__prefix.$__conditionalAlltakes a condition and a variable and never generatesIN (...).$__timeInterval(col)does not quote the column. The plugin README has the same errors: README macro table: wrong names for _ms/_s macros and wrong $__conditionalAll signature greptimedb-grafana-datasource#74.perses.md: the GreptimeDB plugin link returned 404.streamlit.md: the snippet failed with onlystreamlitinstalled, and the baremysql://URL needs mysqlclient, which has to be compiled. The page now installsstreamlit sqlalchemy pymysqland usesmysql+pymysql://.These were out of date:
grafana.md: labels in the plugin config (v3.0.4) and in the Prometheus and MySQL data sources (Grafana 13.3.1), e.g. Server address, Authentication → Basic authentication, HTTP headers, Host URL, Session Timezone under Additional settings.perses.md: data sources are added from the project's Datasources tab, with Source and HTTP Settings.metabase.md: the menu is Settings / Admin / Databases in Metabase 0.65.superset.md,metabase.md: dropped the GreptimeCloud notes; fixed typos.Coroot, DBeaver, MindsDB, and MCP pages work as written. The MCP run found GreptimeTeam/greptimedb-mcp-server#52.
Scope
Verification
Tested versions: Grafana 13.3.1 with plugin v3.0.4, Perses 0.55.1, Coroot 1.29.2, Superset 6.1.0 with greptimedb-sqlalchemy 0.1.7, Metabase 0.65.4 with driver v0.3.3, DBeaver 26.2.5 (driver and JDBC connection only, no GUI), Streamlit 1.67.0, MindsDB 26.1.0, greptimedb-mcp-server 0.6.1.
Data sources were configured through each tool's API with the documented settings and queried. The corrected Grafana macros and the Streamlit snippet were rerun. Grafana and Perses labels were checked against the plugin source, Grafana's data source docs at v13.3.1, and Perses' getting-started guide; Metabase menu names against the 0.65.4 frontend.
$__conditionalAllis expanded in the frontend and was checked in source only.DOC_LANG=en pnpm check:linksandDOC_LANG=zh pnpm check:linkspass.Checklist