Commit Graph

71 Commits (pd/http-query-api-system-table)

Author SHA1 Message Date
Jason Stirnaman faa6901f1a fix: SQL reference typo 2025-02-19 23:51:22 -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
Jason Stirnaman d86e7a4d35 chore(monolith): Style and formatting of the HTTP query API and system tables guide 2025-02-19 20:13:31 -06:00
Paul Dix c5ea74b396 Update content/shared/v3-core-http-query-api-system-tables/_index.md
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-02-19 20:01:22 -06:00
Paul Dix 4de50d59cd Add page for HTTP Query API for Core and Enterprise 2025-02-19 20:01:22 -06:00
Jameelah Mercer a4b5c15f54
Merge branch 'master' into docs/5823-write-lp-guide 2025-02-19 10:20:17 -08:00
Scott Anderson ffc97b2f8a
remove processing engine docker dependency (#5841) 2025-02-19 11:13:56 -07:00
meelahme 8264b61d13 Core: update to Random numbers sample data 2025-02-18 12:31:26 -08:00
meelahme aee653551a update to core: NOAA and Bitcoin examples 2025-02-18 12:31:26 -08:00
Jason Stirnaman e7214164ea
Merge branch 'master' into docs/5823-write-lp-guide 2025-02-18 10:50:20 -06:00
meelahme 46b4665f0d Merge branch 'docs/5823-write-lp-guide' of github.com:influxdata/docs-v2 into docs/5823-write-lp-guide 2025-02-14 15:07:14 -08: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
meelahme 59db9042ce Core: Update to Bitcoin sample data write_lp endpoint example 2025-02-14 15:04:20 -08:00
meelahme 6ccda31bef Core: Update to NOAA BAy Area weather data write_lp endpoint example 2025-02-14 14:47:25 -08:00
meelahme 841f3867b9 Core: Update to Home sesnor action data write_lp endpoint example 2025-02-14 14:31:36 -08:00
Jason Stirnaman b689ccb231
Merge branch 'master' into docs/5823-write-lp-guide 2025-02-14 15:37:14 -06:00
meelahme a38e97e633 Initial changes to add write_lp endpoint to Core and Enterprise data sample guides 2025-02-14 13:24:14 -08:00
Jason Stirnaman 2c1f2aaae8 fix(mono): code formatting 2025-02-14 13:45:13 -06: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
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 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
Paul Dix 2c66a5997f
Merge branch 'master' into pd/influxdb3-plugins-doc 2025-02-03 11:28:29 -05: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
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
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
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
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
Scott Anderson 888263a6c7
Merge branch 'master' into pbarnett/writer_to_node_id 2025-01-24 10:45:12 -07:00
Peter Barnett d3625a52fb fix: updating writer-id to node-id 2025-01-24 12:40:08 -05:00
Scott Anderson 86bee7caf6
Add InfluxDB 3 query guides (#5798)
* base content for influxdb3 query guides

* added enterprise versions of query guides

* Apply suggestions from code review

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

* update template titles to use .RenderString

---------

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
2025-01-23 10:18:45 -07:00
Jackie Tien ecb9487d84
Update _index.md 2025-01-22 11:02:33 +08:00
peterbarnett03 092a48d4da
fix: updating last values cache CLI and usage (#5795) 2025-01-21 19:58:49 -07:00
Paul Dix b78162d24c Add plugin documentation for Core and Enterprise 2025-01-19 18:07:40 -05:00
Scott Anderson c0e3f4941f
Visualize data for InfluxDB 3 Core and Enterprise (#5785)
* add grafana for influxdb3 core and enterprise

* add superset docs for monolith

* added tableau to monolith

* mark tableau and superset as draft
2025-01-17 13:22:23 -07:00
peterbarnett03 38b63ec51a
fix: remove incorrect licensing on Core (#5786) 2025-01-16 19:24:18 -07:00
Jane Losare-Lusby 865fda47c5
update influxql cli example flag 2025-01-16 13:49:09 -08:00
Jason Stirnaman 7527d4c27f
Update content/shared/v3-enterprise-get-started/_index.md 2025-01-15 14:36:38 -06:00
Jason Stirnaman df473820d8
Update content/shared/v3-core-get-started/_index.md 2025-01-15 14:36:32 -06:00
Jason Stirnaman d038d5cc80 fix(monolith): a little more help for partial writes 2025-01-15 14:27:16 -06:00
Jason Stirnaman 87c71f48a1 fix(monolith): write APIs and add examples 2025-01-15 14:20:03 -06:00
Jason Stirnaman ce8779142a fix(core): write apis and add examples 2025-01-15 14:20:03 -06:00
Peter Barnett 088735bda3 fix: updating API write endpoint 2025-01-15 14:20:03 -06:00