Commit Graph

39 Commits (sql-difference-fn)

Author SHA1 Message Date
Copilot ba28e124b1
Add Documentation MCP server pages to chronograf, kapacitor, flux, and explorer (#6833)
* Initial plan

* feat: add Documentation MCP server pages to chronograf, kapacitor, flux, and explorer

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* fix: update MCP page descriptions to include product names

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* fix: resolve product-name shortcode for v1/v0 versioned products

The shortcode previously only checked the second URL path segment to
identify products, which works for InfluxDB 3 (/influxdb3/core/) but
fails for older products where the second segment is a version number
(/chronograf/v1/, /flux/v0/).

Add namespace extraction (first path segment) and conditional logic to
look up products by namespace when the version is v1 or v0. This fixes
empty product names in meta descriptions for Chronograf, Telegraf,
Kapacitor, Flux, and InfluxDB Enterprise v1.

* feat: relocate v2/cloud MCP pages and add alt_links for cross-product navigation

- Move MCP server pages from reference/ to tools/ for InfluxDB v2 and Cloud
- Add alt_links frontmatter to all MCP pages for cross-product navigation
- Use product-name shortcode in descriptions for consistency
- Convert code-placeholders shortcode to fenced code block attributes
- Update shared content to use version-agnostic URLs

* Add multi-assistant installation instructions for documentation MCP server (#6836)

* Initial plan

* feat(mcp): add installation instructions for multiple AI assistants

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

* refactor(mcp): replace Cline and Windsurf with GitHub Copilot and OpenCode

Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jstirnaman <212227+jstirnaman@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2026-02-18 14:20:26 -06:00
Jason Stirnaman c32e05175d
docs(influxdb3): Add Core to Enterprise upgrade documentation (#6758)
Add dedicated documentation for upgrading from InfluxDB 3 Core to
Enterprise, covering Quick install, Docker, and DEB/RPM workflows.

- Create shared upgrade-to-enterprise.md with step-by-step instructions
- Add frontmatter pages for Core (/admin/upgrade-to-enterprise/) and
  Enterprise (/admin/upgrade-from-core/) with alt_links
- Expand license.md with license tier management procedures
- Add upgrade cross-references to install pages
- Rename upgrade.md titles for SEO clarity (Upgrade InfluxDB 3 Core/Enterprise)

Closes influxdata/DAR#596
2026-01-27 12:16:48 -06:00
Jason Stirnaman 2f5af3c54c
docs(influxdb3): release documentation for Core and Enterprise v3.8.0 (#6647)
* docs(influxdb3): release documentation for Core and Enterprise v3.8.0

- Update latest_patch to 3.8.0 in products.yml
- Add placeholder release notes for v3.8.0
- Update site notification for v3.8.0 release

* chore: add 3.8 release notes (#6638)

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* feat(influxdb3): update install for DEB/RPM and add admin/security (#6643)

* feat(influxdb3): add shared/influxdb3-admin/security.md

* feat(influxdb3): update install for DEB/RPM

* chore: fix hard-coded 'enterprise' in influxdb3 install

* Update content/shared/influxdb3/install.md

Love it!

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* Update content/shared/influxdb3/install.md

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* Update content/shared/influxdb3/install.md

* Update content/shared/influxdb3/install.md

* Update content/shared/influxdb3/install.md

* Update content/shared/influxdb3/install.md

* Update content/shared/influxdb3/install.md

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* Update content/shared/influxdb3/install.md

* chore: add influxdb 3.8 notification (#6645)

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: peterbarnett03 <peter.barnett03@gmail.com>
Co-authored-by: Jamie Strandboge <jamie@influxdata.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-12-18 09:54:25 -06:00
Jason Stirnaman f084fe3a31
Ask AI group filters (#6529)
* feat(askai): add Kapa.ai source group filtering for InfluxDB v3

- Add ai_source_group_ids field to all InfluxDB v3 products in data/products.yml
- Add getProductSourceGroupIds() function to retrieve source group IDs from product data
- Enables filtered AI responses using Kapa source groups for documentation pages
- Follows existing pattern for dynamic product configuration
- Implement version-specific config support (__v1, __v2 suffixes)
- Append version hints to example questions for InfluxDB database products only
- Make example questions generic (remove product-specific names)
- Tools (Telegraf, Chronograf, Kapacitor, Flux, Explorer) display questions without version hints
- Pre-fills chat input with [version: /path/] for InfluxDB database products
- Users can easily edit or remove the pre-filled text
- Works for manual opens (Cmd+K) and programmatic opens
- Converts module to TypeScript

* refactor(ask-ai): change version format to 'My version: <product name>'

Use human-readable product names instead of URL paths for better UX.
Example: 'My version: InfluxDB 3 Core' instead of '[version: /influxdb3/core/]'

* fix(ask-ai): restore working Kapa.open() pre-fill implementation

- Replace textarea detection with direct Kapa.open() call
- Add Kapa preinitialization code
- Use click handler on .ask-ai-open button with capture phase
- Handle conversation reset event to re-fill version context
- Remove console logging for cleaner production code

* fix(ask-ai): remove parentheses from example questions for consistency

Make example question format match the pre-fill format:
- Before: 'question (My version: product)'
- After: 'question My version: product'

This ensures users don't think there's a difference between the two formats.

* fix(askai): add Explorer product mapping for Ask AI widget

- Add influxdb3_explorer mapping to getCurrentProductData()
- Add explorer context to getContext() function
- Ensures Explorer pages use correct ai_sample_questions from products.yml
- Reorder Explorer questions with 'install and run' first

This fixes the issue where Explorer Ask AI widget was showing wrong
example questions by properly loading the influxdb3_explorer config.

* test(page-context): add comprehensive e2e tests for product mappings

Add Cypress tests to validate page-context.js correctly identifies:
- Product context values for all InfluxDB products
- Product data from products.yml configuration
- Version information
- AI sample questions and source group IDs
- Placeholder host values

Tests cover:
- InfluxDB 3 (Core, Enterprise, Explorer, Cloud variants, Clustered)
- InfluxDB v2 and v1
- InfluxDB Cloud (TSM)
- Tools (Telegraf, Chronograf, Kapacitor, Flux)

Validates the fix for Explorer Ask AI showing correct example questions.

Related to #jts-askai-group-filters branch work.

* feat(test): add --no-mapping flag to e2e test runner

Allow running functionality tests without requiring content file paths.
The --no-mapping flag skips content-to-URL mapping, making it easier
to run tests that don't depend on specific content files.

Usage:
  # With content mapping (for content-specific tests)
  node run-e2e-specs.js content/influxdb3/core/_index.md

  # Without content mapping (for functionality tests)
  node run-e2e-specs.js --spec cypress/e2e/page-context.cy.js --no-mapping

Benefits:
- Simplifies running functionality tests like page-context.cy.js
- Reduces test startup time by skipping unnecessary file mapping
- Makes test commands clearer about their purpose

The page-context test was updated to work correctly with this flag.

* deps: update caniuse and related hook files

* test: Add a `--no-mapping` flag to run tests without specific content files (i.e., test contains all the URLs it needs)

* chore(ask-ai): Format example questions

* test(page-context): add comprehensive e2e tests for all products in products.yml

- Expanded test suite from 6 to 27 tests covering all products
- Added tests for InfluxDB 3 products (Explorer, Core, Enterprise, Cloud Serverless, Cloud Dedicated, Clustered)
- Added tests for InfluxDB v2 and Cloud (TSM)
- Added tests for InfluxDB v1 and Enterprise v1
- Added tests for other products (Telegraf, Chronograf, Kapacitor, Flux)
- Validates page mappings in page-context.js
- Validates AI sample questions configuration in products.yml
- All 27 tests passing

* fix(page-context): correct enterprise_influxdb URL pattern matching

- Changed pattern from /enterprise_v1/ to /enterprise_influxdb/
- Fixes Ask AI example questions not showing correctly for Enterprise v1
- Pattern now matches actual URL structure /enterprise_influxdb/v1/
- All 27 e2e tests passing

* test(page-context): add UI validation for Ask AI widget configuration

- Added 4 tests checking Kapa widget script data attributes
- Tests verify data-modal-example-questions contains correct product-specific questions
- Validates Explorer, Core, Enterprise, and Enterprise v1 configurations
- All 31 tests passing (27 existing + 4 new UI tests)

* feat(ask-ai): add help in Ask AI widget placeholder

- InfluxDB placeholder recommends specifying product and version
- Fix page-context.js to use products.influxdb_cloud instead of products.cloud
- Add UI tests verifying version-specific naming in Kapa widget script tags

* feat(ask-ai): Tailors placeholder for each version/product. Disables "Viewing <product>" in disclaimer note.
2025-11-18 16:43:02 -06:00
Jason Stirnaman a584807f1f
feat(influxdb3): Core/Enterprise: Upgrade instance or cluster:- Addre… (#6483)
* feat(influxdb3): Core/Enterprise: Upgrade instance or cluster:- Addresses recent internal requests for upgrade steps- Provide examples for Core or Enterprise single node (instance)- Provide steps recommended by Engineering and examples- Link from related pages

* Apply suggestion from @sanderson

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestion from @sanderson

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestion from @sanderson

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestion from @sanderson

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Apply suggestion from @sanderson

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* docs(enterprise): clarify catalog version constraints for v3.3.x to v3.4.x upgrade

- Specify that catalog modification constraint applies when upgrading from v3.3.x (or earlier) to v3.4.x
- Add troubleshooting section noting that different version transitions may have different constraints
- Direct users to check release notes for version-specific upgrade requirements

Resolves review comment from hiltontj about catalog version boundaries.

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-10-25 07:42:53 -05:00
Jason Stirnaman a30345170c
Core and Ent3 performance tuning guide and configuration options (#6421)
* feat(influxdb3): Core and Ent performance tuning guide:Add an admin/performance-tuning/ page with specific workload and capacity configurations.Part of #6403.

* fix(influxdb3): product-specific link fragments for flags

* fix(influxdb3): enterprise-specific link fragments

* Apply suggestion from @jstirnaman

* fix(influxdb3): duplicate licensing and resource limits sections- Rem… (#6470)

* fix(influxdb3): duplicate licensing and resource limits sections- Remove duplicate licensing section- Resolve resource limits duplicates, merging details into the Resource limits section.

* fix(influxdb3): fix broken links and enterprise-only flags in config options

- Comment out TOC links to undocumented datafusion-runtime-* dev flags
- Wrap enterprise-only section references (#licensing, #resource-limits) in conditionals
- Fix num-datafusion-threads incorrectly marked as enterprise-only
- Move Resource Limits section heading outside enterprise wrapper

Resolves broken fragment links for both Core and Enterprise builds.

* feat(enterprise): add cluster management documentation (#6431)

Add comprehensive guide for managing InfluxDB 3 Enterprise clusters including:
- Node configuration and deployment
- Cluster initialization and scaling
- Node removal and replacement procedures
- Best practices for production deployments

* Fixes multiple influxdb3 config option issues:

-  Fixed option placement (global vs serve options) in performance-tuning.md
-  Fixed --datafusion-num-threads option name (was --num-datafusion-threads)
-  Fixed --parquet-mem-cache-size option name and defaults for Core
-  Commented out unreleased --compaction-row-limit option
-  Added v3.0.0 breaking changes to release notes
-  Updated config-options.md with correct defaults and value formats

All changes verified against InfluxDB v3.5.0 release binaries and git history.

* fix(influxdb3): config options in clustering.md

- Correctly place server options
- Comment out unreleased options
2025-10-21 13:14:31 -05:00
Jason Stirnaman d5866d1737 feat(influxdb3): Data retention in Core and Enterprise:
- Adds /reference/internals/data-retention/ for data retention behavior and retention period details
- admin/databases and admin/tables:
  - Adds examples for API and retention period
  - Adds cautions and behavior notes for Core retention
- reference/cli/influxdb3: Adds usage examples and details
- Closes /influxdata/DAR/issues/548
2025-10-10 15:00:52 -05:00
Scott Anderson ebe1ec9750
InfluxDB 3 Explorer 1.2 (#6350)
* feat(explorer): WIP cache management docs

* feat(explorer): add cache management guides, fix js bugs

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-29 08:44:59 -06:00
Scott Anderson deb6307093 hotfix: add related links to offline token guides 2025-08-28 07:14:37 -06:00
Scott Anderson 3222c7a9fb
InfluxDB 3.4 offline tokens (#6346)
* update: add 3.4 notes

* update: 3.4 notes

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* Update content/shared/v3-core-enterprise-release-notes/_index.md

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>

* feat(influxdb-3.4): added cli updates for influxdb 3.4

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: add whitespace to influxdb3 write doc

* feat(offline-tokens): add offline tokens to config options page

* feat(offline-tokens): add task-based offline token docs

* fix(links): fixed broken links and added TOC to offline tokens guide

* Apply suggestions from code review

Co-authored-by: マルコメ <akio.muto@bnt.benextgroup.jp>

* chore(offline-tokens): add token string security standards

* chore(offline-tokens): add note about token string prefix

---------

Co-authored-by: Peter Barnett <peter.barnett03@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: マルコメ <akio.muto@bnt.benextgroup.jp>
2025-08-28 07:03:03 -06:00
Peter Barnett 7fcd338b2e update: fix some wording and call out restore process 2025-08-25 09:32:48 -04:00
Jason Stirnaman f975f164fd chore(influxdb3): adjust Admin weights for the sidebar nav 2025-08-22 16:58:29 -05:00
Jason Stirnaman 0ddd5a2257 feat(influxdb3): Back up and restore Core and Enterprise:- Recommends a process for back up and recovery of files in object storage.- Provides examples for Core and Enterprise'- Prescribes the order to stop, back up, and restart nodes. 2025-08-22 16:50:11 -05:00
Jason Stirnaman cd21fbcd22
Merge branch 'master' into jts-dar-515-naming 2025-07-11 08:36:35 -05:00
Jason Stirnaman 3f8b84e4e1
Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-07-11 08:12:40 -05:00
Jason Stirnaman a4549ad5ef feat(influxdb3): add admin/tables guides for list and delete:
- Add Core and Ent. guides for using the CLI and API to list and delete tables.
- Closes #6215
2025-07-10 18:05:30 -05:00
Jason Stirnaman 1c8a7b8606 feat(influxdb3): create table guides for core and ent
Part of #6215
2025-07-10 17:07:57 -05:00
Jason Stirnaman beeb428470 feat(v3): Add naming restrictions reference and guidelines:
- Fixes influxdata/DAR#515: discourages the use of a leading underscore in database and table names in all InfluxDB 3 versions, but doesn't disallow it
- Add detailed naming restrictions reference for all InfluxDB 3 versions
- Add basic guidelines in table and database creation guides.
- Core and Ent table guides are forthcoming in a separate PR
2025-07-10 16:10:27 -05:00
Scott Anderson ec6e28d0e2
Add MCP server documentation to Core, Enterprise, and Cloud Dedicated (#6200)
* add mcp server documentation for core, enterprise, and cloud-dedicated

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

* updated mcp server npm/docker package names, updated environment variables

* updated the mcp server instructions to be correct

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-07-09 15:23:48 -05:00
Scott Anderson d176eea4e7
Manage databases and tokens in InfluxDB 3 Explorer (#6162)
* Manage databases and tokens in Explorer

* Update content/influxdb3/explorer/manage-tokens.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-26 16:35:31 -05:00
Jason Stirnaman 60a79b3f92 fix(mono): providing tokens using env var or --token, missing core/admin/tokens/admin content 2025-05-29 11:11:28 -05:00
Jason Stirnaman 78b2b5ba72 chore(mono): apply caching suggestion 2025-05-29 09:37:35 -05:00
Jason Stirnaman 3bf419fb1d fix: links missing leading slash 2025-05-29 09:06:42 -05:00
Jason Stirnaman 7bf799c3d0 fix(mono): Update descriptions to be more operator-specific 2025-05-28 23:39:50 -05:00
Jason Stirnaman 2318cf7ac7 feat(mono): 3.1 admin tokens:
- Updates get-started and admin guides, CLI references
- Adds admin token CLI reference page
- Operator token (_admin) - system-generated, non-expiring
- Named admin tokens - user-defined with expiration support
- Resource tokens (Enterprise only) - database and system tokens
- Core vs Enterprise token limits properly documented
- Create the initial operator token
2025-05-28 22:41:03 -05:00
Jason Stirnaman e9d3cb46d8
Apply suggestions from code review
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-28 10:29:16 -05:00
Jason Stirnaman 97856f61c6
Update content/influxdb3/core/admin/tokens/admin/list.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-04-28 10:06:36 -05:00
Jason Stirnaman 6358ec8b6f chore(influxdb3): Tokens: Guides and references for list and create admin and resource tokens. 2025-04-28 00:16:53 -05:00
Jason Stirnaman 80de38933c feat(influxdb3): Core and Enterprise: add create admin token API examples 2025-04-21 13:51:10 -05:00
Jason Stirnaman 2a46dddf55 chore(influxdb3): Core and Enterprise: Use shared admin/tokens 2025-04-21 13:04:51 -05:00
Scott Anderson 1ce0c76664
Fix '--node-spec' examples (#6001)
* fix node-spec flags and examples

* fix node-spec frontmatter examples
2025-04-18 08:53:13 -06:00
Scott Anderson 3f1726dc04 fixed token code examples in frontmatter 2025-04-15 07:10:15 -06:00
Jason Stirnaman 1437dc040d
Merge pull request #5978 from influxdata/jts-monolith-tokens
Core and Enterprise auth tokens
2025-04-15 08:06:25 -05:00
Jason Stirnaman de8ab2ec7f feat(mono): Manage admin tokens 2025-04-15 02:21:38 -05:00
Scott Anderson 0bcdb3fb88 updated admin section weights 2025-04-14 17:11:16 -06:00
Scott Anderson a5b9b56460
Manage InfluxDB 3 Distinct Value Caches (#5977)
* add distinct value cache management docs

* updated references to last values in dvc guides
2025-04-14 16:46:55 -06:00
Scott Anderson 92f34a5300
Add LVC management docs to Core and Enterprise (#5971)
* add LVC management docs

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* enterprise rebuilds LVCs on restart

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-04-14 10:28:19 -06:00
Jason Stirnaman 7271869e89 feat(monolith): Query system data for Core and Enterprise
- Revises Paul's draft for using /api/v3/query_sql to query system data.
- Copies the existing structure for Ded. and Clustered
- Adds an explicit POST example for a longer query.
2025-02-19 23:50:30 -06:00
Scott Anderson ebf9b1bfd3
Add admin > database docs to Core and Enterprise (#5813)
* add influxdb3 database admin docs

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-03 09:25:41 -07:00