* fix(v2): create a token with CLI and API, revert old warning, add example
- Closes https://github.com/influxdata/DAR/issues/378
- Revert the warning for 2.4 in 2.7 and cloud2.
- Reinstate instructions for CLI and API
- Add an example for read/write with user scope.
* Update content/influxdb/v2.7/security/tokens/create-token.md
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
---------
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
- 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
* 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>
* 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>
* 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)
* 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>
* 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>
* port cloud security to cloud dedicated with minor updates
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
---------
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
* 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>
Closes Data node installation - Step 4: Create an admin user #4923
- Remove the instruction to enable auth before data nodes are installed.
- Admin user creation and auth instructions are already included in the next step following data node creation.
* 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>
* 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>
* 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>