Commit Graph

506 Commits (0e66ac67ffa066e16736ac596c49c75713b63ffc)

Author SHA1 Message Date
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 936913c3cb
refactor(influxdb3): consolidate ODBC content into Power BI documentation (#6546)
- Migrate comprehensive ODBC driver installation instructions to Power BI guide
  - Add Windows (PowerShell and Manual) installation steps with verification
  - Add macOS and Linux installation steps with configuration details
  - Include platform-specific verification procedures
- Enhance Power BI troubleshooting section with ODBC-specific guidance
  - Add driver not found troubleshooting for all platforms
  - Expand connection, authentication, and query error troubleshooting
  - Add query performance optimization recommendations
- Restructure Power BI documentation for clarity
  - Elevate ODBC driver installation to top-level section
  - Add explicit sequencing: install driver before connector
  - Improve section flow and subheading descriptiveness
- Remove standalone ODBC documentation pages
  - Delete shared ODBC guide and product-specific ODBC pages
  - Add aliases in Power BI frontmatter to redirect old ODBC URLs
- Apply changes across all InfluxDB 3 products:
  core, enterprise, cloud-dedicated, cloud-serverless, clustered
2025-11-17 22:28:46 -05:00
caterryan 2d3768c30b
chore(influxdb3_commands) add `install` link to commands list (#6535)
Co-authored-by: rcater <rcater@influxdata.com>
2025-11-14 11:51:28 -06:00
Jason Stirnaman 5a6459ba6f
fix(enterprise): comment out unsupported TOML configuration documenta… (#6530)
* fix(enterprise): comment out unsupported TOML configuration documentation

Users were getting errors when trying to use 'influxdb3 serve --config
ingester.toml' because TOML configuration file support was recently
removed from InfluxDB 3 Core and Enterprise.

This change comments out the "Use configuration files" subsection that
documented the --config flag and TOML file syntax. The "Configure using
environment variables" section remains as the supported method for
configuration.

Closes issue reported by user receiving "unexpected argument '--config'" error.

* Apply suggestions from code review
2025-11-12 14:11:19 -06:00
Jason Stirnaman df06c64fb5
New Enterprise CLI commands: `show nodes` and `stop` (#6510)
* Closes #6509

  New Ent 3 CLI Commands

  1. influxdb3 stop - Parent command for node lifecycle management
  2. influxdb3 stop node - Stop a node in the Enterprise cluster and free up licensed cores
  3. influxdb3 show nodes - Display information about nodes in the cluster

  Files Created

  Shared Content Files (only used by Ent3 for now):
  - content/shared/influxdb3-cli/stop/_index.md - Stop command overview
  - content/shared/influxdb3-cli/stop/node.md - Stop node command details with examples
  - content/shared/influxdb3-cli/show/nodes.md - Show nodes command details with examples

  Enterprise-Specific Frontmatter Files:
  - content/influxdb3/enterprise/reference/cli/influxdb3/stop/_index.md
  - content/influxdb3/enterprise/reference/cli/influxdb3/stop/node.md
  - content/influxdb3/enterprise/reference/cli/influxdb3/show/nodes.md

  Updated Files:
  - Added stop command to the main influxdb3 CLI reference
  - Added nodes subcommand to the show command reference

* Apply suggestion from @jstirnaman

* Apply suggestion from @jstirnaman
2025-11-04 23:09:14 -06:00
Jason Stirnaman 1b57292191
feat: functional changes (#6500)
* feat: functional changes

* fix: remove serve inaccuracies

* fix: remove opining

---------

Co-authored-by: Peter Barnett <peter.barnett03@gmail.com>
2025-10-30 09:52:25 -05:00
Dustin Eaton b3d9219412
chore: update to working kubit and kubectl versions (#6496) 2025-10-29 08:28:39 -05: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 61269f3823
fix(influxdb3): (#6479)
- malformed link
- update broken link fragements
- link to plugin docs at /telegraf instead of GitHub\
- Remove language fragments from tabs
2025-10-22 00:50:02 -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
Jameelah Mercer c0cf22c166 Merge branch 'master' into feature/cloud-dedicated-user-management-docs 2025-10-20 09:58:00 -07:00
meelahme 142b82785b updating broken link in _index.md 2025-10-20 09:48:31 -07:00
meelahme 5afb288b08 updating broken link 2025-10-20 09:35:53 -07:00
Jameelah Mercer d9f35b89ea
Merge branch 'master' into fix/6432-update-docker-compose-v2-commands 2025-10-20 09:10:25 -07:00
Jameelah Mercer 54fc68edf0
Update content/influxdb3/cloud-dedicated/process-data/visualize/superset.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-10-20 09:10:15 -07:00
Jason Stirnaman 9729ef04b8
fix(clustered): add license renewal troubleshooting steps (#6397)
Addresses DAR #470 by documenting:
- Expected kubectl warning that can be safely ignored
- Troubleshooting steps for 'no license found' errors after renewal
- Service restart workaround when validation doesn't auto-detect new license
- License validation timing information

closes influxdata/DAR#470
2025-10-20 11:05:29 -05:00
Jason Stirnaman 06512e3e93
Merge branch 'master' into fix/6432-update-docker-compose-v2-commands 2025-10-20 10:56:04 -05:00
Jason Stirnaman cfe1d32f24
Merge branch 'master' into feature/cloud-dedicated-user-management-docs 2025-10-20 10:52:19 -05:00
Jason Stirnaman ca24b3be54
Influxdb3 config options (#6419)
* docs(cli): fix global vs serve-specific flag documentation

- Remove --verbose from global flags (it's serve-specific)
- Document --num-io-threads as global-only flag
- Add clear examples showing correct flag positioning
- Update serve.md files with global flag usage notes
- Fix config-options.md to separate Core/Enterprise examples

Resolves incorrect CLI usage patterns that would cause errors.
Global flags must go before 'serve', serve-specific flags go after.

* docs(cli): remove Tokio runtime options from CLI index pages

- Remove detailed Tokio runtime options tables from CLI index pages
- Replace with simplified global options and link to config-options
- Add examples showing correct global flag positioning
- Fix --verbose usage to be serve-specific (after serve command)
- Add --num-io-threads example as global flag (before serve command)

These detailed options are now documented in config-options.md with
proper global vs serve-specific categorization.
2025-10-20 10:17:56 -05:00
Jameelah Mercer 36b09a4605
Update content/influxdb3/cloud-dedicated/process-data/visualize/superset.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 12:08:23 -07:00
meelahme cd79e3503d Fix #6432: fix broken links 2025-10-17 12:03:07 -07:00
meelahme 986ead55c6 minor update to instal prereq 2025-10-17 11:42:55 -07:00
meelahme 1639bde073 Fix #6432: Update docker-compose to docker compose commandsRetry 2025-10-17 11:39:21 -07:00
Jameelah Mercer d72ab4bf38
Merge branch 'master' into feature/cloud-dedicated-user-management-docs 2025-10-15 10:34:25 -07:00
Jason Stirnaman da4f5e66a6 fix(explorer): When to use host.docker.internal with InfluxDB 3.
- Revises guidance in install and get-started.
- Adds Explorer to project compose file for testing.
2025-10-10 15:30:27 -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
Jason Stirnaman 7e5b1a66b7 Add visualize-data aliases for chronograf. Fix Grafana token conditional (don't use whitespace in show-in conditional expression) 2025-10-06 20:24:30 -05:00
Jason Stirnaman 6ee8c6bda9 docs(visualize): add visualize-data aliases consistent with core and enterprise
- Add /influxdb3/<version>/visualize-data/<tool>/ aliases to visualize files
- Ensures backward compatibility across cloud-serverless, cloud-dedicated, and clustered
- Matches URL structure used in core and enterprise versions
- Affects: grafana, superset, and tableau documentation
2025-10-06 20:12:41 -05:00
Jason Stirnaman 96c5fa3a72 feat(influxdb3): add ODBC and Power BI documentation with product-specific examples
- Add ODBC driver installation and configuration docs
- Add Power BI Desktop custom connector setup docs
- Configure host, port, and token conditionals for all InfluxDB 3 products
- Set frontmatter with proper metadata and related content

The shared content files (content/shared/influxdb3-query-guides/execute-queries/odbc.md
and content/shared/influxdb3-visualize/powerbi.md) contain product-specific conditionals
for server URLs, ports, and tokens. Each product version sources these shared files.

Next steps: Edit the content/shared files to update any remaining product-specific
instructions in the step-by-step procedures if needed. Server, port, and token
conditionals are already configured throughout the documentation.
2025-10-06 17:43:54 -05:00
Jason Stirnaman 26ca68d405
Merge branch 'master' into update-grafana-docs 2025-10-06 17:34:12 -05:00
Jason Stirnaman 3095f7992d docs(grafana): update Grafana integration docs across all products
- Add Quick reference tables to all Grafana documentation
- Consolidate shared content for InfluxDB v3 products
- Update configuration steps and screenshots
- Remove duplicate grafana.md from shared/influxdb3-visualize
- Delete outdated product-specific Grafana screenshots
- Add new consolidated screenshot for InfluxDB v2 Cloud Flux config
- Standardize authentication and URL configuration guidance
- Improve consistency across v1, v2, and v3 product documentation
2025-10-06 14:51:17 -05:00
Scott Anderson c3468f667d
feat(sample-data): add new wind sample dataset (#6440)
* feat(sample-data): add new wind sample dataset

* Apply suggestions from code review

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

* fix(js): fix syntax error and lint

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-10-06 12:08:35 -06:00
Scott Anderson 990da1b168
chore(clustered): added latest release artifacts and newly supported functionality (#6441)
* chore(clustered): added latest release artificts, enabled newly supported pages

* 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-10-06 10:08:53 -06:00
Jason Stirnaman 8efbd44a2d docs(influxdb3): use shared Grafana docs for all v3 products, fix product and token naming
- Update Core and Enterprise to use shared v3-process-data/visualize/grafana.md
- Fix product name references to use proper {{% product-name %}} shortcode
- Correct token terminology (admin token, database token) across products
- Add HTTP/2 requirement note for SQL queries through Grafana (uses Flight SQL/gRPC)
- Update Flight client library reference to clarify gRPC and Arrow Flight
- Reorganize Grafana screenshot files to use /influxdb/ directory
- Add Cloud Serverless InfluxQL screenshot
2025-10-04 17:36:04 -05:00
Jason Stirnaman 244d0f6d6b
Merge branch 'master' into BNP_clustered-release-20250925 2025-10-02 09:18:57 -05:00
Gary Fowler a0cedd2026
Update supported products in get-started.md
Added InfluxDB Cloud Serverless and Dedicated to the supported products list.
2025-10-01 09:40:47 -10:00
Brandon Pfeifer d1ee147153 docs: add artifacts and release notes for clustered release 20250925 2025-10-01 14:27:10 -04:00
Scott Anderson 5735f5f704
feat(caches): update explorer docs with information about querying LVCs and DVCs (#6437) 2025-10-01 09:43:16 -06:00
Scott Anderson c20b770814 hotfix: explain token permissions for db rename in distributed 2025-09-30 10:17:59 -06:00
Joel Abshier 083abc318b
Release influxctl v2.10.4 (#6411)
* Release influxctl v2.10.4

* feat(influxctl): influxctl 2.10.4 release notes, cli docs, and admin guides (#6412)

* feat(influxctl): release notes, cli docs, and admin guides for influxctl 2.10.4

* Apply suggestions from code review

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

* chore(influxctl): hide clustered table undelete pages

---------

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-23 09:48:57 -06:00
Jason Stirnaman 2d0121871d hotfix(v3): clustered alt_links incorrectly prefixed with cloud-, making version selector links "cloud-clustered". 2025-09-19 10:46:04 -05:00
Jason Stirnaman a7ca7aae86 chore(clustered): Clustered install: provide instructions for renewing a license and recovering from an expired license (closes influxdata/DAR/issues/511) 2025-09-15 14:06:45 -05:00
Jameelah Mercer 98d0f29ef9
Merge branch 'master' into feature/cloud-dedicated-user-management-docs 2025-09-12 13:22:10 -07:00
Jameelah Mercer 72bea7e810
Fix formatting of role permissions note 2025-09-12 13:21:43 -07:00
Jameelah Mercer c498579c5a
Adding an extra period at the end for a test
Clarified permissions for Auditor and Member roles in user management.
2025-09-12 12:47:36 -07:00
Jameelah Mercer 6af3c72043
Merge branch 'master' into feature/cloud-dedicated-user-management-docs 2025-09-12 12:42:54 -07:00
Jason Stirnaman 55017154fb feat(influxdb3): add install package command documentation
- Create shared CLI documentation for install package command
- Add Enterprise and Core frontmatter files referencing shared content
- Add --node-spec option to create trigger command for Enterprise
- Update code-placeholders to use new fenced code block syntax

Closes influxdata/DAR#6301
2025-09-11 16:23:39 -05:00
Jason Stirnaman e8350a3995 chore(v3-dist): Consolidate to shared Grafana guide
- Fix broken link to fragment
2025-09-10 16:39:27 -05:00
mdevy-influxdata fed9e49f04
Update grafana.md
typo
2025-09-09 17:21:38 -07:00
Jason Stirnaman c748819f6d fix(clustered): Google Cloud IAM link 2025-09-09 16:53:47 -05:00