Commit Graph

6083 Commits (jts/core-api-ref)

Author SHA1 Message Date
Jason Stirnaman 1737f8dab6 Merge branch 'hotfix-api-back-link' into core-api-ref 2025-02-19 10:18:39 -06:00
Scott Anderson cca6347797 hotfix: backup restore toc fixes 2025-02-18 10:42:38 -07:00
Scott Anderson e96159b374 hotfix: more backup restore formatting fixes 2025-02-18 10:27:31 -07:00
Jason Stirnaman 62f9e2a28e WIP: core testing 2025-02-18 11:25:49 -06:00
Scott Anderson cb4b035af8 hotfix: fix backup restore code formatting 2025-02-18 10:21:49 -07:00
Scott Anderson 91b1288c19
Clustered backup and restore (#5833)
* add clustered backup and restore content

* add clustered backup and restore content

* shorted definition lines

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-18 10:13:27 -07:00
Jason Stirnaman ff4b8d4f22 chore: Add product-key shortcode - displays the short version name extracted from the current page URL. 2025-02-14 17:07:09 -06:00
Jason Stirnaman 2c1f2aaae8 fix(mono): code formatting 2025-02-14 13:45:13 -06:00
Jason Stirnaman c7e83ed9b0
Merge pull request #5830 from influxdata/jts/influxdb3-plugins-doc
Jts/influxdb3 plugins doc
2025-02-14 13:10:58 -06:00
Jason Stirnaman c9dbdbddcd
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-02-14 12:49:45 -06:00
David Rusnak 6b588059f6 fix: address comments 2025-02-14 12:38:19 -05:00
Jason Stirnaman dc0c9fe18f chore(monolith): Update installing and configuring plugins:
Updates the guide and examples for using the latest influxdb3 install command.
Provides more Docker-specific examples.
Cleanup.
2025-02-14 09:50:55 -06:00
David Rusnak 494b923582 docs: add release notes for 20250212 2025-02-14 09:47:57 -05:00
Paul Dix 338fcfec8b Add plugin documentation for Core and Enterprise 2025-02-12 13:52:04 -06:00
Scott Anderson c0436bd0f3 Add 'last_cache' and 'distinct_cache' SQL functions (#5828)
* add last_value and distinct_value sql functions

* fixed cache function names
2025-02-12 13:48:30 -06:00
Jason Stirnaman 6fb23ee1d4 Update content/shared/v3-core-get-started/_index.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-12 13:48:30 -06:00
Jason Stirnaman bb19446ea9 fix(v3): Core and Enterprise Get Started, problems and cleanup. 2025-02-12 13:48:30 -06:00
Scott Anderson 991bf462ca Add missing influxdb3 serve configuration options (#5822)
* add missing influxdb3 serve configuration options

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-12 13:48:30 -06:00
Scott Anderson 513c732540 hotfix: clarify that influxdb_v2 tokens for telegraf cannot be empty strings (#5824) 2025-02-12 13:48:30 -06:00
Jason Stirnaman 80e6bdb005 fix(3): Broken links to CLI reference 2025-02-12 13:48:29 -06:00
Jason Stirnaman c173edce68 Initial Kapa.ai chat integration.
Continue refactoring JavaScript into a component pattern and ESM.
Replaces some jQuery with native DOM API.

chore(ai): reference documentation and instructions for training AI

chore(ai): implement Kapa AI chat widget
- Move script tag to HTML template to make it obvious.
- Cleanup javascript to make it more component-like
- Set Kapa attributes, support setting userid

chore(js): add JS dependencies, previously referenced in script tags, to package.json for JS builds.

fix(api): indents

chore(js): package Mermaid diagram library

chore(js): refactor JS for AIChat and Theme as examples of using the component pattern for HTML/CSS/JS

chore(js): Use the new local-storage API in refactored module code and in code not yet ported. Cleanup syntax in local-storage and make functions available from window.LocalStorageAPI.

fix(js): theme.js name-change

chore(js): fix ai-chat.js file name

fix(js): refactor:
- componentNames are snakecase in HTML
- replace DOM selection method and jQuery eventhandler assignment
- remove old theme.js references

chore(ai): configure chat window overlay, size, and position:
- removes overlay and scroll lock
- positions chat to the right and bottom
- expands sample question width to 12 cols

chore(ai): edit disclaimer

fix(ai): size and position

chore(js): make ai-chat specific to configuration and and setting userid (for testing and future use).

fix(js): copy referrerHost variable to v3-wayfinding instead of relying on influxdb-url to assign it.

chore(ai): add a footer div at page bottom to contain modal triggers for custom-time and ask-ai. Still needs some CSS help. Moves tooltip text from CSS to HTML data attribute.

chore(ai): dynamically load AI script tag after DOMContentLoaded to avoid race conditions. Call initialization from the modal trigger module and pass the show trigger function to the onload handler.

fix(ai): fix modal triggers to viewport

fix(modal-triggers): stack the triggers into a single column.

restyle footer widgets

updated time selector modal to use correct storage term

minor style update

WIP(ai-chat): get product data

chore(js): Factor out pageContext module from influxdb-url.js

chore(js): Refactor helpers.js out of inflluxdb-url.js

WIP: refactor influxdburl - minimal changes for module conversions

feat(ai): Custom AI chat example questions product and version.
Ask AI example questions:
- Adds support for customizing example Ask AI questions per product or version.
- Configure questions in site `data/products.yml`; otherwise, it uses default questions from `ask-ai.js`

Context, page, and product data:
- Adds sample URLs for remaining versions in influxdb_urls
- `page-context.js` consolidates and exports constants for page context (protocol, host, path, referrer) and path-to-data mappings for product and influxdb_url site data

Module refactor:
- Refactors some JavaScript into ES6 modules, and refactors some of those further into a Component pattern--just vanilla JS and no shadow DOM stuff. The Component pattern that uses data attributes to "bind" JavaScript modules with CSS and HTML is a popular approach in modern web development. This pattern enhances modularity, reusability, and maintainability by associating behavior (JavaScript), structure (HTML), and style (CSS) through the use of data attributes.
- `assets/main.js` is the entrypoint
- Passes pageParams from the Hugo page to modules that import `@params`.
- Moves most external dependencies out of `script` tags and into package.json to be managed with `yarn`.
- Adds `eslint`.
- For modules that aren't yet components, wraps execution statements inside an `initialize()` function and calls the function from `main.js` on `DOMContentLoaded`.
- For components, if the page contains the `data-component="<component-name>"`, the matching element is passed to the component function on `DOMContentLoaded`.
- I tried to avoid changing logic where it wasn't necessary.

Update DOC_GPT_PROFILE.md

customize ai chat modal styles

fix(influxdb-url): Rename to cloud_dedicated in influxdb_urls.yml, remove newly added placeholder URL and use the extant default, refactor
- Rename  to  in influxdb_urls.yml
- Fix influxdb-url.js and data provision in local-storage.js to use the new name, mapping it to  to retain the existing local storage key

chore(api-lib): Use local-storage import instead of window global

chore(js): cleanup

fix(js): Ensure feature-callout initializes on page load

fix(theme): Load preferred theme before making the page visible. Execute a predefined function by specifying the function name in data-theme-callback

fix(search-toggle): Restores toggling the search field when sidebar is collapsed. Moves the event handler to a new search-button component

fix(ai): Fix custom attribute assignment. Rename property to ai_example_questions

Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix TOC links.
Fixes #5781

fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content

fix(api-ref): Update getswagger.sh destination paths to use the new directory structure when fetching spec files. Update the redocly  plugin module path.

hotfix: fix hlevel bug in children shortcode

Remove underline from custom time widget

add color to custom time widget styling
2025-02-12 13:48:29 -06:00
Jason Stirnaman f61a46be64
Merge branch 'master' into fix-get-started 2025-02-10 10:43:10 -06:00
Scott Anderson 65faebb701
Add 'last_cache' and 'distinct_cache' SQL functions (#5828)
* add last_value and distinct_value sql functions

* fixed cache function names
2025-02-10 09:42:48 -07:00
Jason Stirnaman 67d8a6805b
Update content/shared/v3-core-get-started/_index.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2025-02-10 10:42:26 -06:00
Jason Stirnaman c831db4004 fix(v3): Core and Enterprise Get Started, problems and cleanup. 2025-02-05 18:06:10 -06:00
Scott Anderson a3f06ce722
Add missing influxdb3 serve configuration options (#5822)
* add missing influxdb3 serve configuration options

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-05 12:46:57 -07:00
Scott Anderson fb665e2393
hotfix: clarify that influxdb_v2 tokens for telegraf cannot be empty strings (#5824) 2025-02-05 12:44:35 -07:00
Jason Stirnaman e3af9360f4
Merge branch 'master' into ai-chat-widget 2025-02-03 10:42:02 -06:00
Jason Stirnaman 619e75767c
Merge branch 'master' into fix-reference-links 2025-02-03 10:32:53 -06:00
Paul Dix 2c66a5997f
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-02-03 11:28:29 -05:00
Scott Anderson b51ece3aa7
Merge branch 'master' into ai-chat-widget 2025-02-03 09:28:25 -07:00
Scott Anderson d234e1ebda
influxctl 2.9.9 release notes and changes (#5815) 2025-02-03 09:27:50 -07: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
Jason Stirnaman dd8f78bb01 fix(3): Broken links to CLI reference 2025-02-03 10:11:26 -06:00
Jason Stirnaman f9f81ae8f9 Initial Kapa.ai chat integration.
Continue refactoring JavaScript into a component pattern and ESM.
Replaces some jQuery with native DOM API.

chore(ai): reference documentation and instructions for training AI

chore(ai): implement Kapa AI chat widget
- Move script tag to HTML template to make it obvious.
- Cleanup javascript to make it more component-like
- Set Kapa attributes, support setting userid

chore(js): add JS dependencies, previously referenced in script tags, to package.json for JS builds.

fix(api): indents

chore(js): package Mermaid diagram library

chore(js): refactor JS for AIChat and Theme as examples of using the component pattern for HTML/CSS/JS

chore(js): Use the new local-storage API in refactored module code and in code not yet ported. Cleanup syntax in local-storage and make functions available from window.LocalStorageAPI.

fix(js): theme.js name-change

chore(js): fix ai-chat.js file name

fix(js): refactor:
- componentNames are snakecase in HTML
- replace DOM selection method and jQuery eventhandler assignment
- remove old theme.js references

chore(ai): configure chat window overlay, size, and position:
- removes overlay and scroll lock
- positions chat to the right and bottom
- expands sample question width to 12 cols

chore(ai): edit disclaimer

fix(ai): size and position

chore(js): make ai-chat specific to configuration and and setting userid (for testing and future use).

fix(js): copy referrerHost variable to v3-wayfinding instead of relying on influxdb-url to assign it.

chore(ai): add a footer div at page bottom to contain modal triggers for custom-time and ask-ai. Still needs some CSS help. Moves tooltip text from CSS to HTML data attribute.

chore(ai): dynamically load AI script tag after DOMContentLoaded to avoid race conditions. Call initialization from the modal trigger module and pass the show trigger function to the onload handler.

fix(ai): fix modal triggers to viewport

fix(modal-triggers): stack the triggers into a single column.

restyle footer widgets

updated time selector modal to use correct storage term

minor style update

WIP(ai-chat): get product data

chore(js): Factor out pageContext module from influxdb-url.js

chore(js): Refactor helpers.js out of inflluxdb-url.js

WIP: refactor influxdburl - minimal changes for module conversions

feat(ai): Custom AI chat example questions product and version.
Ask AI example questions:
- Adds support for customizing example Ask AI questions per product or version.
- Configure questions in site `data/products.yml`; otherwise, it uses default questions from `ask-ai.js`

Context, page, and product data:
- Adds sample URLs for remaining versions in influxdb_urls
- `page-context.js` consolidates and exports constants for page context (protocol, host, path, referrer) and path-to-data mappings for product and influxdb_url site data

Module refactor:
- Refactors some JavaScript into ES6 modules, and refactors some of those further into a Component pattern--just vanilla JS and no shadow DOM stuff. The Component pattern that uses data attributes to "bind" JavaScript modules with CSS and HTML is a popular approach in modern web development. This pattern enhances modularity, reusability, and maintainability by associating behavior (JavaScript), structure (HTML), and style (CSS) through the use of data attributes.
- `assets/main.js` is the entrypoint
- Passes pageParams from the Hugo page to modules that import `@params`.
- Moves most external dependencies out of `script` tags and into package.json to be managed with `yarn`.
- Adds `eslint`.
- For modules that aren't yet components, wraps execution statements inside an `initialize()` function and calls the function from `main.js` on `DOMContentLoaded`.
- For components, if the page contains the `data-component="<component-name>"`, the matching element is passed to the component function on `DOMContentLoaded`.
- I tried to avoid changing logic where it wasn't necessary.

Update DOC_GPT_PROFILE.md

customize ai chat modal styles

fix(influxdb-url): Rename to cloud_dedicated in influxdb_urls.yml, remove newly added placeholder URL and use the extant default, refactor
- Rename  to  in influxdb_urls.yml
- Fix influxdb-url.js and data provision in local-storage.js to use the new name, mapping it to  to retain the existing local storage key

chore(api-lib): Use local-storage import instead of window global

chore(js): cleanup

fix(js): Ensure feature-callout initializes on page load

fix(theme): Load preferred theme before making the page visible. Execute a predefined function by specifying the function name in data-theme-callback

fix(search-toggle): Restores toggling the search field when sidebar is collapsed. Moves the event handler to a new search-button component

fix(ai): Fix custom attribute assignment. Rename property to ai_example_questions

Include the word `Bearer` or `Token`, a space, and your **token** value (all case-sensitive). Fix TOC links.
Fixes #5781

fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content

fix(api-ref): Update getswagger.sh destination paths to use the new directory structure when fetching spec files. Update the redocly  plugin module path.

hotfix: fix hlevel bug in children shortcode

Remove underline from custom time widget

add color to custom time widget styling
2025-02-03 08:31:55 -06:00
Scott Anderson d73e99dd41
Add CLI instructions for writing sample data (#5814)
* add cli instructions for writing sample data

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 08:50:05 -07:00
Paul Dix 9ed11bc770
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-01-31 10:07:44 -05:00
Paul Dix df3e4ca014
Update content/influxdb3/enterprise/plugins.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 10:07:29 -05:00
Paul Dix 90775648cb
Update content/influxdb3/core/plugins.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-31 10:07:24 -05:00
Scott Anderson 43efe0c4c2
Add new influxdb3 show system commands (#5812)
* add new show system table commands

* Apply suggestions from code review

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

* Update content/shared/influxdb3-cli/show/system/summary.md

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-30 15:19:48 -07:00
Scott Anderson 80a523d921
InfluxDB 3 Core and Enterprise write guides (#5811)
* WIP influxdb3 write guides

* get based content for write guides

* fixed some lint issues

* ported write guides as shared content to enterprise

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-30 12:37:12 -07:00
Paul Dix 9b57b1fb7a Update plugin docs 2025-01-28 20:24:36 -05:00
Jason Stirnaman f1d82f4b00 fix(api-docs): Update API reference directories and generation script for influxdb3 URL paths, update links and names in reference content 2025-01-28 10:53:07 -06:00
Jason Stirnaman eb3ca6a4fc
Merge branch 'master' into jstirnaman/issue5781 2025-01-27 15:19:22 -06:00
Scott Anderson f4c3332fbc
Add new influxdb3 write and query input methods (#5807)
* add new influxdb3 write and query input methods

* Apply suggestions from code review

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

* updated table formatting

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-27 14:16:25 -07:00
Jason Stirnaman 17ce08db08
Merge branch 'master' into jstirnaman/issue5781 2025-01-27 15:13:03 -06:00
Scott Anderson 60a2268b96
Update content for 72 hour limit change (#5806)
* update content for 72 hour limit change

* Apply suggestions from code review

Co-authored-by: Paul Dix <paul@pauldix.net>

* updated query-file-limit content structure

---------

Co-authored-by: Paul Dix <paul@pauldix.net>
2025-01-27 08:30:19 -07:00
Jason Stirnaman d2c96a8795
Merge branch 'master' into jstirnaman/issue5781 2025-01-24 17:03:59 -06:00
Jason Stirnaman be2724ce7f
Merge branch 'master' into chore/fix-typo-in-clustered-bypass-identity-provider-section 2025-01-24 17:03:33 -06:00
Dustin Eaton 98d05870da
chore: fix typo in Clustered bypass identity provider section 2025-01-24 16:53:28 -06:00