docs: enhance influxdb migration guide#2624
Open
MichaelScofield wants to merge 7 commits into
Open
Conversation
Deploying greptime-docs with
|
| Latest commit: |
9d70bfe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://af332c98.greptime-docs.pages.dev |
| Branch Preview URL: | https://docs-enhance-influxdb-migrat.greptime-docs.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the InfluxDB → GreptimeDB migration documentation (EN + zh) by correcting/clarifying write API examples (including timestamp precision) and expanding the shared migration guide content (data-model mapping, query migration hints, and validation steps).
Changes:
- Update InfluxDB line protocol HTTP write examples to include
precision=nsand usebucketfor v2 write requests. - Expand the shared migration guide with data-model mapping tables, InfluxQL→SQL mapping guidance, and post-import validation steps.
- Improve import shell snippets by quoting
${file}in--data-binary.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/user-guide/migrate-to-greptimedb/migrate-from-influxdb.md | Updates self-hosted migration write examples (v2 bucket + precision=ns; v1 precision=ns; safer --data-binary quoting). |
| docs/greptimecloud/migrate-to-greptimecloud/migrate-from-influxdb.md | Updates GreptimeCloud migration write examples similarly (adds precision=ns; safer --data-binary quoting). |
| docs/db-cloud-shared/migrate/migrate-from-influxdb.md | Adds richer shared migration guidance (data-model mapping, query migration mapping, validation steps). |
| i18n/zh/docusaurus-plugin-content-docs/current/user-guide/migrate-to-greptimedb/migrate-from-influxdb.md | Mirrors self-hosted write-example updates in zh localized docs. |
| i18n/zh/docusaurus-plugin-content-docs/current/greptimecloud/migrate-to-greptimecloud/migrate-from-influxdb.md | Mirrors GreptimeCloud write-example updates in zh localized docs. |
| i18n/zh/docusaurus-plugin-content-docs/current/db-cloud-shared/migrate/migrate-from-influxdb.md | Mirrors shared migration-guide enhancements in zh localized docs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
fengjiachun
reviewed
Jul 15, 2026
Contributor
Author
|
@fengjiachun PTAL |
killme2008
reviewed
Jul 16, 2026
|
|
||
| ```shell | ||
| curl -X POST 'http://<host>:4000/v1/influxdb/api/v2/write?db=<db-name>' \ | ||
| curl -X POST 'http://<host>:4000/v1/influxdb/api/v2/write?bucket=<db-name>&precision=ns' \ |
Member
There was a problem hiding this comment.
Since precision=ns is the default, is it necessary to include it in the URL?
Co-authored-by: dennis zhuang <killme2008@gmail.com>
killme2008
approved these changes
Jul 17, 2026
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's Changed in this PR
... from the blog
Checklist
sidebars.tsmatches the current document structure when you changed the document structure.