Commit Graph

9110 Commits (master)

Author SHA1 Message Date
Joel Abshier 5bb4f14f39
Release influxctl v2.10.3 (#6270)
* Release influxctl v2.10.3

* add influxctl 2.10.3 release notes and feature docs

---------

Co-authored-by: Scott Anderson <scott@influxdata.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-08-01 23:43:54 -05:00
Jameelah Mercer 4cb87dd3dd
Merge pull request #6265 from influxdata/fix/from-unixtime-doc-return-type-26637
Fix misleading from_unixtime documentation about return type
2025-08-01 16:44:58 -07:00
Jason Stirnaman 49b24ba90d
Update content/shared/sql-reference/functions/time-and-date.md 2025-08-01 16:54:32 -05:00
Jameelah Mercer 20c8745d03
Merge branch 'master' into fix/from-unixtime-doc-return-type-26637 2025-08-01 12:12:27 -07:00
Gary Fowler 1a77ea9b3b Update mcp-server.md
Removed configuration that Jaime reports is not supported.
2025-08-01 13:57:33 -05:00
Jameelah Mercer dbbc1dd61e
Update time-and-date.md
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2025-08-01 10:51:38 -07:00
Jameelah Mercer b812eacb03
Update time-and-date.md
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2025-08-01 10:51:21 -07:00
Jameelah Mercer b63de5965a
Merge branch 'master' into fix/from-unixtime-doc-return-type-26637 2025-07-30 13:19:51 -07:00
Scott Anderson 5dd87f0aab
feat(notification): add 3.3 and explorer 1.1 notification (#6269) 2025-07-30 14:04:03 -05:00
Jameelah Mercer 74a13917b8
Merge branch 'master' into fix/from-unixtime-doc-return-type-26637 2025-07-30 11:54:18 -07:00
peterbarnett03 8b1b107b64
chore: update install version to 1.1.0 (#6268)
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-07-30 10:49:24 -05:00
Jason Stirnaman 0fe0263e85 fix: mcp-server.md: token-link shortcode errors when nested in show-in 2025-07-30 10:16:23 -05:00
Jason Stirnaman 4f21f57325 Update content/influxdb3/enterprise/plugins/library/official/system-metrics.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 10:16:23 -05:00
Jason Stirnaman bfe842dfdb Update content/influxdb3/core/plugins/library/official/system-metrics.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 10:16:23 -05:00
Jason Stirnaman 65656c6918 Update content/shared/influxdb3-plugins/plugins-library/official/downsampler.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 10:16:23 -05:00
Jason Stirnaman df6c963b35 feat(influxdb3): add TOML configuration documentation to plugin library
- Add TOML configuration section to plugins-library index explaining usage
- Add TOML config tables to all official plugin documentation files
- Standardize TOML section format across plugins with config_file_path parameter
- Update system-metrics plugin moved from examples to official
- Remove redundant config_file_path from individual parameter tables
- Ensure consistent placement before Installation/Requirements sections
- Fix linting: replace 'e.g.' with 'for example' in system-metrics.md

This completes the TOML configuration documentation updates from PR 6244
2025-07-30 10:16:23 -05:00
Jason Stirnaman 55e128cb78 chore(influxdb3): Promote system metrics plugin from examples to official plugins:- Updated with latest configuration arguments 2025-07-30 10:16:23 -05:00
Jason Stirnaman e868d1d3f5 chore(dependencies) 2025-07-30 10:16:23 -05:00
Jason Stirnaman 2b8e769697 feat(influxdb3): add plugin library with comprehensive plugin documentation:
- Add plugin library structure for Core and
Enterprise products
- Create shared content directory for plugin
documentation
- Port 12 plugin documentation files from
influxdb3_plugins repository
- Add GitHub repository links in related frontmatter
for all plugins
- Remove emoji metadata tags and clean up content
structure
- Implement standardized support sections with
product-specific links
- Reorganize plugins navigation with dedicated
library section
- Include 2 example plugins and 10 official
InfluxData plugins
2025-07-30 10:16:23 -05:00
Scott Anderson b0de478972
InfluxDB 3 Explorer 1.1 (#6235)
* WIP content changes and updated exporer version

* fixed many bugs, added netlify badge

* Apply suggestions from code review

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

* Update content/influxdb3/explorer/manage-plugins/_index.md

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2025-07-30 08:51:00 -06:00
Jason Stirnaman 41f863f310 chore: update Google Tag ID to master GA4 measurement ID:This should roll docs analytics into the Master property with other subdomains 2025-07-30 07:59:13 -05:00
Jason Stirnaman 06608aea6c feat(influxdb3): add v3.3.0 release notes and admin token recovery documentation
- Add v3.3.0 release notes with grouped categories for Core and Enterprise features/fixes
- Document admin token recovery server feature (--admin-token-recovery-http-bind)
- Add recovery server option to CLI serve command reference (alphabetically sorted)
- Add configuration details for admin token recovery in config options
- Update regenerate token documentation with lost token recovery instructions
- Include security warnings about unauthenticated recovery endpoint
- Fix Vale linting issues (Parquet capitalization, remove exclamation point)

Related to influxdb PR #26594
2025-07-30 07:59:13 -05:00
Jason Stirnaman 89739cd792 chore(ci): temporarily disable link validation workflow
- Add if: false conditions to all jobs to prevent execution
- Add disabled-check job to indicate the workflow is disabled
- Preserves original conditions in comments for easy re-enabling

To re-enable: Remove the 'if: false' conditions and disabled-check job
2025-07-29 23:09:00 -05:00
Jameelah Mercer 138c393494
Merge branch 'master' into fix/from-unixtime-doc-return-type-26637 2025-07-29 11:36:22 -07:00
meelahme 8e8eddd2bd docs: fix from_unixtime return type description 2025-07-29 11:33:40 -07:00
Jason Stirnaman c781182163 Update cypress/support/link-cache.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-29 10:48:05 -05:00
Jason Stirnaman 9bd8c978a8 Update cypress/support/link-cache.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-29 10:48:05 -05:00
Jason Stirnaman 70026432ac ci: rearchitect caching to work at the URL-level and support content/shared shared content files. Fix the cache reporting.Link Validation Cache Performance:
=======================================
  Cache hit rate: 100%
  Cache hits: 54
  Cache misses: 0
  Total validations: 54
  New entries stored: 0
   Cache optimization saved 54 link validations

  This demonstrates that all 54 link validations were served from cache, which
  greatly speeds up the test execution.

  Summary

  I've successfully fixed the cache statistics reporting issue in the Cypress link
  validation tests. Here's what was implemented:

  Changes Made:

  1. Modified the Cypress test (cypress/e2e/content/article-links.cy.js):
    - Added a new task call saveCacheStatsForReporter in the after() hook to save
  cache statistics to a file that the main reporter can read
  2. Updated Cypress configuration (cypress.config.js):
    - Added the saveCacheStatsForReporter task that calls the reporter's
  saveCacheStats function
    - Imported the saveCacheStats function from the link reporter
  3. Enhanced the link reporter (cypress/support/link-reporter.js):
    - Improved the displayBrokenLinksReport function to show comprehensive cache
  performance statistics
    - Added better formatting and informative messages about cache optimization
  benefits
  4. Fixed missing constant (cypress/support/hugo-server.js):
    - Added the missing HUGO_SHUTDOWN_TIMEOUT constant and exported it
    - Updated the import in run-e2e-specs.js to include this constant

  Result:

  The cache statistics are now properly displayed in the terminal output after
  running link validation tests, showing:

  - Cache hit rate (percentage)
  - Cache hits (number of cached validations)
  - Cache misses (number of fresh validations)
  - Total validations performed
  - New entries stored in cache
  - Expired entries cleaned (when applicable)
  - Optimization message showing how many validations were saved by caching
2025-07-29 10:48:05 -05:00
Jason Stirnaman ad92a57ef7 ci: Use Cypress' skip to skip cached links instead of trying to modify the subjects array (which won't work after the tests are registered and running) 2025-07-29 08:35:08 -05:00
Jason Stirnaman b3cfd0d52e feat(cypress): improve cache optimization logging and reporting
- Add detailed cache statistics when all files are cached
- Improve Test Setup Validation messaging for cache scenarios
- Provide clearer information about why no validation is needed
- Address user concern about lack of helpful debugging information
- Enhance visibility into cache hit rates and file processing
2025-07-28 23:35:16 -05:00
Jason Stirnaman d86f0de19a fix(cypress): format code with prettier
Auto-formatting applied by pre-commit hooks to maintain code style consistency.
2025-07-28 23:10:21 -05:00
Jason Stirnaman 0c59fdd7c0 fix(ci): improve link validation test robustness and reduce noise
- Fix Test Setup Validation to handle edge cases without false failures
- Remove unnecessary Cypress artifacts upload (screenshots/videos)
- Reduce verbose logging while maintaining debugging capability
- Add clear success/failure reporting with actionable messages
- Improve handling of empty test subjects and fallback scenarios

The test now only fails for genuine setup issues, not configuration
edge cases like empty subject lists or cache optimization scenarios.
2025-07-28 23:10:21 -05:00
Jason Stirnaman 02efdb262b fix(ci): resolve link validation workflow false failures
- Fix GitHub Actions exit logic to only fail when broken links exist
- Improve Cypress test error handling with robust fallback mechanism
- Enhance Test Setup Validation to handle cache scenarios correctly

The workflow was incorrectly failing when generating success comments
with cache statistics, treating any comment generation as broken links.
Now properly distinguishes between success messages and actual failures.
2025-07-28 22:39:40 -05:00
Jason Stirnaman a087906b83 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 21:58:09 -05:00
Jason Stirnaman 0fc2efc938 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 21:58:09 -05:00
Jason Stirnaman 660170435f ci: convert cypress scripts to CommonJS:
Verification Results

  - Direct module loading:  Works perfectly
  - Incremental validation:  Processes files correctly

  - Subprocess calls:  No EPIPE errors
  - Cache functionality:  Operating normally

  🔧 Technical Details

  - All modules now use CommonJS require() statements
  - Proper module.exports for compatibility
  - File extensions changed to .cjs to work with type:
   module in package.json
  - Maintained all existing functionality and error
  handling
2025-07-28 21:58:09 -05:00
Jason Stirnaman eac1acfdf8 ci: fix timeout command, set timeout options, enhance logging:
1. Timeout Handling: Proper timeout command syntax
  with specific timeout error detection
  2. Process Management: Environment variable for Hugo
   shutdown timeout
  3. Debugging: Enhanced log collection and artifact
  uploads
  4. Error Context: Better error messages that help
  identify root causes (EPIPE, timeouts, etc.)
  5. Resource Constraints: Memory limits and
  CI-specific optimizations
2025-07-28 21:03:31 -05:00
Jason Stirnaman f873562667 Update cypress/support/run-e2e-specs.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman 0d38db18e3 Update cypress/support/run-e2e-specs.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman da2ef476c1 Update .github/actions/validate-links/action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman 215ecfb7f9 ci: improve Hugo process management to address EPIPE errors in Github Actions. - Proactive monitoring: Detecting when Hugo dies
during execution
    - Resource management: Reducing memory pressure in
  CI that causes process termination
    - Signal handling: Properly cleaning up processes
  on unexpected termination
    - Timeout adjustments: Giving more time for
  operations in CI environments
  3. The Test Setup Validation Failure: This was
  happening because the before() hook was failing when
  it couldn't communicate with a dead Hugo process.
  Your health monitoring will catch this earlier and
  provide better error messages.
2025-07-28 17:41:57 -05:00
Jason Stirnaman 8a26400577 ci: Enhance logging for troubleshooting test failures not due to broken links 2025-07-28 16:54:01 -05:00
Jason Stirnaman 4ae1dec4be Update cypress/e2e/content/article-links.cy.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 16:24:24 -05:00
Jason Stirnaman 891553ac33 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 16:24:24 -05:00
Jason Stirnaman 27c358037a fix: resolve code review findings:1. Fixed Cypress Race Condition: Moved logging
statements inside the async callback to ensure
  subjects array is populated before accessing its
   length
  2. Proper Async Handling: Used
  cy.wrap(Promise.all()) to handle multiple async
  Cypress tasks correctly
  3. Maintained Functionality: All existing GitHub
   Actions workflows and Cypress tests will
  continue to work

  Both naming conventions are appropriate for
  their use cases:
  - filePathToUrl: Transforms content file paths
  to URL paths
  - fileURLToPath: Converts ES module file URLs to
   file system paths
2025-07-28 16:24:24 -05:00
Jason Stirnaman d762e7800e fix: apply code review suggestions: High Priority Issues (Fixed):
1. Script execution detection in matrix-generator.js -
  Added fileURLToPath import and updated comparison
  2. Script execution detection in incremental-validator.js -
   Added fileURLToPath import and updated comparison
  3. Script execution detection in link-extractor.js - Added
  fileURLToPath import and updated comparison
  4. Script execution detection in comment-generator.js -
  Added fileURLToPath import and updated comparison

  Medium Priority Issues (Fixed):

  5. Extracted duplicated URL transformation logic - Created
  shared utility module and updated both files to use it
  6. Fixed cache key strategy - Updated GitHub workflow to
  use content-based hashing instead of base SHA

  Changes Made:

  - 4 JavaScript files: Updated with robust script execution
  detection using fileURLToPath
  - 1 utility module: Created
  /.github/scripts/utils/url-transformer.js for shared logic
  - 2 files: Updated to use the shared URL transformation
  utility
  - 1 workflow file: Improved cache key strategy for better
  cache hit rates
2025-07-28 16:24:24 -05:00
Jason Stirnaman 6a4e8827eb feat(testing): add link validation automation and improvements
- Add GitHub Actions for automated link validation on PRs
- Implement incremental validation with caching (30-day TTL, configurable)
- Add matrix generator for parallel validation strategy
- Create comprehensive TESTING.md documentation
- Add cache manager with configurable TTL via env var or CLI
- Implement smart link extraction and validation
- Add PR comment generator for broken link reports
- Update Cypress tests to use incremental validation
- Consolidate testing docs from CONTRIBUTING.md to TESTING.md

Key improvements:
- Cache-aware validation only checks changed content
- Parallel execution for large changesets
- Detailed PR comments with broken link reports
- Support for LINK_CACHE_TTL_DAYS env var
- Local testing with yarn test:links
- Reduced false positives through intelligent caching
2025-07-28 16:24:24 -05:00
Jason Stirnaman d3f60a7d7d fix(v1): callout syntax and broken anchor links 2025-07-28 11:04:12 -05:00
Scott Anderson 09d1414e22
feat: InfluxDB OSS and Enterprise 1.12.1 (#6250)
* InfluxDB OSS and Enterprise 1.12.1

* add message to enterprise 1.12 release notes

* Update content/influxdb/v1/query_language/manage-database.md

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

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* fix: update to address PR feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2025-07-28 10:47:31 -05:00
Jameelah Mercer 1ca63a20a2
Merge pull request #6247 from influxdata/fix/api-enterprise-docs-query-sql-field-names 2025-07-28 07:52:20 -07:00