Commit Graph

155 Commits (jstirnaman-ci)

Author SHA1 Message Date
Jason Stirnaman 522aa8ac4d fix(ci): improve product-specific linting, update CONTRIBUTING, fix write-data errors
Done:
- Refactors and improves pytest runs--smaller scripts, leaner Dockerfile and containers, sensitive .env files are kept in a bind mount and not added to any container.
WIP:
- Test accepts a list of files, otherwise tests staged files.
- Reconfigures the product-specific linting to behave more as intended
  - Add product-specific styles with Branding configurations
- Merges various spelling rules into InfluxDataDocs vocabulary for simplicity
- Removes redundant vocabs and terms lists
- Reconfigures vale.sh to lint staged and unstaged paths, using product-specific Vale configs, and report all suggestions, warnings, and errors--intended for "cleanup projects" beyond routine pre-commit checks.
- Updates CONTRIBUTING.md doc, explains how to install dependencies and how to ignore pre-commit hooks
- Removes reliance on npm/npx
- Rename folder, line protocol -> line-protocol
- Update clustered doc
- Replace bucket/measurement with database/table
2024-06-07 21:41:34 -05:00
Jason Stirnaman 37dd3eaa8d fix: reference: python v3 client library examples should use write_options, not WriteOptions
Fixes #5475
2024-05-30 09:00:02 -05:00
Jason Stirnaman 078df59a38 fix(ci): Vale format and custom vocabularies
- Revert vale JSON output to line output so that husky appropriately fails the commit.
- Update custom vocab terms
- Add Vale to BasedOnStyles to enable the custom vocabs--they need access to Vale's **Avoid** action.
2024-05-29 17:42:31 -05:00
Jason Stirnaman 2e9d94fc90 chore(ci): configure lint-staged to run vale with custom vocabs
- Configures lint-staged to run vale on staged files and use a custom config with custom vocab for specific directories.
- .md files in other directories use the project-level .vale.ini
- Adds the write-good package for style checking
2024-05-29 16:46:51 -05:00
Scott Anderson 2ace7c5f7d
document show retention policies InfluxQL statement (#5474) 2024-05-17 08:26:47 -06:00
Steve 64b202332b
Adding alternative downsampling examples - Using Quix (#5451)
* Downsampling InfluxDB2 data with Quix

* Minor updates

* Adjust weight

* WIP - Added downsample with Quix

* Update menu

* Update menu for v2 downsampling with Flux and Quix

* v2 downsampling page ordering

* Add Quix downsample example to clustered

* Add Quix downsample example to cloud

* Update content/influxdb/cloud-dedicated/process-data/downsample/downsample-quix.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample/downsample-data-quix.md

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

* Update content/influxdb/clustered/process-data/downsample/_index.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>

* Updates based on review comments

* Update Cloud downsampling with Quix page title

* Task/influx quix updates (#3)

Adding alternative downsampling examples - Using Quix.

This PR includes changes to:

Dedicated
Cloud(TSM)
OSS
Clustered
Quix is collaborating with Influxdata to act as a pure Python alternative to Kapacitor+Flux.

The audience is folks who:

Know Python already and/or don't want to learn a DSL, and possibly those who want to process data more "Pythonically" rather than mixing SQL syntax and Python.
FYI: Quix is both a runtime platform (Quix Cloud) and data processor (Quix Streams Python library). The aim of the articles is to show how downsampling can be done in a continuous real-time process using pure Python.

[x] Signed the InfluxData CLA
(if necessary)
[x] Rebased/mergeableAdding alternative downsampling examples - Using Quix.

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

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

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

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

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

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

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

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

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

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

* Update layouts/shortcodes/html-diagram/influxdb-v3-quix-downsample-pipeline.html

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

* Review updates (#4)

Updates from review. thanks.

* Update content/influxdb/cloud-dedicated/process-data/downsample/downsample-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/v2/tools/downsample-data-quix.md

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

* Update content/influxdb/clustered/process-data/downsample/quix.md

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

* Update content/influxdb/clustered/process-data/downsample/quix.md

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

* Update content/influxdb/clustered/process-data/downsample/client-libraries.md

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

* Update content/influxdb/cloud-serverless/process-data/downsample/quix.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample-data-quix.md

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

* Update content/influxdb/cloud/process-data/common-tasks/downsample-data-quix.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>

* Updates from review (#5)

Updates from review

---------

Co-authored-by: steverosam <steve@quix.ai>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-05-16 13:12:15 -06:00
Scott Anderson 37ab74fa25
document influxql subqueries (#5470) 2024-05-14 13:06:04 -06:00
Scott Anderson 65bbf168bd
update supported InfluxQL functions for v3 (#5464) 2024-05-10 18:27:16 -06:00
Scott Anderson 7cd1767efa hotfix: apply upstream changes to sql subqueries doc 2024-05-06 17:33:29 -06:00
Scott Anderson b12223dcc0 hotfix: fix typos in sql subqueries 2024-05-06 10:53:33 -06:00
Scott Anderson d0be7b235a
add error messages and their meaning in serverless (#5442) 2024-04-27 06:29:44 -06:00
Scott Anderson 95cab5bf30
SQL time zone support (#5441)
* add infomrmation about sql timezone support

* Apply suggestions from code review

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

* fixed typos

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-04-25 13:26:52 -06:00
Jason Stirnaman 027b5e877b chore(v3): add links for cluster, database, and bucket 2024-04-24 13:41:00 -05:00
Steve 8e69dd6ca4
Update code to use latest (#5437)
Also fix mixed double and single quotes

Co-authored-by: steverosam <steve@quix.ai>
2024-04-23 07:40:26 -06:00
Jason Stirnaman fd73956bd4 fix(api): fixes #5412. Updates API landing pages to include Management API for Cloud Dedicated and descriptions of v1 and v2 APIs for each product. 2024-04-16 16:45:11 -05:00
Scott Anderson e8e16641e4
Add Quix downsampling html diagram (#5426)
* scaffolding for quix diagram

* WIP quix downsampling diagram

* add quix downsampling html diagram

* replace png diagram with html diagram

* restruction downsample data guides

---------

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-04-15 15:28:46 -06:00
Abdullah Sabaa Allil 248c9c0b39
fix broken curl post commands (#5423)
* fix broken curl post commands

* fix broken curl post commands

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-04-15 15:20:24 -06:00
Merlin 735e4e8e6e
Quix version of "cloud-serverless" downsampling article (downsampling using tumbling windows in Python vs SQL) (#5342)
* Adding alternative version of downsampling procedure that uses the Quix Python library

* adding Jupyter Notebook link

* Apply suggestions from code review

* Rename downsample_quix.md to downsample-quix.md

---------

Co-authored-by: Merlin <merlin@quix.io>
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-04-15 14:42:00 -06:00
Jason Stirnaman f1c22057f2
Document partition and file limits for Serverless free and PAYG queries (#5420)
* Fix shortcut

* chore(serverless): partition and file limits for free and PAYG (closes #5375)

* chore(serverless): partition and file limits for free and PAYG (closes #5375)
2024-04-15 11:21:46 -05:00
Scott Anderson cdc0b25ec2
influxctl v2.8.0 (#5413)
* added influxql query support for influxctl

* removed sql tag from task-based influxctl query guide

* Influxctl v2.8.0 (#5418)

* Release influxctl v2.8.0

* Update change logs

* 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>

* Add influxctl write timeout and new insecure TLS config (#5419)

* add timeout flag to write, update config with insecure tls

* fixed link

* Add 'enable-system-tables' flag to `influxctl query` (#5415)

* add enable system tables flag to influxctl

* Apply suggestions from code review

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

---------

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

* Query system tables with influxctl (#5414)

* outline for querying system tables

* finalized system table query examples

* updated system table validity date

* 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: Joshua Powers <powersj@fastmail.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2024-04-11 11:17:49 -06:00
Scott Anderson 6591e86376 hotfix: add message about delete support in serverless 2024-04-10 14:37:41 -06:00
Jason Stirnaman 8f3947ec92
feat(v3): Parameterized queries with SQL and InfluxQL (#5394)
* feat(dedicated): Parameterized queries for SQL and InfluxQL using the native Flight RPC API

* feat(v3): Parameterized queries for SQL and InfluxQL

* feat(v3): Parameterized queries for SQL and InfluxQL

* feat(v3): Dedicated: Parameterized queries for SQL and InfluxQL

* feat(v3): Serverless: Parameterized queries for SQL and InfluxQL

* feat(v3): Clustered: Parameterized queries for SQL and InfluxQL

* feat(v3): Cleanup parameterized queries

* 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/influxql/time-and-timezone.md

* Update content/influxdb/cloud-dedicated/reference/influxql/time-and-timezone.md

* Update content/influxdb/cloud-dedicated/reference/influxql/time-and-timezone.md

* Influxctl v2.7.1 (#5395)

* Release influxctl v2.7.1

* Update change logs

* feat(v3): Parameterized queries: Add references to time and data types pages

* feat(v3): InfluxQL parameterized queries data types

* feat(v3): InfluxQL parameterized queries data types

* feat(v3): Note that you can't parameterize identifiers in queries

* feat(v3): Parameterized queries restrictions

---------

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2024-03-29 11:11:52 -05:00
Dennis German 8761714d00
Update string.md for convert_ws and uuid (#5383)
usage for convert_ws used convert

example for uuid used upper

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
2024-03-27 11:06:09 -06:00
Scott Anderson 43fe12e2ec
Update Grafana documentation for v1, v2, and Enterprise (#5393)
* update v2 and cloud (tsm) grafana docs

* fixed bug where clicking tab would not update url

* updated v1 and enterprise grafana docs, added grafana video to v3
2024-03-27 10:33:45 -06:00
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