Skip to content

docs(timestream-influxdb-mcp-server): Add schema design, query, and ingestion guidance - #9

Merged
trevorbonas merged 45 commits into
mainfrom
influxdb-power-schema
Jun 17, 2026
Merged

docs(timestream-influxdb-mcp-server): Add schema design, query, and ingestion guidance#9
trevorbonas merged 45 commits into
mainfrom
influxdb-power-schema

Conversation

@trevorbonas

Copy link
Copy Markdown

Fixes

Summary

Changes

Adds schema design details for InfluxDB v2.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Is this a breaking change? (Y/N)

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

@trevorbonas trevorbonas changed the title Add schema-design.md for InfluxDB v2 docs(timestream-influxdb-mcp-server): add schema-design.md for InfluxDB v2 May 27, 2026
Base automatically changed from influxdb-power-onboarding to main May 28, 2026 16:24
trevorbonas and others added 2 commits May 28, 2026 11:06
…d ingestion guides (#10)

* Add InfluxDB v2 and v3 query guides

* Add ingestion guides for InfluxDB v2 and v3 (#11)

* Add ingestion guides for InfluxDB v2 and v3

* Direct agents to query-guide.md for schema guidance

* Apply suggestion from @fredjoonpark

Co-authored-by: j00n <fred.park@improving.com>

* Apply suggestion from @fredjoonpark

Co-authored-by: j00n <fred.park@improving.com>

---------

Co-authored-by: j00n <fred.park@improving.com>

* Specify that Content-Type is required for v2 query requests

* Remove Content-Type header from InfluxDB v3 GET requests

* Add query parameter details for InfluxDB v3 query requests

* Refer to db as DATABASE_NAME in all InfluxDB v3 query documentation

* Fix broken curl command for v2 query guide

* Change chunked_size to chunk_size

* Remove Content-Type for example InfluxDB v3 GET request

* Remove extra bracket in timestamp comment

* Remove duplicate keywords from InfluxDB v3 query guide

* Change accept_partial default to true

* Fix epoch options in write_lp

* Add json body POST v2 example

---------

Co-authored-by: j00n <fred.park@improving.com>
@trevorbonas trevorbonas changed the title docs(timestream-influxdb-mcp-server): add schema-design.md for InfluxDB v2 docs(timestream-influxdb-mcp-server): Add schema design, query, and ingestion guidance Jun 3, 2026
Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/POWER.md

@fredjoonpark fredjoonpark left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's also add a section to the README pointing to our power.md, similar to:
https://github.com/Bit-Quill/mcp/blob/main/src/aurora-dsql-mcp-server/README.md#kiro-power - though their linked power is broken. we can link to our power.md here instead.

also, let's move POWER.md + steering into a folder called kiro_power (following pattern i see in the other svcs)

Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/POWER.md
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/power/POWER.md Outdated
@trevorbonas

Copy link
Copy Markdown
Author

let's also add a section to the README pointing to our power.md, similar to: https://github.com/Bit-Quill/mcp/blob/main/src/aurora-dsql-mcp-server/README.md#kiro-power - though their linked power is broken. we can link to our power.md here instead.

also, let's move POWER.md + steering into a folder called kiro_power (following pattern i see in the other svcs)

I've tried my best to replicate that section in our README.md, adjusted for Timestream for InfluxDB.

I've renamed power to kiro_power.

@fredjoonpark fredjoonpark left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in getting-started, we should also use links to the referenced docs

Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/steering/influxdb2/ingestion.md Outdated
### V3 — cluster only
Timestream for InfluxDB 3 is **always deployed as a cluster** (`create-db-cluster`). There is no single-instance API for V3. The cluster's topology is determined by the parameter group, not a `--deployment-type` flag (do **not** pass `--deployment-type` for V3):

- **Core** (`InfluxDBV3Core`) — a **single-node** cluster. Ingestion, querying, compaction, and the processing engine all run on one node and share compute. Core has **no dedicated compactor**, so it is best for recent data (typically the last 3–5 days).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does casing matter in the actual API? ie

if it does, let's make it consistent across all our docs (V3 vs v3), for both core and enterprise params.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The casing matters. InfluxDBV3Enterprise and InfluxDBV3Core are the names and IDs of service-owned parameter groups. When creating parameter groups, InfluxDBv3Core and InfluxDBv3Enterprise are used to specify options. I've clarified this through all documentation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow how annoying. I wonder if this should be fixed on the service side, feel like this can very easily confuse agents (and humans). what do you think?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, with all of their users, I doubt Timestream would want to change this, even if it were possible.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe they could at least relax the constraint?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Timestream could relax the constraint of lower and upper casing? We can reach out to them. It's not in scope for the PR.

@fredjoonpark fredjoonpark left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trevorbonas have you confirmed you can actually load the power with the MCP and see it in action? and how did you verify, is this shareable in some way?

Comment thread src/timestream-for-influxdb-mcp-server/README.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/POWER.md
Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/steering/influxdb2/gotchas.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/steering/influxdb2/gotchas.md Outdated
Comment thread src/timestream-for-influxdb-mcp-server/kiro_power/steering/glossary.md Outdated

@forestmvey forestmvey left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trevorbonas
trevorbonas merged commit af95a5f into main Jun 17, 2026
183 of 187 checks passed
@trevorbonas
trevorbonas deleted the influxdb-power-schema branch June 17, 2026 22:22
@trevorbonas
trevorbonas restored the influxdb-power-schema branch June 17, 2026 22:25
- Target **5,000+ points per request** minimum
- Optimal batch size: 5,000–10,000 points
- Max recommended: ~50,000 points per request (beyond this, HTTP timeouts become a risk)
- For high-throughput workloads, tune write timeout in the parameter group (see Tuning section below)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont see a write timeout parameter, can we add it to the tuning section?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not applicable for V3 so I instead recommend scaling vertically or horizontally.

@@ -65,8 +66,8 @@ Design principle: same as V2 — **one database per retention period**.
Guidance:
- Create databases via `POST /api/v3/configure/database`.
- Retention is set via `retentionPeriod` (e.g. `"7d"`, `"90d"`, `"1y"`). Null or omitted = infinite.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we use retention_period in the example, but use retentionPeriod in descriptions (also at https://github.com/Bit-Quill/mcp/pull/9/changes#diff-57bc8c6d85c993e16ba46f78352a762d1cf98e0e985e00b727878da8fb20012dR12) - do both work? can we make it consistent?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to retention_period. That's what the HTTP V3 API expects.


## Best Practices

- SHOULD ask user about which version of InfluxDB they are using if not specified.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's include onboarding guides here for as well, as it's the main getting started doc

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

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.

3 participants