From 9404fda2f3507029d6b67bf4e61dfff1111b1544 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Fri, 11 Aug 2023 13:50:31 -0500 Subject: [PATCH] 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. --- .ci/vale/styles/InfluxDataDocs/Branding.yml | 4 ++- .ci/vale/styles/InfluxDataDocs/Spelling.yml | 2 ++ .../Terms/configuration-terms.txt | 11 +++++++ .../styles/Vocab/Cloud-Dedicated/accept.txt | 2 ++ .../styles/Vocab/Cloud-Serverless/accept.txt | 2 ++ .ci/vale/styles/Vocab/InfluxData/accept.txt | 31 ++++++++++++++----- .ci/vale/vale.sh | 10 ++++++ .vscode/settings.json | 18 ++--------- content/influxdb/cloud-dedicated/.vale.ini | 4 ++- .../cloud-dedicated/.vscode/settings.json | 4 +++ .../process-data/visualize/grafana.md | 2 +- .../process-data/visualize/superset.md | 2 +- .../reference/cli/influxctl/_index.md | 2 +- .../flight/python-flightsql-dbapi.md | 2 +- .../client-libraries/v2/javascript/browser.md | 2 +- .../reference/influxql/_index.md | 6 ++-- .../reference/influxql/math-operators.md | 4 +-- .../use-telegraf/configure/_index.md | 8 ++--- content/influxdb/cloud-serverless/.vale.ini | 4 ++- .../cloud-serverless/.vscode/settings.json | 4 +++ .../process-data/visualize/grafana.md | 2 +- .../process-data/visualize/superset.md | 2 +- .../reference/cli/influx/remote/create.md | 2 +- .../cli/influx/replication/create.md | 2 +- .../flight/python-flightsql-dbapi.md | 2 +- .../client-libraries/v2/javascript/browser.md | 2 +- .../reference/influxql/_index.md | 6 ++-- .../reference/influxql/math-operators.md | 4 +-- .../migrate-data/migrate-tsm-to-iox.md | 2 +- .../use-telegraf/configure/_index.md | 8 ++--- 30 files changed, 100 insertions(+), 56 deletions(-) create mode 100644 .ci/vale/styles/InfluxDataDocs/Terms/configuration-terms.txt create mode 100644 .ci/vale/vale.sh create mode 100644 content/influxdb/cloud-dedicated/.vscode/settings.json create mode 100644 content/influxdb/cloud-serverless/.vscode/settings.json diff --git a/.ci/vale/styles/InfluxDataDocs/Branding.yml b/.ci/vale/styles/InfluxDataDocs/Branding.yml index 6bc5dc898..cda08d5d5 100644 --- a/.ci/vale/styles/InfluxDataDocs/Branding.yml +++ b/.ci/vale/styles/InfluxDataDocs/Branding.yml @@ -6,4 +6,6 @@ ignorecase: true swap: # NOTE: The left-hand (bad) side can match the right-hand (good) side; Vale # will ignore any alerts that match the intended form. - "java[ -]?scripts?": JavaScript \ No newline at end of file + "FlightSQL": Flight SQL + "java[ -]?scripts?": JavaScript + "SQL Alchemy": SQLAlchemy \ No newline at end of file diff --git a/.ci/vale/styles/InfluxDataDocs/Spelling.yml b/.ci/vale/styles/InfluxDataDocs/Spelling.yml index 77352491e..e34b0aabe 100644 --- a/.ci/vale/styles/InfluxDataDocs/Spelling.yml +++ b/.ci/vale/styles/InfluxDataDocs/Spelling.yml @@ -6,4 +6,6 @@ scope: - ~table.cell ignore: # Located at StylesPath/ignore1.txt + - InfluxDataDocs/Terms/configuration-terms.txt - InfluxDataDocs/Terms/query-functions.txt + diff --git a/.ci/vale/styles/InfluxDataDocs/Terms/configuration-terms.txt b/.ci/vale/styles/InfluxDataDocs/Terms/configuration-terms.txt new file mode 100644 index 000000000..348b98013 --- /dev/null +++ b/.ci/vale/styles/InfluxDataDocs/Terms/configuration-terms.txt @@ -0,0 +1,11 @@ +batchBucket +batchInterval +commentPrefix +destinationBucket +destinationHost +destinationOrg +destinationToken +quoteChar +retentionRules +sourceBucket +src \ No newline at end of file diff --git a/.ci/vale/styles/Vocab/Cloud-Dedicated/accept.txt b/.ci/vale/styles/Vocab/Cloud-Dedicated/accept.txt index e69de29bb..d0ad5ad23 100644 --- a/.ci/vale/styles/Vocab/Cloud-Dedicated/accept.txt +++ b/.ci/vale/styles/Vocab/Cloud-Dedicated/accept.txt @@ -0,0 +1,2 @@ +cloud-dedicated +Cloud Dedicated \ No newline at end of file diff --git a/.ci/vale/styles/Vocab/Cloud-Serverless/accept.txt b/.ci/vale/styles/Vocab/Cloud-Serverless/accept.txt index e69de29bb..ca293d0e2 100644 --- a/.ci/vale/styles/Vocab/Cloud-Serverless/accept.txt +++ b/.ci/vale/styles/Vocab/Cloud-Serverless/accept.txt @@ -0,0 +1,2 @@ +cloud-serverless +Cloud Serverless \ No newline at end of file diff --git a/.ci/vale/styles/Vocab/InfluxData/accept.txt b/.ci/vale/styles/Vocab/InfluxData/accept.txt index a08ea145f..6ec65191f 100644 --- a/.ci/vale/styles/Vocab/InfluxData/accept.txt +++ b/.ci/vale/styles/Vocab/InfluxData/accept.txt @@ -10,19 +10,21 @@ bundlers? CLI Clockface [Cc]loud -cloud-dedicated -Cloud Dedicated -cloud-name -cloud-serverless -Cloud Serverless conda +csv +CSV Data Explorer -[Dd]ownsampl.* +dashboarding +datasource +dateTime +[Dd]ownsampl.*\b +dotenv enum Flight FlightQuery Grafana gzip(ped)? +homogenous hostname hostUrl hostURL @@ -41,10 +43,16 @@ lat locf [Ll]ogstash lon +lookahead +lookbehind namespace noaa NOAA +npm +OAuth pandas +performant +pushdown pyarrow Py.*\b pyinflux @@ -54,13 +62,22 @@ rp serializer [Ss]erverless Splunk +SQLAlchemy stdout +subquer(y|ies) +substring Superset svg +tagset [Tt]elegraf [Tt]ombstoned +tsm|TSM +uint|UINT +uinteger unescaped +unix +urls venv Webpack xpath -XPath \ No newline at end of file +XPath diff --git a/.ci/vale/vale.sh b/.ci/vale/vale.sh new file mode 100644 index 000000000..5d98f5111 --- /dev/null +++ b/.ci/vale/vale.sh @@ -0,0 +1,10 @@ +# Lint cloud-dedicated +docspath=. +contentpath=$docspath/content +vale --config=$contentpath/influxdb/cloud-dedicated/.vale.ini --output=line --relative --minAlertLevel=error $contentpath/influxdb/cloud-dedicated + +# Lint cloud-serverless +vale --config=$contentpath/influxdb/cloud-serverless/.vale.ini --output=line --relative --minAlertLevel=error $contentpath/influxdb/cloud-serverless + +# Lint telegraf +# vale --config=$docspath/.vale.ini --output=line --relative --minAlertLevel=error $contentpath/telegraf \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index e0459fb0f..4e9df44ce 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,18 +1,4 @@ { - "cSpell.words": [ - "CLOCKFACE", - "compactible", - "dbrp", - "downsample", - "eastus", - "icomoon", - "Invokable", - "Miyazakisky", - "orgname", - "Rienmann", - "seotitle", - "Signup", - "westeurope", - "xsmall" - ], + "vale.valeCLI.config": " \"${workspaceFolder}/.vale.ini\"", + "vale.valeCLI.minAlertLevel": "warning", } \ No newline at end of file diff --git a/content/influxdb/cloud-dedicated/.vale.ini b/content/influxdb/cloud-dedicated/.vale.ini index d1e39fcf6..51d9de472 100644 --- a/content/influxdb/cloud-dedicated/.vale.ini +++ b/content/influxdb/cloud-dedicated/.vale.ini @@ -9,4 +9,6 @@ Packages = Google, Hugo [*.md] BasedOnStyles = InfluxDataDocs, Google -Google.Headings = NO \ No newline at end of file +Google.Ellipses = NO +Google.Headings = NO +Google.WordList = NO \ No newline at end of file diff --git a/content/influxdb/cloud-dedicated/.vscode/settings.json b/content/influxdb/cloud-dedicated/.vscode/settings.json new file mode 100644 index 000000000..5bf3519e0 --- /dev/null +++ b/content/influxdb/cloud-dedicated/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "vale.valeCLI.config": "${workspaceFolder}/content/influxdb/cloud-dedicated/.vale.ini", + "vale.valeCLI.minAlertLevel": "warning", +} \ No newline at end of file diff --git a/content/influxdb/cloud-dedicated/process-data/visualize/grafana.md b/content/influxdb/cloud-dedicated/process-data/visualize/grafana.md index cc3c88876..63c92e3af 100644 --- a/content/influxdb/cloud-dedicated/process-data/visualize/grafana.md +++ b/content/influxdb/cloud-dedicated/process-data/visualize/grafana.md @@ -183,7 +183,7 @@ query {{% cloud-name %}}: - **Database**: Provide a default database name to query. - **User**: Provide an arbitrary string. - _This credential is ingored when querying {{% cloud-name %}}, but it cannot be empty._ + _This credential is ignored when querying {{% cloud-name %}}, but it cannot be empty._ - **Password**: Provide an InfluxDB [database token](/influxdb/cloud-dedicated/admin/tokens/) with read access to the databases you want to query. diff --git a/content/influxdb/cloud-dedicated/process-data/visualize/superset.md b/content/influxdb/cloud-dedicated/process-data/visualize/superset.md index 5f0c4ca61..1e8e44cc1 100644 --- a/content/influxdb/cloud-dedicated/process-data/visualize/superset.md +++ b/content/influxdb/cloud-dedicated/process-data/visualize/superset.md @@ -193,7 +193,7 @@ With Superset running, you're ready to [log in](#log-in-to-superset) and set up - **Username**: admin - **Password**: admin -3. Optional: Create a new admin user with a unique password. +3. Optional: Create an admin user with a unique password. 1. In the Superset UI, click **Settings** in the top right and select **List Users**. diff --git a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md index d6fdd3913..d2284a8c4 100644 --- a/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md +++ b/content/influxdb/cloud-dedicated/reference/cli/influxctl/_index.md @@ -74,7 +74,7 @@ location based on your operating system: #### Profile configuration file locations -| Operating system | Profile configuration filepath | +| Operating system | Profile configuration path | | :--------------- | :---------------------------------------------------- | | Linux | `~/.config/influxctl/config.toml` | | macOS | `~/Library/Application Support/influxctl/config.toml` | diff --git a/content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flightsql-dbapi.md b/content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flightsql-dbapi.md index 518b9a3f0..c63ff528b 100644 --- a/content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flightsql-dbapi.md +++ b/content/influxdb/cloud-dedicated/reference/client-libraries/flight/python-flightsql-dbapi.md @@ -73,7 +73,7 @@ a client](#initialize-a-client) and interacting with a Flight SQL server. __init__(self, host=None, token=None, metadata=None, features=None) ``` -Initializes and returns a `FlightSQLClient` instance for interating with the server. +Initializes and returns a `FlightSQLClient` instance for interacting with the server. ## Initialize a client diff --git a/content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md b/content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md index 59cab504c..b3bb1ae37 100644 --- a/content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md +++ b/content/influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/browser.md @@ -118,7 +118,7 @@ After you've imported the client library, you're ready to [get started writing d The client library includes an example browser app that writes to your InfluxDB instance. -1. Clone the [influxdb-client-js](https://github.com/influxdata/influxdb-client-js) repo. +1. Clone the [influxdb-client-js](https://github.com/influxdata/influxdb-client-js) repository. 2. Navigate to the `examples` directory: diff --git a/content/influxdb/cloud-dedicated/reference/influxql/_index.md b/content/influxdb/cloud-dedicated/reference/influxql/_index.md index 430a85b56..340ee58bf 100644 --- a/content/influxdb/cloud-dedicated/reference/influxql/_index.md +++ b/content/influxdb/cloud-dedicated/reference/influxql/_index.md @@ -103,7 +103,7 @@ Identifiers are tokens that refer to The rules are as follows: - Double-quoted identifiers can contain any Unicode character except for a new line. -- Double-quoted identifiers can also contain escaped `"` characters (i.e. `\"`). +- Double-quoted identifiers can also contain escaped `"` characters (that is, `\"`) - Double-quoted identifiers can include InfluxQL [keywords](#keywords). - Unquoted identifiers must start with an upper or lowercase ASCII character or "_". - Unquoted identifiers may contain only ASCII letters, decimal digits, and "_". @@ -185,7 +185,7 @@ float_lit = int_lit "." int_lit . #### Strings String literals must be surrounded by single quotes. -Strings may contain `'` characters as long as they are escaped (i.e., `\'`). +Strings may contain `'` characters as long as they are escaped (that is, , `\'`) ``` string_lit = `'` { unicode_char } `'` . @@ -309,7 +309,7 @@ Since InfluxQL doesn't support joins, the cost of an InfluxQL query is typically A query plan generated by `EXPLAIN` contains the following elements: - expression -- auxillary fields +- auxiliary fields - number of shards - number of series - cached values diff --git a/content/influxdb/cloud-dedicated/reference/influxql/math-operators.md b/content/influxdb/cloud-dedicated/reference/influxql/math-operators.md index 441c88cea..89e4c33ba 100644 --- a/content/influxdb/cloud-dedicated/reference/influxql/math-operators.md +++ b/content/influxdb/cloud-dedicated/reference/influxql/math-operators.md @@ -189,9 +189,9 @@ InfluxQL does not know how wide your bitfield is, so cannot implement a suitable bitwise-not operator. For example, if your bitfield is 8 bits wide, then the integer 1 represents the bits `0000 0001`. -The bitwise-not of this should return the bits `1111 1110`, i.e. the integer 254. +The bitwise-not of this should return the bits `1111 1110` (that is, the integer 254) However, if your bitfield is 16 bits wide, then the integer 1 represents the bits `0000 0000 0000 0001`. -The bitwise-not of this should return the bits `1111 1111 1111 1110`, i.e. the integer 65534. +The bitwise-not of this should return the bits `1111 1111 1111 1110` (that is, the integer 65534) #### Solution diff --git a/content/influxdb/cloud-dedicated/write-data/use-telegraf/configure/_index.md b/content/influxdb/cloud-dedicated/write-data/use-telegraf/configure/_index.md index 76e7d9f9e..bf3684075 100644 --- a/content/influxdb/cloud-dedicated/write-data/use-telegraf/configure/_index.md +++ b/content/influxdb/cloud-dedicated/write-data/use-telegraf/configure/_index.md @@ -90,7 +90,7 @@ Replace the following: The InfluxDB output plugin configuration contains the following options: -##### urls +##### `urls` An array of URL strings. To write to {{% cloud-name %}}, include your {{% cloud-name %}} cluster URL using the HTTPS protocol: @@ -99,17 +99,17 @@ To write to {{% cloud-name %}}, include your {{% cloud-name %}} cluster URL usin ["https://cluster-id.influxdb.io"] ``` -##### token +##### `token` Your {{% cloud-name %}} [database token](/influxdb/cloud-dedicated/admin/tokens/) with _write_ permission to the database. In the examples, **`INFLUX_TOKEN`** is an environment variable assigned to a [database token](/influxdb/cloud-dedicated/admin/tokens/) that has _write_ permission to the database. -##### organization +##### `organization` For {{% cloud-name %}}, set this to an empty string (`""`). -##### bucket +##### `bucket` The name of the {{% cloud-name %}} database to write data to. diff --git a/content/influxdb/cloud-serverless/.vale.ini b/content/influxdb/cloud-serverless/.vale.ini index 4a831e5e8..9cc9e95cc 100644 --- a/content/influxdb/cloud-serverless/.vale.ini +++ b/content/influxdb/cloud-serverless/.vale.ini @@ -9,4 +9,6 @@ Packages = Google, Hugo [*.md] BasedOnStyles = InfluxDataDocs, Google -Google.Headings = NO \ No newline at end of file +Google.Ellipses = NO +Google.Headings = NO +Google.WordList = NO \ No newline at end of file diff --git a/content/influxdb/cloud-serverless/.vscode/settings.json b/content/influxdb/cloud-serverless/.vscode/settings.json new file mode 100644 index 000000000..e678d2273 --- /dev/null +++ b/content/influxdb/cloud-serverless/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "vale.valeCLI.config": "${workspaceFolder}/content/influxdb/cloud-serverless/.vale.ini", + "vale.valeCLI.minAlertLevel": "warning", +} \ No newline at end of file diff --git a/content/influxdb/cloud-serverless/process-data/visualize/grafana.md b/content/influxdb/cloud-serverless/process-data/visualize/grafana.md index 0371fb9d3..6c1a5dbdf 100644 --- a/content/influxdb/cloud-serverless/process-data/visualize/grafana.md +++ b/content/influxdb/cloud-serverless/process-data/visualize/grafana.md @@ -189,7 +189,7 @@ To query {{% cloud-name %}} with InfluxQL, first map database and retention poli - **Database**: Provide a default database (bucket) name to query. - **User**: Provide an arbitrary string. - _This credential is ingored when querying {{% cloud-name %}}, but it cannot be empty._ + _This credential is ignored when querying {{% cloud-name %}}, but it cannot be empty._ - **Password**: Provide an [API token](/influxdb/cloud-serverless/admin/tokens/) with read access to the buckets you want to query. diff --git a/content/influxdb/cloud-serverless/process-data/visualize/superset.md b/content/influxdb/cloud-serverless/process-data/visualize/superset.md index 85b28e8df..727d5b89c 100644 --- a/content/influxdb/cloud-serverless/process-data/visualize/superset.md +++ b/content/influxdb/cloud-serverless/process-data/visualize/superset.md @@ -189,7 +189,7 @@ With Superset running, you're ready to [log in](#log-in-to-superset) and set up - **Username**: admin - **Password**: admin -3. Optional: Create a new admin user with a unique password. +3. Optional: Create an admin user with a unique password. 1. In the Superset UI, click **Settings** in the top right and select **List Users**. diff --git a/content/influxdb/cloud-serverless/reference/cli/influx/remote/create.md b/content/influxdb/cloud-serverless/reference/cli/influx/remote/create.md index 9df37a2ec..f8a7efd54 100644 --- a/content/influxdb/cloud-serverless/reference/cli/influx/remote/create.md +++ b/content/influxdb/cloud-serverless/reference/cli/influx/remote/create.md @@ -1,6 +1,6 @@ --- title: influx remote create -description: Create a new remote InfluxDB connection for replicating data. +description: Create a remote InfluxDB connection for replicating data. menu: influxdb_cloud_serverless: name: influx remote create diff --git a/content/influxdb/cloud-serverless/reference/cli/influx/replication/create.md b/content/influxdb/cloud-serverless/reference/cli/influx/replication/create.md index 9b9beda7a..997cfce84 100644 --- a/content/influxdb/cloud-serverless/reference/cli/influx/replication/create.md +++ b/content/influxdb/cloud-serverless/reference/cli/influx/replication/create.md @@ -1,6 +1,6 @@ --- title: influx replication create -description: Create a new InfluxDB replication stream. +description: Create an InfluxDB replication stream. menu: influxdb_cloud_serverless: name: influx replication create diff --git a/content/influxdb/cloud-serverless/reference/client-libraries/flight/python-flightsql-dbapi.md b/content/influxdb/cloud-serverless/reference/client-libraries/flight/python-flightsql-dbapi.md index 2425334b7..e7bd9f8ac 100644 --- a/content/influxdb/cloud-serverless/reference/client-libraries/flight/python-flightsql-dbapi.md +++ b/content/influxdb/cloud-serverless/reference/client-libraries/flight/python-flightsql-dbapi.md @@ -71,7 +71,7 @@ a client](#initialize-a-client) and interacting with a Flight SQL server. __init__(self, host=None, token=None, metadata=None, features=None) ``` -Initializes and returns a `FlightSQLClient` instance for interating with the server. +Initializes and returns a `FlightSQLClient` instance for interacting with the server. ## Initialize a client diff --git a/content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/browser.md b/content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/browser.md index 9b41adbd6..7d38a27e7 100644 --- a/content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/browser.md +++ b/content/influxdb/cloud-serverless/reference/client-libraries/v2/javascript/browser.md @@ -118,7 +118,7 @@ After you've imported the client library, you're ready to [get started writing d The client library includes an example browser app that writes to your InfluxDB instance. -1. Clone the [influxdb-client-js](https://github.com/influxdata/influxdb-client-js) repo. +1. Clone the [influxdb-client-js](https://github.com/influxdata/influxdb-client-js) repository. 2. Navigate to the `examples` directory: diff --git a/content/influxdb/cloud-serverless/reference/influxql/_index.md b/content/influxdb/cloud-serverless/reference/influxql/_index.md index 8a348fd46..4d95e6ac6 100644 --- a/content/influxdb/cloud-serverless/reference/influxql/_index.md +++ b/content/influxdb/cloud-serverless/reference/influxql/_index.md @@ -103,7 +103,7 @@ Identifiers are tokens that refer to The rules are as follows: - Double-quoted identifiers can contain any Unicode character except for a new line. -- Double-quoted identifiers can also contain escaped `"` characters (i.e. `\"`). +- Double-quoted identifiers can also contain escaped `"` characters (that is, `\"`) - Double-quoted identifiers can include InfluxQL [keywords](#keywords). - Unquoted identifiers must start with an upper or lowercase ASCII character or "_". - Unquoted identifiers may contain only ASCII letters, decimal digits, and "_". @@ -185,7 +185,7 @@ float_lit = int_lit "." int_lit . #### Strings String literals must be surrounded by single quotes. -Strings may contain `'` characters as long as they are escaped (i.e., `\'`). +Strings may contain `'` characters as long as they are escaped (that is, , `\'`) ``` string_lit = `'` { unicode_char } `'` . @@ -309,7 +309,7 @@ Since InfluxQL doesn't support joins, the cost of an InfluxQL query is typically A query plan generated by `EXPLAIN` contains the following elements: - expression -- auxillary fields +- auxiliary fields - number of shards - number of series - cached values diff --git a/content/influxdb/cloud-serverless/reference/influxql/math-operators.md b/content/influxdb/cloud-serverless/reference/influxql/math-operators.md index 15bf61b69..f7ffae67a 100644 --- a/content/influxdb/cloud-serverless/reference/influxql/math-operators.md +++ b/content/influxdb/cloud-serverless/reference/influxql/math-operators.md @@ -189,9 +189,9 @@ InfluxQL does not know how wide your bitfield is, so cannot implement a suitable bitwise-not operator. For example, if your bitfield is 8 bits wide, then the integer 1 represents the bits `0000 0001`. -The bitwise-not of this should return the bits `1111 1110`, i.e. the integer 254. +The bitwise-not of this should return the bits `1111 1110` (that is, the integer 254) However, if your bitfield is 16 bits wide, then the integer 1 represents the bits `0000 0000 0000 0001`. -The bitwise-not of this should return the bits `1111 1111 1111 1110`, i.e. the integer 65534. +The bitwise-not of this should return the bits `1111 1111 1111 1110` (that is, the integer 65534) #### Solution diff --git a/content/influxdb/cloud-serverless/write-data/migrate-data/migrate-tsm-to-iox.md b/content/influxdb/cloud-serverless/write-data/migrate-data/migrate-tsm-to-iox.md index 7e69bf75e..01ab758c1 100644 --- a/content/influxdb/cloud-serverless/write-data/migrate-data/migrate-tsm-to-iox.md +++ b/content/influxdb/cloud-serverless/write-data/migrate-data/migrate-tsm-to-iox.md @@ -64,7 +64,7 @@ to complete the migration. _See [Add secrets](/influxdb/cloud/security/secrets/add/) for more information._ 3. [Create a bucket](/influxdb/cloud/organizations/buckets/create-bucket/) **to store temporary migration metadata**. - 4. [Create a new task](/influxdb/cloud/process-data/manage-tasks/create-task/) + 4. [Create a task](/influxdb/cloud/process-data/manage-tasks/create-task/) using the provided [migration task](#migration-task). Update the necessary [migration configuration options](#configure-the-migration). 5. _(Optional)_ Set up [migration monitoring](#monitor-the-migration-progress). diff --git a/content/influxdb/cloud-serverless/write-data/use-telegraf/configure/_index.md b/content/influxdb/cloud-serverless/write-data/use-telegraf/configure/_index.md index 4c56332be..5b282fd49 100644 --- a/content/influxdb/cloud-serverless/write-data/use-telegraf/configure/_index.md +++ b/content/influxdb/cloud-serverless/write-data/use-telegraf/configure/_index.md @@ -88,7 +88,7 @@ Replace the following: The InfluxDB output plugin configuration contains the following options: -##### urls +##### `urls` An array of URL strings. To write to {{% cloud-name %}}, include your {{% cloud-name %}} region URL using the HTTPS protocol: @@ -97,17 +97,17 @@ To write to {{% cloud-name %}}, include your {{% cloud-name %}} region URL using ["https://cloud2.influxdata.com"] ``` -##### token +##### `token` Your {{% cloud-name %}} [API token](/influxdb/cloud-serverless/admin/tokens/) with _write_ permission to the database. In the examples, `INFLUX_TOKEN` is an environment variable assigned to a [API token](/influxdb/cloud-serverless/admin/tokens/) that has _write_ permission to the database. -##### organization +##### `organization` For {{% cloud-name %}}, set this to an empty string (`""`). -##### bucket +##### `bucket` The name of the {{% cloud-name %}} bucket to write data to.