Commit Graph

231 Commits (release-client3-gov2)

Author SHA1 Message Date
Scott Anderson 0b5d933667 hotfix: remove influxql tracking issue links 2024-03-26 14:30:15 -06:00
Scott Anderson f458519a2b
add information about write partition limits, closes #5372 (#5379) 2024-03-22 07:52:09 -06:00
Jason Stirnaman 30f9fa049a
hotfix(v3): serverless menu (#5367) 2024-03-15 18:59:23 -05:00
Jason Stirnaman db059f99b0
Strategies to improve query performance: operations, number and size … (#5215)
* Strategies to improve query performance: operations, number and size of parquet files
Fixes #5108

- Add query performance strategies to optimize-queries

* Apply suggestions from code review

* Apply suggestions from code review

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>

* chore(v3): WIP query perf
Fixes #5108

* chore(v3): WIP: Query performance

* chore(v3): WIP: Explain the EXPLAIN report and indicators of query expense, performance problems.

* WIP: optimize queries - how to read a query plan, operators

* WIP: Read a query plan example 2

* WIP: moved how to read a query plan to its own page.

* WIP(v3): operators

* chore(v3): WIP add query plan info from DataFusion slides and @NGA-TRAN

* chore(v3): WIP read a query plan - explain tree format and reorganize

* WIP: query plan

- Adds Query Plan reference
- Completes Analyze a Query Plan, pending cleanup, continue at :471
- Added image from Nga's blog
- Updates EXPLAIN doc
- TODO: Create public docs for
https://github.com/influxdata/docs.influxdata.io/blob/main/content/operations/specifications/iox_runbooks/slow-queries.md

* chore(spelling): Vale config changes

- Add vale to package.json and use Yarn to manage the binary. You can use `npx vale` to run manually.
- Move InfluxData spelling ignore list into the style.
- Reorganize custom (product) spelling lists to comply with Vale 3.x
- Add InfluxDB v3 terms

* chore(spelling): Vale config changes

- Add vale to package.json and use Yarn to manage the binary. You can use `npx vale` to run manually.
- Move InfluxData spelling ignore list into the style.
- Reorganize custom (product) spelling lists to comply with Vale 3.x
- Add InfluxDB v3 terms

* chore(v3): Reorg of query troubleshooting and optimizing docs

- Adds query-data/troubleshoot-and-optimize
- Splits optimize docs into troubleshoot and optimize docs
- Moves Flight response doc to flight-responses.md

* chore: Fixes broken links, typos, missing content, etc.

- Fixes various errors and style violations reported by Vale.
- Fixes broken links and missing content in glossaries.
- Fixes missing and extraneous whitespace.

* Apply suggestions from code review

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/analyze-query-plan.md

* chore(clustered): Query plan: Apply review suggestions

Co-Authored-By: Nga Tran <20850014+NGA-TRAN@users.noreply.github.com>

* feature(v3): Analyze a query plan:

- Apply code formatting to plan implementor names
- Simplify some points
- Add links

* add query plan html diagram (#5365)

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/analyze-query-plan.md

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

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

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

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

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

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/trace.md

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

* Update content/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/analyze-query-plan.md

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

* fix(v3): finish the EXPLAIN descriptions and examples

* chore(tests): Setup a python venv in test containers

* fix(ci): Vale vocab

* fix(v3): Punctuation typo

* chore(ci): Update README

* fix(v3): Apply review suggestions and capitalization

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

* fix(v3): Add note to optimize page and revise troubleshoot

* fix(v3): optimize-queries link

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Nga Tran <20850014+NGA-TRAN@users.noreply.github.com>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-03-15 18:40:38 -05:00
Scott Anderson 259e8e67b4
add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
Scott Anderson 0ecc796e60
Update SQL functions added upstream (#5345)
* updates sql functions added upstream

* Apply suggestions from code review

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

* port changes to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-03-06 14:00:18 -07:00
Scott Anderson 3b9bf0d019
Update SQL timestamp functions and casting operations (#5332)
* updated sql time and date functions

* update sql casting docs with new TIMESTAMP behavior, closes #5331

* Apply suggestions from code review

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

* added format_n argument to to_timestamp* functions

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-26 15:21:25 -07:00
Andreas Deininger e53083e7fc
docs: fix broken links (#5322)
* docs: fix broken links

* Update content/influxdb/cloud-dedicated/process-data/visualize/grafana.md

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-16 15:40:14 -06:00
Jason Stirnaman 8cda7285ca
fix: be explicit about srvls write 201 (#5328) 2024-02-16 12:47:41 -06:00
Scott Anderson 926eceea41
Update 'SHOW TAG VALUES' documentation to include a FROM clause (#5324)
* add note to show tag values docs about including a FROM clause, closes #5321

* Update content/influxdb/cloud-dedicated/reference/influxql/show.md

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

* port changes to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-15 11:31:48 -07:00
Andreas Deininger 476a73e95e
Fixing typos (#5315)
* Fix typos

* Bump hugo to latest version v0.122.0

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-02-05 09:51:51 -07:00
Jay Clifford e66563946c
Updated grafana.md to include the new InfluxDB data source SQL setup (#5307)
* Updated grafana.md to include the new InfluxDB data source SQL setup

* updates to new grafana docs

* Apply suggestions from code review

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

* ported grafana docs to other v3 products

* minor updates to grafana files

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Scott Anderson <scott@influxdata.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-02-05 09:34:34 -07:00
Andrew Lamb 81c6e3edfd
Update time-and-date.md to correct supported `interval` types (#5314)
* Update time-and-date.md

Fixes https://github.com/influxdata/docs-v2/issues/5313

Update docs to correct supported interval type

* Update content/influxdb/cloud-serverless/reference/sql/functions/time-and-date.md
2024-01-30 08:43:17 -07:00
Jason Stirnaman 7479ceabf2
Revert "Revert "feature(v3): Write: partial writes write good lines and reject bad li… (#5169)" (#5280)" (#5304)
This reverts commit 624eb0205b.
2024-01-17 13:20:25 -06:00
Gary Fowler 61e8999dba
Update limits.md (#5297)
Namespace terminology caused some confusion; changing the word namespace to database to try to ease this confusion.
2024-01-10 16:01:44 -07:00
Jason Stirnaman 4b371c91d8
Update Go Arrow package version (#5288)
Fixes #5271

- Updates Go samples that use the client library to use the same Arrow package version (v13) used in the client library
- Updates Go FlightSQL examples to use the latest Arrow package (v14).
2023-12-28 14:02:58 -06:00
Jason Stirnaman 9e276df194
Optimize writes: Use Telegraf to pre-process data before writing (#5282)
* chore(v3): preprocess writes (Telegraf, etc)

* feat: optimize writes using Telegraf

* WIP: dedup plugin

* WIP: Dedup

* chore(v3): Writes: Preprocess data using Telegraf: Dedup example

(#5155)
- Add example using processors.dedup in Telegraf.
- The plugin or configuration doesn't currently work as expected. Investigating...

* chore(v3): Write data: pre-process data using Telegraf

- Add Telegraf examples that pre-process data to avoid schema conflicts and reduce payload (bandwith, memory, etc.) when writing data.
- For Serverless. Will port to Dedicated and Clustered after approval.
- Doesn't include Dedup yet - I'm waiting on help to make it work (see branch https://github.com/influxdata/docs-v2/compare/issue5155-preprocess-with-dedup)

* Update content/influxdb/cloud-serverless/write-data/best-practices/optimize-writes.md

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

* Apply suggestions from code review

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

* chore(test): Test harness setup, use golang base image

- Use golang base image for ease of Go environment setup. Installing Python separately is easier than Go.
- Add flag to bypass python warning about using system python and pip.
- Remove redundant env.products from pytest.ini; we already load it into environment variables.

* chore(v3): Optimize writes: Use Telegraf

Closes Telegraf guide: how to use the Converter processor to coerce data before writing #5155

- Adds use cases to Dedicated and Clustered docs
- Adds example for Execd processor plugin to all
- Clean up and pass tests
- Remove shared code sample

* fix(v3): Optimize writes: Placeholders and indent fixes

* Update content/influxdb/cloud-dedicated/write-data/best-practices/optimize-writes.md

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

* Update content/influxdb/cloud-serverless/write-data/best-practices/optimize-writes.md

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

* Update content/influxdb/clustered/write-data/best-practices/optimize-writes.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-12-22 11:23:49 -06:00
Jason Stirnaman d61107a3d3
feature(v3): Cloud Dedicated write API: partial writes write good lines and reject bad li… (#5273)
* feature(v3): Write: partial writes write good lines and reject bad lines #5160

- Documents the proposed partial writes feature for Serverless and Dedicated.
- Updates Troubleshoot writes and API docs.

* chore(v3): update write status codes (#5160)

* Update content/influxdb/cloud-serverless/write-data/troubleshoot.md

* chore(v3): cleanup partial write descriptions in API ref and troubleshooting guide
2023-12-18 12:43:44 -06:00
Jason Stirnaman 624eb0205b
Revert "feature(v3): Write: partial writes write good lines and reject bad li… (#5169)" (#5280)
This reverts commit 90948e67dc.
2023-12-15 09:27:57 -06:00
Jason Stirnaman 90948e67dc
feature(v3): Write: partial writes write good lines and reject bad li… (#5169)
* feature(v3): Serverless write API: writes good lines, rejects bad lines #5160

- Documents the proposed partial writes feature for Serverless and Dedicated.
- If some points are written, returns 201 status code.
- Updates Troubleshoot writes and API docs.

* feature(v3): Serverless write API: writes good lines, rejects bad lines #5160

- Documents the proposed partial writes feature for Serverless and Dedicated.
- If some points are written, returns 201 status code.
- Updates Troubleshoot writes and API docs.

* fix: Serverless cleanup

* fix: Serverless write API: restore 204 and explain 201 and 400 status codes.

* Apply suggestions from code review

* fix: Serverless write API: 201 superseded by 204 to maintain v2 compat.

- Documents https://github.com/influxdata/idpe/pull/18398.

* fix: Serverless write API: 201 superseded by 204 to maintain v2 compat.

- Documents https://github.com/influxdata/idpe/pull/18398.

* Update content/influxdb/cloud-serverless/write-data/troubleshoot.md

* Update content/influxdb/cloud-serverless/write-data/troubleshoot.md

* Update content/influxdb/cloud-serverless/write-data/troubleshoot.md
2023-12-13 16:20:51 -06:00
Scott Anderson ada8186a36
Add schema warnings to migration guides (#5268)
* WIP add migration schema warnings

* added tsm to dedicated and clustered migration guides, closes #5258

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-12 16:46:33 -07:00
Scott Anderson 2aa5713267
remove serverless system tables info, related to influxdata/EAR#4741 (#5265)
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-06 16:34:31 -07:00
Jason Stirnaman 5649770e06
Fix-5226 v2 and v3 series inaccuracy (#5264)
* fix(v2): series keys in OSS

closes #5226

- Fix v2 series keys definitions
- Remove field key from OSS description
- Update glossary and schema-design.

* fix(v3): rejected points reason

closes Fix series definitions and reasons for rejected points #5226
- Replaces series with partition in reasons for rejected points.
2023-12-06 16:25:37 -06:00
Scott Anderson ae3341cc70
v3 InfluxQL troubleshooting (#5261)
* WIP v3 influxql troubleshooting

* WIP influxql troubleshooting

* WIP InfluxQL troubleshooting

* add influxql troubleshooting to serverless

* Update content/influxdb/cloud-dedicated/query-data/influxql/troubleshoot.md

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

* ported influxql troubleshooting to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-12-06 14:04:10 -07:00
Jason Stirnaman de0f526bdf
Reorganize Serverless DBRP for v1 queries and writes, explain DBRP and auto bucket defaults (#5257)
* chore(v3): DBRP: Update Serverless API ref (#5234)

* chore(ci): Tests: substitute placeholders in JSON body parameters

* chore(v3): DBRP: copy page from influxql to admin/dbrps.

* chore(ci): Trying to prevent "a Influx..."

* chore(ci): Allow autogen

* chore(serverless): DBRP glossary entry

* chore(v2): add default DBRP note

* chore(v3): use product-name shortcode

* chore(v3): use product-name shortcode, clarify retention period and mapping

* chore(serverless): Create Bucket:

- add missing example for Data Explorer
- move Retention Period syntax and define retentionRules syntax
- setup for tests

* chore(serverless): Create Bucket:

- add missing example for Data Explorer
- move Retention Period syntax and define retentionRules syntax
- setup for tests

* chore(serverless): Update bucket: alias to match other products

* chore(v3): Serverless for prototyping: update with DBRP behavior

* Serverless auto-generated buckets have 3-day default retention period
Fixes #5234

- v1-compat guide:
  - passes tests
  - explains DBRPs (default, automatic, and management)
  - migrate DBRP content from query-data/influxql/dbrp
- v2-compat guide:
  - fix TOC
  - add list code example
- rename influxdb-v1-api to api/v1-http, migrate params from v1-compat guide, and explain DBRP in context
- add write-data/api/v1-http and migrate content from v1-compat guide
- move optimize and troubleshooting up to /query-data
- add Related items support for paths containing http
- substitute placeholders in tests

* chore(test): update configuration in README

* fix(serverless): Optimize queries parent

* fix(serverless): create-bucket cleanup

* fix: cleanup

* fix: close tag

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* fix(v3): permission to create dbrp-mapped bucket

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-12-05 16:48:25 -06:00
Scott Anderson cbd2a0b72a
Update mentions of IOx to v3 (#5256)
* update mentions of IOx to v3

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-30 11:52:40 -07:00
Scott Anderson 92db741681
Flux migration troubleshooting and IOx naming cleanup (#5249)
* adds error to migration troubleshoot, some IOx cleanup, closes influxdata/DAR#387

* 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>
2023-11-22 12:30:24 -07:00
Jason Stirnaman 5c74bf4ff6
5156 Writes: add v1 to Serverless get-started (#5233)
* chore(ci): Install Telegraf to test container

* chore(v3): test telegraf config and startup:

- creates the config file for the test run. TODO: remove the duplication and use the content for test setup.
- fix placeholder name

* fix(v3): make test pass for curl API example

* chore(ci): make tests pass for write. Add dependencies to Dockerfile.

* chore(tests): update test build

- Compose metadata: Add profile to test service. We can decouple services later and apply the profile to each. Rename. Pass the image name to the container.
- Fetch the parse_yaml.sh script during docker build, so we only fetch when necessary. Track the script in git. This is still a little janky, but better.
- test.sh: Use `HEAD` for diff (duh). Go back to using docker compose up so we're rebuilding only as needed and reusing the container - much faster, but the output isn't as pretty as `run`.
- pytest.ini, requirements.txt: Use pytest-dotenv to load env.products variables.

* fix(write): update JS instructions and pass tests.

* chore(ci): Install influx v2 CLI into the Docker test container.

* chore(ci): move .env file loading to pytest and run product tests separately with the proper .env file:

- Moves .env configs to be loaded by the test runner instead of by Docker. I'd prefer to ignore any product divergence and have them run interchangeably, but the pros outweigh the cons for now.
- Add example for passing custom commands in the compose file.

* fix(v3): replace curl example with v1 and v2, simplify JS example, pass tests.

feat(v3): add v1 write, test, update text:

- adds Serverless v1 /write example with note about autogen behavior
- adds link from v1 examples to Migrate guide
- adds description of autogen behavior to v1-compat guide
- updates "powered by..." text
- adapts examples to make them more testable, asserts `/write` status code
- replace "shared" examples (only used once) with inline to make them testable

fix(v3): promote migrate link

* Update content/influxdb/cloud-dedicated/get-started/write.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* chore(v3): Write: fix wording for curl success  (#5156)

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-11-15 14:41:29 -06:00
Jeffrey Smith II 491dfc50d7
fix: update influxql docs to reflect implicit time limit (#5237)
* fix: update influxql docs to reflect implicit time limit

* chore: include default time range

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

* chore: include default time range

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

* chore: include default time range

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

* chore: better wording/explanation

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

* chore: better wording/explanation

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

* chore: better wording/explanation

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-15 14:21:55 -06:00
Scott Anderson 2c1375d9cb
SAL operators (#5225)
* WIP SQL operators

* add more descriptions for sql operators

* Apply suggestions from code review

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

* port sql operator docs to serverless and clustered

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-13 09:12:50 -07:00
Scott Anderson 636f5ada45
V2 nav reorg (#5213)
* nest reference docs menu in v2 and cloud

* move migrate data into write data

* nest notebooks under tools

* nest templates under tools

* nest telegraf configs under tools

* cleanup weights and titles of tools sections

* reorg org and bucket management under admin

* add backup/restore to admin, clean up related links

* restructure security sections under admin

* Apply suggestions from code review

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

* updated serverless cli docs to address pr feedback

* Update content/influxdb/cloud/admin/organizations/delete-org.md

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

* port v2 install changes to new structure

* address pr feedback and ported missing content to serverless

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-11-06 15:53:12 -07:00
Jason Stirnaman c4b97f9acf
5025 fix and test python examples (#5207)
* chore(v3): add test replacements

* fix(v3): get-started/query samples, make testable
2023-10-30 16:48:09 -05:00
Jason Stirnaman abf60c9b69
chore(v3): There is no index of Tag Values, Tag Values are "just data" in IOx. #5097 (#5202)
- Fix example

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-10-30 09:03:49 -05:00
Jason Stirnaman c4ccc191b6
fix(v3): remove v2-prefer note, replace with specific recommendations (#5195)
* fix(v3): remove v2-prefer note, replace with specific recommendations

- removes the shared v2-prefer shortcode note.
- adds "Flight client" tag to all Flight RPC and Flight SQL client pages.
- replaces the note with specific write/query notes in each platform.
- misc fixes

* fix(v3): v2 client library typo

* fix(v3): Cleanup usage note for all v2 client libraries

- Change note to warning
- Condense
- Move warning to prepend block
- Make consistent on all pages
- Remove autolinking to GitHub repos

* chore(v3): Add "Clustered"

* fix(v3): typo
2023-10-26 14:45:38 -05:00
Scott Anderson 42a493aafa hotfix: fix typo in get-started query examples, closes #5152 2023-10-25 10:23:27 -06:00
Jason Stirnaman 4f838adb38
V3 summarize tools (#5191)
* feat(v3): add table summarizing tools for each platform

* Update content/influxdb/cloud-dedicated/get-started/_index.md

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

* Update content/influxdb/clustered/get-started/_index.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-10-25 08:35:52 -05:00
Scott Anderson 5d3328b7c6
Add InfluxQL schema exploration docs (#5189)
* add influxql explore schema task-based doc

* port influxql explore schema guide to clustered and serverless
2023-10-24 10:27:18 -06:00
Scott Anderson 8223d6e3f0
Add task-based InfluxQL aggregation guide (#5187)
* added task-based influxql aggregate guide

* Apply suggestions from code review

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

* ported influxql aggregate guides to other v3 products, added related links

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-10-24 08:00:32 -06:00
Scott Anderson fc0892fe71
add influxql show stmt docs (#5186) 2023-10-23 08:43:33 -06:00
Jason Stirnaman 5bc6fb2865
5178 v3 fix broken link (#5180)
* fix(v3): Closes v3: fix broken link #5178

* fix(v3): fix broken links, document query FlightCallOptions
2023-10-16 15:25:00 -05:00
Jason Stirnaman 5ad8e80361
5143-Add Optimize Queries page with query analysis help (#5165)
* chore(test): Use my python client fork (pending approval) to allow custom headers.

* feature(query): Add Optimize Queries page with query analysis help

- Closes Client library query traces: Python #5143
- Dedicated and Clustered examples for enabling query tracing and extracting headers
- System.queries table
- Explain and Analyze
- For now, skip tests for sample Flight responses until we add in code samples.

* Update content/influxdb/clustered/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/clustered/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/clustered/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/clustered/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/clustered/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries.md

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

* feat(v3): influx-trace-id for dedicated, tracing not ready for clustered (Client library query traces: Python #5143)

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-10-16 15:08:40 -05:00
Scott Anderson d3e26012a3 hotfix: remove tracking issues from influxql feature support pages 2023-10-04 09:26:07 -06:00
Jason Stirnaman de4fe4c0ba
Fix: Placeholder cleanup (#5164)
* chore(ci): Update vocab.

* chore(test): Set language-specific replacements for code sample tests

This is a bit of kludge to allow for language-specific replacement patterns
while keeping the code samples valid when a user replaces placeholder strings with their own and copies the sample.
This is necessary for executing (not for validating syntax) of the code samples.

- Workaround for identifying language-specific replacements for pytest-codeblocks test runs.
- Uses Python f-strings to identify Python-specific placeholders.
- To import os for your code sample and hide it from users, wrap it in a comment and use the `pytest-codeblocks:cont` comment tag. See d0ca7e22b8/README.md?plain=1#L117

* fix(v3): Cleanup: fix link and grammar
2023-10-04 09:36:20 -05:00
Jason Stirnaman 237b01877b
chore(qol): Test python and shell code samples. WIP - use for local testing only, not ready for CI. (#5154)
- Adds a Docker image, scripts, and configuration that install and run pytest-codeblocks on Python and shell code samples in Markdown.
- Copied from https://github.com/jstirnaman/docs-codeblocks/
- TODO: The script copies files into a tmp directory configured as a bind mount for the Docker container. We might want to replace this with the experimental `watch` feature.
- TODO: Use a secret to configure the token. As is, values subbed from the dotenv file are exposed in your Docker container history.
2023-09-26 14:56:21 -05:00
Scott Anderson 7c550ce9c8 hotfix: removed influxql tracking issue links to private repo 2023-09-21 08:13:19 -06:00
Scott Anderson fe9240bf9d hotfix: updated influxql function list on landing page 2023-09-19 14:03:11 -06:00
Scott Anderson 57f162520c
Update InfluxQL and SQL docs for 3.0 products (#5144)
* updated 3.0 influxql functions, closes #5123

* updated sql operators lists

* updated sql functions

* Apply suggestions from code review

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

* updated mentions of iox in query reference docs

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-09-19 10:09:57 -06:00
Jason Stirnaman d1aac04309
fix(v3): python client synchronous and batch writing, remove async (#5141) 2023-09-18 13:06:34 -05:00
Jason Stirnaman e0bafcd9a1
fix: fix v3 write descriptions, Add v3 Troubleshoot writing data #5135 (#5140)
* fix: fix v3 write descriptions, Add v3 Troubleshoot writing data #5135

* Update content/influxdb/cloud-dedicated/write-data/troubleshoot.md

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

* Update content/influxdb/cloud-serverless/write-data/troubleshoot.md

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

* Update content/influxdb/clustered/write-data/troubleshoot.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-09-18 13:03:47 -05:00
Scott Anderson 35ad46c4c2
Version restructure (#5133)
* mass changes for version restructure

* fixed latest-patch and flux version generator

* updated hugo configs

* fixed flux frontmatter injector

* fixed flux frontmatter injector

* WIP api generator updates for version restructure (#5128)

* fixed telegraf plugin list

* removed latest shortcode

* fixed current-version

* fixed product dropdown crosslinking

* fixed alt links

* WIP fixing links

* fixed broken links

* updated api doc generation

* fixed additional resources

* added version redirects to edge.js

* fixed search placeholder

* fixed paged titles
2023-09-12 23:33:31 -06:00
Scott Anderson 471ee4561d
InfluxDB Clustered documentation (#5126)
* WIP base changes for clustered docs

* WIP clustered docs

* Add new influxdb/host shortcode and implement it in 3.0 docs (#5077)

* add new influxdb/host shortcode and implement it in 3.0 docs

* remove oss- cloud-only shortcodes from serverless

* Apply suggestions from code review

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

* updated urls js to PR suggestion

* Updated JavaScript, templates, and styles for Clustered URLs (#5079)

* updated js, templates, and styles for clustered urls

* Apply suggestions from code review

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

---------

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

---------

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

* restructure product dropdown template to be more extensible

* fixed more page template bugs

* fixed references to cloud in clustered

* updated docsearch templates

* added early access flagging and cta-link shortcode

* minor content updates in clustered

* updated staging config

* fixed typo in clustered description

* ported influxctl 2.0.1 to clustered

* ported get started changes to clustered

* ported 3.0 admin docs to clustered

* port null tag content to clustered

* ported influxctl note to clustered

* ported query reorg changes to clustered

* updated early access to limited availability, updated clustered landing content

* ported new content to clustered

* ported new content to clustered

* updated cta on clustered landing page

* Updated notifications and added InfluxDB Clustered announcement notification (#5125)

* updated notifications, added clustered announcement notification

* updated cta in clustered notification

* updated influxctl profile configs

* update clustered search attributes

* updated learn more link in clustered notification

* Apply suggestions from code review

* fixed typos

* fixed typos

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-09-06 06:21:47 -06:00
Jason Stirnaman a9bb65331e
hotfix(v3): flight response: cleanup (#5124) 2023-09-05 14:52:18 -05:00
Jason Stirnaman 4197c01712
feature(dedicated): InfluxDB Flight responses and errors (Closes #5114): (#5115)
* feature(dedicated): InfluxDB Flight responses and errors (Closes #5114):

- Describe Flight+gRPC high-level request semantics.
- Relationship between gRPC, Flight, InfluxDB
- List error codes using by InfluxDB, how they translate to Flight and gRPC statuses.
- Example errors, what they mean, possible causes

Co-authored by: Jay Clifford<@Jayclifford345>

* Update content/influxdb/cloud-dedicated/query-data/troubleshoot.md

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>

* fix(v3): Apply suggestions from @alamb. Refine organization, add stream and RecordBatch sections.

* fix(v3): improve stream, schema, batch

* fix(v3): toc

* fix(v3): troubleshoot flight (Flight responses and errors when querying v3 #5114):

- gRPC server-side streaming and nomenclature.

* fix(v3): Fix evaluation and prototyping #5120

* fix(v3): rename, update v3 Python reference, fix params (closes Flight responses and errors when querying v3 #5114)

* fix(v3): file name

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/troubleshoot.md

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

* Update content/influxdb/cloud-dedicated/query-data/execute-queries/troubleshoot.md

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

* Update content/influxdb/cloud-serverless/query-data/execute-queries/troubleshoot.md

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

* Update content/influxdb/cloud-serverless/query-data/execute-queries/troubleshoot.md

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

* fix(v3): add PR suggestions

---------

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-09-05 13:00:29 -05:00
Scott Anderson 8208824e34 fixed typos in prototype doc, ported to dedicated 2023-08-30 15:08:19 -06:00
Scott Anderson 0606902380
New Guides section, Serverless as an evaluation and prototyping platform (#5118)
* added new guides section to serverless and dedicated, fixed bug, closes #4978

* added serverless prototyping and evaluation document

* Apply suggestions from code review

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

* remove dbrp relevance statement

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-08-30 14:58:29 -06:00
Scott Anderson b9972eff92
Update content and video on 3.0 landing pages (#5119)
* updated content on 3.0 landing pages

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-08-30 13:12:29 -06:00
Chunchun Ye 110cca9dda
chore: feedback
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-08-30 09:39:21 -05:00
Chunchun 9fee76066b
chore(serverless-grafana): update "create a datasource" for InfluxQL
chore: change article
2023-08-29 17:18:45 -05:00
Scott Anderson d24fc17c37 hotfix: port durability updates to serverless 2023-08-28 09:25:41 -06:00
Scott Anderson b2131107d7 hotfix: fixed more typos in durability docs 2023-08-24 15:07:02 -06:00
Scott Anderson 870f8ecd25 hotfix: fixed typo in 3.0 durability docs 2023-08-24 15:04:47 -06:00
Scott Anderson 27cddb7773
Add data durability documentation to Dedicated and Serverless (#5105)
* added data durability to dedicated

* Update content/influxdb/cloud-dedicated/reference/internals/durability.md

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

* ported data durability doc from dedicated to serverless

* fixed serverless durability frontmatter

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-08-24 15:01:42 -06:00
Jason Stirnaman da36218fb2
Execute queries reorg (#5100)
* chore(ci): Add git pre-commit hook script with Vale linting

* fix(v3): Get started: update cloud lib parameters and signatures.

* fix(v3): v1-api: move to Execute queries and cleanup params

* fix(v3): Add Execute queries > Client libraries

* fix(v3): Python and Go client library guides: reorg and cleanup.

* fix(v3): Spelling

* chore(v3): Go client lib reference.

* chore(ci): Add upsample to accepted terms.

* fix(v3): Fix pandas guides.

* fix(v3): Get started: query cleanup.

* fix(v3): cleanup go-flight

* fix(v3): Data explorer cleanup.

* fix(v3): clean up client lib index

* fix(v3): API cleanup.

* fix(v3): add metadata

* fix(v3): Cleanup

* fix(v3): Required indicator

* Update content/influxdb/cloud-serverless/query-data/execute-queries/influxdb-v1-api.md

* Apply suggestions from code review

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flightsql-dbapi.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/flight/python-flightsql-dbapi.md

* Update content/influxdb/cloud-dedicated/get-started/query.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/flight/java-flightsql.md

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

* Update content/influxdb/cloud-dedicated/get-started/query.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-08-24 15:11:28 -05:00
Jacob Marble 1f38e3f7a8 chore: explain null tags in primary keys 2023-08-24 16:50:42 +00:00
Scott Anderson 83b4839c82
Add task-based database and token management instructions for Dedicated (#5094)
* add task-based instructions for dedicated db and token admin

* fixed latest shortcode, ported 1.x rp definition to serverless and dedicated
2023-08-21 10:15:09 -06:00
Jason Stirnaman 3dbf0e7554
Move IOx limits page to limits and adjustable quotas page (#5089)
Fixes #4915
2023-08-15 14:52:31 -05:00
Jason Stirnaman 98d181f51a
feature(v3): Get started writing and querying data with the JS client library (closes #5049, part of #5050) (#5080) 2023-08-11 16:25:05 -05:00
Jason Stirnaman 9404fda2f3
chore(ci): Add vale script, configuration, and fixes (#5081)
- Adds VSCode directory-specific configurations for Vale
- Adds a simple shell script to run Vale for dedicated, serverless, and telegraf.
- Adds vocab and spelling configuration.
- Fixes some spelling and style errors in serverless and dedicated.
2023-08-11 13:50:31 -05:00
Jason Stirnaman d3be011e3d
feature(v3): Write and query data using the Java client library: (#5076)
* feature(v3): Write and query data using the Java client library:

- Closes #5048
- Part of #5050
- Fixes csharp example.
- Fixes wrong time placeholder values in query samples.
- Misc. cleanup and fixes.

* fix(v3): whitespace

* Apply suggestions from code review

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-08-10 09:44:12 -05:00
Jason Stirnaman 0a5c0b9bea
fix(v3): fix csharp instructions, fix output format to match result table. Fixes #5047 (#5074) 2023-08-07 18:36:21 -05:00
Scott Anderson 91036b81bf hotfix: fixed typos in subquery docs 2023-08-03 10:16:27 -06:00
Scott Anderson 0afadf5860
SQL subquery reference (#5067)
* WIP sql subqueries

* WIP sql subqueries

* Apply suggestions from code review

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

* final touches on sql subqueries

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-08-03 08:07:08 -06:00
Scott Anderson ecde987d04
make expand blocks easily linkable (#5069)
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-08-03 07:16:47 -06:00
Jason Stirnaman 09361bb4e3
chore(v3): configure client library cert paths for windows (#5065)
* chore: remove maintained by names for 1.x client libraries

* chore(v3): provide root certificate path for Windows (closes #5059)

- Closes #5059.
- Fixes attribute and arguments in reference.
- More reference improvements

* fix(v3): format param names as code

* Update content/influxdb/cloud-serverless/query-data/sql/execute-queries/python.md

* Update content/influxdb/cloud-dedicated/get-started/query.md
2023-08-02 19:52:10 -05:00
Jason Stirnaman b2b6f235dd
Vale linter config (#5060)
* chore(quality-of-life): Initial commit of Vale config, InfluxDataDocs style, and Vocab files for linting docs.

* Update content/influxdb/cloud-dedicated/.vale.ini

* Update content/influxdb/cloud-serverless/.vale.ini

* chore(ci): add terms.

* chore(ci): add vale terms

* chore(ci): add vale terms
2023-08-01 10:38:04 -05:00
Scott Anderson fec12d0b2a
Product/feature EOL and IOx data retention (#5064)
* addes EOL procedures, adds data retention info to serverless and dedicated

* Apply suggestions from code review

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

* updated DR retention language for dedicated

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-07-31 17:20:04 -06:00
Jason Stirnaman 17ae494d2c
fix: spelling errors (#5061) 2023-07-31 16:59:33 -05:00
Jason Stirnaman 4df39ff58b
hotfix(serverless): Missing page (#5063)
Fixes #5059
2023-07-28 16:35:02 -05:00
Jason Stirnaman c5a2e965c8
fix(influx-cli): broken serverless/tools/influx-cli links (#5057)
- Fixes Page not found - Configure influx cli - use the influx cli button #5045
- Copies influx-cli download and installation instructions to influx reference, which is shared across oss, cloud, and cloud-serverless.
- Replaces links pointing to the nonexistent path /influxdb/cloud-serverless/tools/influx-cli and adds an alias for the path.
2023-07-27 16:37:55 -05:00
Jason Stirnaman 557be11e14
hotfix(serverless): missing C# tab (#5056) 2023-07-27 12:48:42 -05:00
Jason Stirnaman 249621550c
fix(v3): Fix and cleanup API compatibility in Dedicated and Serverless (#5052) 2023-07-27 08:36:16 -05:00
Jason Stirnaman 76cba186ae
Add C# client library examples for Get Started (#5051)
* Add Csharp client lib write examples
Part of #5047

* chore(v3): Add C# write examples, fix Go and Python examples.

- Part of #5047
- Examples for writing with the CNodeJS client library.
- Cleanup and fixes for Go examples.
- Python client library no longer requires `org` for writing (defaults to "").

* chore(v3): Add query examples for C# client library.

- Fixes Add Csharp client lib examples #5047
- Makes Go time formatting consistent with example output.
- Cleanup.

* fix(v3): Add custom timestamp tags
2023-07-26 15:25:24 -05:00
Jason Stirnaman 1cb3cf856a
chore(v3): Use python client library (#5046)
- Replaces Flight SQL examples with Client Library examples.
- Closes #5025.
2023-07-26 08:30:28 -05:00
Jason Stirnaman ac47b3ec05
5025 recommend flight over flightsql (#5044)
* chore(v3): Add Go Flight SQL example to go-flight reference.

* chore(v3): Use Go client library in Get Started examples (#5025)

- Replaces Go Flight SQL examples with Go client library.
- Returns table-formatted data to the console instead of JSON.
- Reorganizes files in the example module to avoid  main() naming conflicts.

* Update content/influxdb/cloud-dedicated/get-started/query.md

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

* Update content/influxdb/cloud-dedicated/get-started/query.md

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

* Update content/influxdb/cloud-serverless/get-started/query.md

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

* Update content/influxdb/cloud-serverless/get-started/write.md

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

* Update content/influxdb/cloud-dedicated/get-started/write.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-07-25 08:24:03 -05:00
Jason Stirnaman 580fa03a35
fix(v3): Replace FlightSQL examples with Python client library (part of #5025) (#5043) 2023-07-24 17:21:07 -05:00
Chunchun 90db17022c
chore: update note formatting 2023-07-24 11:43:25 -05:00
Chunchun 794d7d3b33
chore: add empty lines 2023-07-21 11:59:06 -05:00
Chunchun 980bf156b5
chore(tableau): replace to use `useSystemTrustStore=false` and add explanation 2023-07-21 11:54:36 -05:00
Scott Anderson 76cf977706
Add Chronograf documentation to 3.0 (#5039)
* add chronograf documentation to 3.0, clean up cloud URL modal, closes #5037

* add more info about fully-qualified measurements in chronograf doc

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-07-19 14:26:00 -06:00
Jason Stirnaman 898745681d
5025 recommend flight over flightsql (#5032)
* fix(v3): Recommend Flight over Flight SQL, organize, add examples

* fix(v3): Link to new client libraries and fix descriptions

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flight.md

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flight.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flight.md

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/csharp-flight.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/go-flight.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/java-flightsql.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/flight/go-flight.md

* fix(v3): DATE_BIN examples use ordinal or different alias in GROUP BY, add Flight SQL doc for serverless

* Update content/influxdb/cloud-serverless/query-data/influxql/execute-queries/python.md

* Apply suggestions from code review

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-07-18 15:41:47 -05:00
Scott Anderson a01459048d hotfix: add alias to serverless grafana doc to prevent 404, closes #5033 2023-07-18 09:09:19 -06:00
Scott Anderson 3abda2b8e3 hotfix: fix chronograf link in serverless get started 2023-07-18 08:28:02 -06:00
Scott Anderson 803df9b91b
Add InfluxQL to Serverless Grafana doc (#5031)
* add influxql to serverless grafana doc

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-07-17 11:09:34 -06:00
Jason Stirnaman 01fb78db09
fix(v3): query-data cleanup (#5030) 2023-07-17 08:54:59 -05:00
Scott Anderson ddf386d2fa
Restructure query, process, and visualize docs (#5027)
* restructure query, process, and visualize docs

* Apply suggestions from code review

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

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-07-14 11:17:50 -06:00
Jason Stirnaman fd9f4e312c
influxql group by behavior, measurement, and time columns (#5026)
* fix(v3): drop iox::measurement before writing

- Modify example to drop InfluxQL iox::measurement column before writing downsampled data back to InfluxDB.
- Add required org= arg for client.
- Closes #5018

* fix(v3): typo

* fix(v3): typo

* fix(v3): add example of expression

* chore(v3): describe query result set, replace function with function expression or expression
fix(v3): InfluxQL group by result set and default time range
- Closes #5016
- Add InfluxQL result set in basic-query

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-dedicated/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

* Update content/influxdb/cloud-serverless/query-data/influxql/basic-query.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-07-14 12:00:16 -05:00
Jason Stirnaman 38c33657fc
Fix csv examples (#5022)
* fix: comma use in annotated CSV examples (#5017)

* fix: comma use in annotated CSV examples (#5017)

* fix: comma use in annotated CSV examples (#5017)

* fix: typo

* fix: comma use in annotated CSV examples (#5017)

* fix: comma use in annotated CSV examples (#5017)
2023-07-13 17:41:07 -05:00
Jason Stirnaman ad157d235b
Clarify orgs, how to find your version, and cardinality (#5020)
Fixes #5019

- Add Cloud Serverless notes to Cloud (TSM) migration pages.
- Add information about identifying storage engine.
- Not alot more to do for this since we have the TSM/IOX modal banner.
2023-07-10 17:24:45 -05:00
Jason Stirnaman 46a062948f
Remove flux from Dedicated and Serverless docs. (#5014)
* chore(v3): remove Flux

* chore(v3): remove Flux: flux-sql.md

* chore(v3): Remove Flux: reference

* chore(v3): Remove Flux: Reference, set aliases for removed pages

* chore(serverless): Remove Flux: Glossary

* Update content/influxdb/cloud-serverless/query-data/sql/execute-queries/data-explorer.md
2023-07-10 17:16:52 -05:00
Jason Stirnaman 2290eecc6c
fix(v3): new arg names for InfluxDBClient3.query (#5013)
* fix(v3): new arg names for InfluxDBClient3.query

Co-authored-by: Ryan Harber <rharber@users.noreply.github.com>

* Apply suggestions from code review

---------

Co-authored-by: Ryan Harber <rharber@users.noreply.github.com>
2023-07-06 15:03:26 -05:00
Jason Stirnaman 28e3a809fe
Link Tableau into Analyze and Visualize, reorganize tools for query-data and process-data, fix URLs (#5011)
* chore(v3): copy pandas .info and .describe example to new Summarize Data page

* fix(v3): url

* chore(v3): link Tableau guide in Analyze and Visualize, move Analyze and Visualize (query-data/tools) to process-data/tools, alias sql/execute-queries as query-data/tools/, cleanup aliases and relateds, fix urls. (closes #5010)

* chore(v3): update links with new tools URLs

* fix(v3): transposed URLs
2023-07-06 12:39:02 -05:00
Jason Stirnaman ef1958fbe1
4999 fix headings (#5006)
* fix(dedicated): Replace expandable code samples with headings (#4999)

* fix(dedicated): Use example measurement name.

* fix(v3): v3 Python client library references, replace expands with headings (#4999)
2023-06-30 15:07:55 -05:00
Jason Stirnaman 8364bd9e6c
fix(dedicated): influxctl create token (closes #5000): (#5004)
* fix(dedicated): influxctl create token (closes #5000):
- Use multiple database example for preview.
- Note that permissions args are repeatable.
- Use code-placeholders.
- Replace expands with headings for linking.

* Update content/influxdb/cloud-dedicated/reference/cli/influxctl/token/create.md

* Update content/influxdb/cloud-dedicated/admin/tokens/create.md

* Update content/influxdb/cloud-dedicated/reference/cli/influxctl/token/create.md

* fix(dedicated): Placeholder instruction
2023-06-30 10:57:15 -05:00
Jason Stirnaman ec4afbd259
Dar 390 contact support (#5003)
* chore(cloud): Remove support from billing (https://github.com/influxdata/DAR/issues/390)

* chore(cloud): Remove support from limits (https://github.com/influxdata/DAR/issues/390)

* fix(serverless): Add related and fix aliases.

* chore(cloud): Remove and update Support contact (https://github.com/influxdata/DAR/issues/390)

* chore(serverless): Remove and update Support contact (https://github.com/influxdata/DAR/issues/390)

* fix(serverless): Alternatives to deleting data, update measurement/table entries in glossary.

* chore: Update Support footer.

* hotfix: cloud-only tags in glossary

* chore(docs): Update storage-limits to remove directions to contact support (#4996)

* chore(docs): Update storage-limits to remove directions to contact support
Support are not able to increase these limits on the serverless product.  If customers need higher limits they should speak to sales about a dedicated solution in the first instance.

* chore: fix hyperlink to sales

---------

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

* Update content/influxdb/cloud-serverless/admin/billing/_index.md

Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>

* Update content/influxdb/cloud/account-management/billing.md

Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>

* fix(serverless): measurement suggestions

Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>

* Update content/influxdb/cloud-serverless/reference/internals/storage-limits.md

---------

Co-authored-by: Will Cooke <will@whizzy.org>
Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>
2023-06-30 09:39:45 -05:00
Scott Anderson eeba6442e5 hotfix: fix title of iox wayfinding modal 2023-06-23 11:29:23 -06:00
Scott Anderson c6bafcae2d
Process data for Serverless and Dedicated (#4992)
* base landing pages for processing data

* Downsampling guides for Serverless and Dedicated (#4990)

* adds downsampling guide to serverless

* updated downsample to address pr feedback

* ported downsampling guide to dedicated

* Send alerts with Serverless and Dedicated (#4991)

* hotfix: updated api compatibility weight in serverless

* add alerting to serverless docs

* add alerting guide to serverless

* fixed typos

* add TOC to alerting guide

* fixed slack code example

* fixed sql query example in alerting guide

* port alerting guide to dedicated
2023-06-23 11:14:55 -06:00
Scott Anderson ad20c08e2d hotfix: updated api compatibility weight in serverless 2023-06-23 09:16:46 -06:00
Jason Stirnaman 1a20ccf5b3
Improve API compatibility and client library reference docs (#4985)
* chore(dedicated): add link

* fix(dedicated): Change Flight client reference to link to Arrow Flight Client docs

* fix(serverless): cleanup query tools list

* fix(dedicated): cleanup query tools list

* fix(v3): update client libraries intro

* fix(dedicated): Add Go v3 client library. Update Go v2 library

* fix(dedicated): cleanup javascript v2 client lib

* feature(dedicated): python v3 client library reference

- set a pattern for client library reference documentation

* chore(v3): add python client lib reference, fix syntax

* fix(v3): demote v2 JS client library

* chore(v3): move and revise API primers

- move to API compatibility
- revise
- delete redundant examples and link to other pages

* fix(v3): replace influx with influx3 CLI

* fix(v3): cleanup v2 client library references

* fix(v3): SEO title

* fix(v3): api-compatibility
- retention policy for serverless
- format placeholders

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v3/_index.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/install.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/install.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v3/python.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-06-22 10:27:36 -06:00
Scott Anderson 4df36bacc9 hotfix: minor updates to dedicated and serveriless optimize writes 2023-06-21 10:06:12 -06:00
Scott Anderson 7246eb647b
Port "Optimize writes" guide to Serverless and Dedicated (#4973)
* port optimize writes guide to serverless and dedicated

* updated dedicated lp guide
2023-06-21 09:55:11 -06:00
Scott Anderson eef54e021c
Tableau documentation for Cloud Serverless (#4988) 2023-06-20 14:50:43 -06:00
Scott Anderson 3116379931
Cloud Serverless InfluxQL (#4980)
* port influxql reference to serverless

* ported influxql guide content to serverless

* Apply suggestions from code review

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

* update and port sample-data from dedicated to serverless

* Manage tokens in InfluxDB Cloud Serverless (#4984)

* add token management docs to serverless

* updated auth scheme in shared code block

* Apply suggestions from code review

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

* addressed pr feedback, updated serverless auth schema from bearer to token

---------

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

* Add DBRP mapping information to Cloud Serverless (#4982)

* add dbrp mapping to cloud serverless

* added notes about dbrp mappings to serverless influxql docs

* Apply suggestions from code review

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

---------

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

* restructure serverless sql docs

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-06-20 07:52:51 -06:00
Jason Stirnaman 0eb12c1a62
Fix 4965 update py library name (#4971)
* wip(query): cleanup, but broken formatting

* fix(serverless): sync get-started query with dedicated, cleanup

* fix(dedicated): sync get-started/query with serverless, cleanup

* fix(dedicated): get-started/write cleanup

* fix(serverless): update python client name in get-started/write

* fix(dedicated): add links to query tools

* fix(serverless): port view-orgs from cloud, link setup to view-orgs

* fix(serverless): js client lib - add links to token and org pages

* fix(v3): grafana cleanup

* fix(serverless): cleanup telegraf config examples

* fix(v3): cleanup write CSV with telegraf

* fix(v3): telegraf config cleanup

* fix(v3): update python client library
2023-06-07 08:43:57 -05:00
Jason Stirnaman 1b2dfe7e2f
chore(v3): add Telegraf examples, configuration, dual-write (#4929)
-  Add Telegraf examples to get-started/write-data (#4918)
- Update instructions for saving the token, using secret store
- Instructions for setting and using environment variables, add Windows examples
- For Dedicated, make manual-config the config default
2023-06-05 12:12:03 -05:00
Jason Stirnaman a04ef07c3e
docs(v3): construct points and write line protocol (#4964)
* docs(v3): construct points and write line protocol

- use Go, Python, and Node.js client libraries to construct points and write line protocol to InfluxDB Cloud Serverless or Dedicated.

* Update content/influxdb/cloud-dedicated/write-data/line protocol/_index.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-31 17:12:00 -05:00
Jason Stirnaman 6d3cb6b567
Get-started > write data cleanup (#4963)
* chore(serverless): cleanup get-started write and add examples

- Establish setup and write as precursors to other guides (e.g. the WIP future /write-data/line-protocol page).
- Apply a common pattern for code samples, their description, and their execution.
- Move sample code ahead of it's explanation, since that's what most devs will want.
- Add Node.JS example using v2 client library to write
- Make all examples and behavior as similar as possible (output, log messages) while preserving language idioms.
- Fix some descriptions.
- Comment code.
- Add environment variables section to write.

* chore(serverless): instruction for setting and using environment variables

* fix(serverless): fix timestamps in where condition, add env variable note

* Update content/influxdb/cloud-serverless/get-started/setup.md

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

* Update content/influxdb/cloud-serverless/get-started/write.md

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

* Update content/influxdb/cloud-serverless/get-started/write.md

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

* Update content/influxdb/cloud-serverless/get-started/write.md

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

* Update content/influxdb/cloud-serverless/get-started/write.md

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

* fix(serverless): caps

* Revert "Update content/influxdb/cloud-serverless/get-started/write.md"

This reverts commit a76e837db0.

* Revert "Update content/influxdb/cloud-serverless/get-started/write.md"

This reverts commit 5ef4c4904d.

* Revert "Update content/influxdb/cloud-serverless/get-started/write.md"

This reverts commit 0ebdc3bc4d.

* fix(serverless): add custom-timestamps tag for node sample

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-31 16:47:21 -05:00
Jason Stirnaman 1f64b24893
Fix api related links (#4956)
* wip: fix serverless api related links.

* fix(serverless): remove, replace, alias broken links, and/or mark for pending content

- See the annotated link checker report.
(closes 404s for links in Cloud Serverless API reference #4955)
2023-05-25 16:36:05 -05:00
Jason Stirnaman d36544709e
chore(v3): v2 JS client library: (#4951)
* chore(v3): v2 JS client library:

- Remove v2 client-library query page from Dedicated.
- Add v3 query tools note.
- Update examples and credentials.

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/_index.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/query.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/query.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-24 09:09:15 -05:00
Jason Stirnaman 7ff01df9f7
fix(client-library): add imports in Go sample code (#4952) 2023-05-23 16:29:45 -05:00
Jason Stirnaman 6e01923a81
chore(api-ref): update API ref scripts for v3: (#4949)
* chore(api-ref): update API ref scripts for v3:

- Replace cloud-iox with cloud-serverless and cloud-dedicated in getswagger.sh
- Add cloud-dedicated API ref (handcrafted) with query, write, and ping paths.
- Remove separate v1-compat docs for Serverless and Dedicated.
The v1 paths are included in contracts/ref.
- Add Bearer Auth scheme.
- Remove separate v1 docs buttons from api/_index.md

* Update api-docs/cloud-dedicated/ref.yml

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

* Update api-docs/cloud-dedicated/ref.yml

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-23 13:52:45 -05:00
Jason Stirnaman 52258fa331
4919 queries measurement, 4931 token delays (#4933)
* fix(dedicated): delay between token creation and active for queries (#4931)

* feat(v3): describe the system.queries measurement (#4919)

* Update content/influxdb/cloud-dedicated/admin/tokens/create.md

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

* Update content/influxdb/cloud-dedicated/reference/internals/system-tables.md

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

* Update content/influxdb/cloud-serverless/reference/internals/system-tables.md

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

* Update content/influxdb/cloud-dedicated/reference/internals/system-tables.md

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

* Update content/influxdb/cloud-serverless/reference/internals/system-tables.md

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

* Update content/influxdb/cloud-serverless/reference/internals/system-tables.md

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

* Update content/influxdb/cloud-dedicated/reference/internals/system-tables.md

Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>

* Update content/influxdb/cloud-dedicated/reference/internals/system-tables.md

Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Ben Tasker <88340935+btasker@users.noreply.github.com>
2023-05-11 16:04:59 -05:00
Jason Stirnaman b87636b978
Port query and write examples for get-started (#4925)
* fix(dedicated): get-started write

- Add comment explaining env variable
- Remove unnecessary replace instruction

* fix(dedicated): get-started query

- Grammar fix
- Add query tool links
- Add influx3 CLI example
- Add comment explaining env variable

* fix(dedicated): grammar

* feat(serverless): get-started query: add query tool examples

- Add influx3 CLI query
- Add python and go query examples from dedicated
- Explain INFLUX_TOKEN env variable
- Remove unnecessary "Replace..."

* feat(serverless): get-started write add python and go write samples from dedicated

* Update content/influxdb/cloud-serverless/get-started/query.md

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

* Update content/influxdb/cloud-dedicated/get-started/query.md

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

* Update content/influxdb/cloud-serverless/get-started/query.md

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

* fix(serverless): restore closing tags

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-08 15:44:46 -05:00
Jason Stirnaman 3999b37e40
Fix cleanup api (#4922)
* fix(serverless): remove 'delete' mentions from '/write'.

* fix(serverless): replace bucket-name metadata key with database

* fix(dedicated): update API and client library links

* fix(dedicated): replace iox-namespace-name metadata key with database
2023-05-08 08:46:59 -05:00
Scott Anderson 3f8f0e0c5b
Port pricing and billing pages to Serverless (#4921)
* port pricing and billing pages to serverless

* fix altengine frontmatter

* added missing alt_engine frontmatter

* Apply suggestions from code review

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

* address PR feedback

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-05-05 12:52:41 -06:00
Jason Stirnaman 2417827d09
Feature (Serverless): example Flight SQL with Arrow for Java (#4920)
* fix: punctuation

* feat(serverless): Java Flight client, fix menu items

* feat(serverless): Java query example for Serverless.

* Update content/influxdb/cloud-serverless/query-data/execute-queries/flight-sql/java.md

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

* Update content/influxdb/cloud-serverless/query-data/execute-queries/flight-sql/java.md

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

* Update content/influxdb/cloud-serverless/query-data/execute-queries/flight-sql/java.md

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

* Update content/influxdb/cloud-serverless/query-data/execute-queries/flight-sql/java.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-05-05 09:23:10 -05:00
Scott Anderson 274d4a0444
SQL updates and gap filling (#4911)
* ports upstream sql changes to docs, closes #4881

* WIP gapfill functions

* WIP gapfill docs

* gapfill function reference

* document how to fill gaps in data with sql, closes #4870

* Apply suggestions from code review

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

* updated phrase of date_bin_gapfill, ported content to dedicated

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-04-28 08:22:21 -06:00
Jason Stirnaman 13eddccde0
fix(v3): misc. fixes for Telegraf, examples, bucket schemas (#4912)
* fix(serverless): telegraf env var syntax and placeholder description.

* chore(serverless): add links for outputs.influxdb_v2 example

* fix(dedicated): syntax in telegraf config example

* fix(serverless): for v3, discourage use of bucket schemas

- add a warning to discourage use of bucket schemas
- remove create instructions

* fix(telegraf): update environment variable doc and examples to match Telegraf config documentation

- https://github.com/influxdata/telegraf/tree/master/config

* Update content/influxdb/cloud-dedicated/write-data/csv/telegraf.md

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

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-04-27 20:04:48 -05:00
Jason Stirnaman a8bf429282
hotfix: client libraries description (#4910)
- fix bad URLs
- remove IOX-powered
2023-04-27 12:20:08 -05:00
Jason Stirnaman 142e3f43e5
fix(v3): show descriptions for serverless reference > client libraries (#4909) 2023-04-27 11:31:13 -05:00
Jason Stirnaman c1bc8e38b8
feat(iox): add a reference list for client libraries (#4906)
* feat(iox): add a reference list for client libraries

- Reference > Client libraries > v3, v2, v1
- For Serverless and Dedicated

* Update content/influxdb/cloud-dedicated/reference/client-libraries/_index.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/_index.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/_index.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/_index.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/write.md

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

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/_index.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/write.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/python.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/python.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/python.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/_index.md

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

* Update python.md

* Apply suggestions from code review

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/query.md

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/go.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/write.md

* Update content/influxdb/cloud-dedicated/reference/client-libraries/v2/python.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/go.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/query.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/browser.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/install.md

* Update content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/query.md

* fix(iox): client libraries lists for serverless and dedicated

- Removes query examples for serverless that use Flux
- Clean up and explain some placeholders
- Fix Go Flght SQL client URL (404)
- Add Flight SQL clients to client libraries list (I can imagine someone complaining that they should be there; Maybe we should separate them eventually).

* fix(iox): client library lists - extract Flight SQL clients into a separate section

* fix(v3): client libraries and flight sql clients

- cleanup
- fix tags and descriptions
- fix wrong menu names

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2023-04-27 11:05:27 -05:00
Scott Anderson 6223ef0ecd
Cloud Dedicated documentation (#4903)
* base changes for influxdb cloud dedicated

* removed unnecessary whitespace from dedicated homepage

* influxctl reference documentation (#4855)

* influxctl reference docs

* fixed typo, added auth0 token life span

* Apply suggestions from code review

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

* more updates to influxctl docs

* update influxctl docs to address PR feedback

---------

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

* Add admin and manage databases sections to Cloud Dedicated (#4857)

* add admin and manage databases sections

* Apply suggestions from code review

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

* added missing page descriptions to admin docs

---------

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

* Add token management documentation to Cloud Dedicated documentation (#4861)

* add manage tokens documentation to dedicated

* Apply suggestions from code review

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

* update admin token docs to address PR feedback

---------

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

* Dedicated get started (#4878)

* WIP dedicated get started content

* fix(cst): infinite cardinality (#4851)

* WIP cloud dedicated get started

* feat(cloud-dedicated): WIP - write data to Cloud Dedicated

* fix(cloud-dedicated): grammar.

* feat(cloud-dedicated): WIP outline write methods, v1 API use

* fix(cloud-dedicated): dupe name.

* updated staging config, fixed dedicated page titles

* updated dedicated setup doc

* Cloud Dedicated primers v1 API: auth and write (#4865)

* feat(cloud-dedicated): v1 API with Cloud Dedicated
- Add /primers >> /api >> /v1 and /v2
- Move draft started in /write-data to /primers/api/v1
- Created code samples that still need testing
- v1 authentication schemes.

* fix(cloud-dedicated): list children pages

* wip(cloud-dedicated): v1 primer intro

* wip(cloud-dedicated): auth fixes.

* feat(cloud-dedicated): v1 API primer
- part of #4863, #4864
Still untested against CST:
- v1 auth methods
- v1 /write
  - Telegraf config
  - Precision
  - API sample code

* Update content/influxdb/cloud-dedicated/primers/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/_index.md

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v2/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v2/_index.md

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

* Update layouts/shortcodes/api/cloud/v2-prefer.html

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

* Update shared/text/api/cloud-dedicated/basic-auth.js

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

---------

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

* Dedicated v1 write (#4873)

* wip(v1): Revise v1 and add client library info.

* feat(cloud-dedicated): primer v1 API auth and writes

- Fixes for v1 auth and writes
- Configuring node and python v1 client libraries for Cloud Dedicated.

* fix(cloud-dedicated): v1 intros:

- Fix redundant intro
- Query intros

* Apply suggestions from code review

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

---------

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

* Dedicated v2 write (#4875)

* fix(cloud-dedicated): v1 API primer:

- fix typo
- fix description

* wip(cloud-dedicated): v2 auth, write, Telegraf

* feat(cloud-dedicated): v2 API primer (#4874)

- v2 authentication
- Write using /api/v2/write
- Cleanup in v1

* Update content/influxdb/cloud-dedicated/primers/api/v2/_index.md

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

* Update content/influxdb/cloud-dedicated/primers/api/v1/_index.md

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

* Update shared/text/api/cloud-dedicated/token-auth-v2-write.sh

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

* fix(cloud-dedicated): parameters for v1 and v2 writes

- testing proves that org can't be empty

Ongoing:
- writes with v2 client library appear to work, but I can't find the measurement when I query.
- v1 writes with curl respond with 404.

---------

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

* Add Python and Go write instructions to Cloud Dedicated get started (#4876)

* added python and go write instructions to dedicated get started

* Add get started query guide to dedicated (#4877)

* Add get started query guide to dedicated

* Apply suggestions from code review

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

---------

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>

---------

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

* Port reference content into dedicated (#4879)

* ported line protocol and sql reference

* port glossary to dedicated

* fix(cloud-dedicated): cleanup (#4880)

* fix(cloud-dedicated): v1 parameter values

- Fixes parameter values in requests.
- Based on inspection of the request (default port, content-type headers).
- Still not working in CST.

* fix(cloud-dedicated): cleanup auth description and list query tools.

* fix(cloud-dedicated): cleanup auth examples:

- remove boilerplate JS examples. Eventually replace with client lib examples.
- fix incorrect URL
- replace localhost with cloud2 host

* fix(cloud-dedicated): replace placeholders

* Add support for custom dedicated URLs (#4882)

* add support for custom dedicated urls

* Apply suggestions from code review

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

* removed unnecessary conditional in influxdb-urls.js

---------

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

* add information about flight sql support (#4894)

* Update influxctl install and setup instructions (#4893)

* updated influxctl install and setup instructions

* added details to influxctl init page

* Apply suggestions from code review

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

---------

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

* Dedicated query data (#4895)

* WIP port query data section to dedicated

* updated database-name to iox-namespace-name

* updated grafana instructions

* update grafana install instructions

* updated images and links

* fixed broken links in query data section

* fix(cloud-dedicated): get-started write (#4890)

* fix(cloud-dedicated): package name typo

* fix(cloud-dedicated): URL missing query

* fix(cloud-dedicated): iox-namespace-name

* fix(cloud-dedicated): use get-started database name

* fix(cloud-dedicated): add auth-specific examples.

* fix(cloud-dedicated): use Bearer for v2 example

* fix(cloud-dedicated): add a note about token schemes and link to primer.

* fix(cloud-dedicated): org no longer required by API, remove from curl example

* fix(cloud-dedicated): use Bearer

* fix(cloud-dedicated): wordsmithing

* fix(cloud-dedicated): file name

* fix(cloud-dedicated): Go client works without org

* fix(cloud-dedicated): separate the commands for copy-pasting

* fix(cloud-dedicated): v1 API token authentication

* fix(cloud-dedicated): org parameter ignored, but needed in python clients

* fix(cloud-dedicated): v1 API examples and params for /query (#4897)

* fix(cloud-dedicated): minor word change (#4898)

* New homepage and structural changes (#4899)

* WIP first sweep of cloud-iox to cloud-serverless

* WIP iox to serverless content updates

* WIP iox to serverless updates in page templates and data files

* WIP new homepage

* chore(dedicated): copy best-practices from serverless

* fix(serverless): missing shortcut

* new homepage

* fix(dedicated): token links in v1 API primer

* chore(dedicated): write csv with Telegraf

* fix(serverless): write CSV with Telegraf

* updated homepage styles

* updated deps, fix unclosed shortcodes, fix light css

* fix product selector order

* updated database naming restrictions, add resource delete confirmation

* add cloud-ios to cloud-serverless redirect to edge.js

* remove sh from allowed extentions

* fix bug in redirect logic

* add sections to product dropdown (#4900)

* minor homepage css adjustment

* fixed page titles

* fixed more iox references in templates

* Apply suggestions from code review

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

* Migrate 1.x data to dedicated (#4901)

* fix(serverless): cleanup

* chore(dedicated): Migrate 1.x data to dedicated

- Minimal adaptation of IOx to Dedicated for now.
- Use APIs for writing data (CLIs? pyinflux3 only writes CSV? Can't promote influxdb_iox for now)
- Add 2.x CLI warning

* fix(dedicated): URL typos

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/_index.md

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

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/migrate-1x-to-cloud-dedicated.md

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

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/migrate-1x-to-cloud-dedicated.md

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

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/migrate-1x-to-cloud-dedicated.md

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

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/migrate-1x-to-cloud-dedicated.md

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

* Update content/influxdb/cloud-dedicated/write-data/migrate-data/migrate-1x-to-cloud-dedicated.md

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

---------

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

---------

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

* add step for requesting a cluster in dedicated setup

* minor content fixes in best practices

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2023-04-26 08:03:37 -06:00