Commit Graph

39 Commits (v3/inspect-partitions)

Author SHA1 Message Date
Jason Stirnaman 8b590068d0 fix(v3): Tips, typos, and formatting 2024-07-03 17:09:49 -05:00
Jason Stirnaman dbaa790fdb fix(v3): curl write examples 2024-07-03 17:09:49 -05:00
Jason Stirnaman ea9b786b83 fix(ci): test content:
- Add python replacement for get-started database/bucket name
- Fixes race condition when deleting previous content:
  - Assign each product it's own test content volume instead of sharing a volume.
  - Delete existing content in the volume before copying test files.
  - Pros and cons, but I suspect a similar approach will be better when ported to Circle CI.
2024-06-26 10:26:52 -05:00
Jason Stirnaman 17c4315569 chore: Write data improvements
-  Format and structure serverless write-data
- Structure cloud-serverless write-data/line-protocol the same as clustered and dedicated to allow for adding more tool-specific pages.
- Make influxctl examples pass tests
2024-06-24 15:42:10 -05:00
Jason Stirnaman 3274742abe chore: fix formatting 2024-06-24 09:42:44 -05: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
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
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
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 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 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
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 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
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 17ae494d2c
fix: spelling errors (#5061) 2023-07-31 16:59:33 -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 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 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 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 3abda2b8e3 hotfix: fix chronograf link in serverless get started 2023-07-18 08:28:02 -06:00
Jason Stirnaman 01fb78db09
fix(v3): query-data cleanup (#5030) 2023-07-17 08:54:59 -05: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 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 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
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 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 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
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