Merge branch 'master' into 5949-add-api-reference-examples-to-influxdb3
commit
7d6d7f14e6
|
@ -8,30 +8,33 @@ GitHub Copilot should help document InfluxData products by creating clear, accur
|
|||
|
||||
- **Product version data**: `/data/products.yml`
|
||||
- **Products**:
|
||||
- InfluxDB 3 Core
|
||||
- Documentation source path: `/content/influxdb3/core`
|
||||
- Code repositories: https://github.com/influxdata/influxdb, https://github.com/influxdata/influxdb3_core
|
||||
- InfluxDB 3 Enterprise
|
||||
- Documentation source path: `/content/influxdb3/enterprise`
|
||||
- Code repositories: https://github.com/influxdata/influxdb, https://github.com/influxdata/influxdb3_enterprise
|
||||
- InfluxDB Cloud Dedicated
|
||||
- Documentation source path: `/content/influxdb3/cloud-dedicated`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB Cloud Serverless
|
||||
- Documentation source path: `/content/influxdb3/cloud-serverless`
|
||||
- Code repository: https://github.com/influxdata/idpe
|
||||
- InfluxDB Cloud v2 (TSM)
|
||||
- Documentation source path: `/content/influxdb/cloud`
|
||||
- Code repository: https://github.com/influxdata/idpe
|
||||
- InfluxDB Clustered
|
||||
- Documentation source path: `/content/influxdb3/clustered`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB Enterprise v1 (1.x)
|
||||
- Documentation source path: `/content/influxdb/enterprise_influxdb`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB OSS 1.x
|
||||
- Documentation source path: `/content/influxdb/v1`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB OSS 2.x
|
||||
- Documentation source path: `/content/influxdb/v2`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB 3 Core
|
||||
- Documentation source path: `/content/influxdb3/core`
|
||||
- Code repositories: https://github.com/influxdata/influxdb, https://github.com/influxdata/influxdb3_core
|
||||
- InfluxDB Enterprise v1 (1.x)
|
||||
- Documentation source path: `/content/influxdb/enterprise_influxdb`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB Cloud v2 (TSM)
|
||||
- Documentation source path: `/content/influxdb/cloud`
|
||||
- Code repository: https://github.com/influxdata/idpe
|
||||
- InfluxDB 3 Cloud Dedicated
|
||||
- Documentation source path: `/content/influxdb3/cloud-dedicated`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- InfluxDB 3 Cloud Serverless
|
||||
- Documentation source path: `/content/influxdb3/cloud-serverless`
|
||||
- Code repository: https://github.com/influxdata/idpe
|
||||
- InfluxDB 3 Clustered
|
||||
- Documentation source path: `/content/influxdb3/clustered`
|
||||
- Code repository: https://github.com/influxdata/influxdb
|
||||
- Telegraf
|
||||
- Documentation source path: `/content/telegraf/v1`
|
||||
- Code repository: https://github.com/influxdata/telegraf
|
||||
|
@ -79,7 +82,7 @@ GitHub Copilot should help document InfluxData products by creating clear, accur
|
|||
product_version:
|
||||
weight: # Page order (1-99, 101-199, etc.)
|
||||
```
|
||||
|
||||
- Follow the shortcode documentation in `CONTRIBUTING.md`
|
||||
- Use provided shortcodes correctly:
|
||||
- Notes/warnings: `{{% note %}}`, `{{% warn %}}`
|
||||
- Product-specific: `{{% enterprise %}}`, `{{% cloud %}}`
|
||||
|
@ -123,6 +126,7 @@ Table: keys: [_start, _stop, _field, _measurement]
|
|||
|
||||
## API Documentation
|
||||
|
||||
- `/api-docs` contains OpenAPI spec files used for API reference documentation
|
||||
- Follow OpenAPI specification patterns
|
||||
- Match REST API examples to current implementation
|
||||
- Include complete request/response examples
|
||||
|
|
|
@ -11,6 +11,12 @@ node_modules
|
|||
/content/influxdb*/**/api/**/*.html
|
||||
!api-docs/**/.config.yml
|
||||
/api-docs/redoc-static.html*
|
||||
/telegraf-build
|
||||
!telegraf-build/templates
|
||||
!telegraf-build/scripts
|
||||
!telegraf-build/README.md
|
||||
/cypress/screenshots/*
|
||||
/influxdb3cli-build-scripts/content
|
||||
.vscode/*
|
||||
.idea
|
||||
**/config.toml
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"commentAnchors.tags.anchors":
|
||||
{ "SOURCE": {
|
||||
"scope": "file",
|
||||
"behavior": "link",
|
||||
"iconColor": "#FF0000",
|
||||
"highlightColor": "#FF0000",
|
||||
"style": "bold"
|
||||
}},
|
||||
"commentAnchors.tags.anchors":
|
||||
{ "SOURCE": {
|
||||
"scope": "file",
|
||||
"behavior": "link",
|
||||
"iconColor": "#FF0000",
|
||||
"highlightColor": "#FF0000",
|
||||
"style": "bold"
|
||||
}},
|
||||
"commentAnchors.workspace.matchFiles": "**/*.{md,ini,json,yaml,yml}",
|
||||
"commentAnchors.workspace.enabled": true,
|
||||
"yaml.schemas": {
|
||||
|
@ -15,10 +15,17 @@
|
|||
"vale.valeCLI.config": "${workspaceFolder}/.vale.ini",
|
||||
"vale.valeCLI.minAlertLevel": "warning",
|
||||
"github.copilot.chat.codeGeneration.useInstructionFiles": true,
|
||||
"github.copilot.chat.codeGeneration.instructionFiles": [
|
||||
"github.copilot.chat.codeGeneration.instructions": [
|
||||
{
|
||||
"path": "${workspaceFolder}/.github/copilot-instructions.md",
|
||||
"enabled": true
|
||||
"file": "${workspaceFolder}/.github/copilot-instructions.md",
|
||||
}
|
||||
],
|
||||
"github.copilot.chat.pullRequestDescriptionGeneration.instructions": [
|
||||
{
|
||||
"file": "${workspaceFolder}/.github/copilot-instructions.md",
|
||||
}
|
||||
],
|
||||
"cSpell.words": [
|
||||
"influxctl"
|
||||
]
|
||||
}
|
|
@ -455,15 +455,11 @@ v2: /influxdb/v2.0/get-started/
|
|||
Use the `prepend` and `append` frontmatter to add content to the top or bottom of a page.
|
||||
Each has the following fields:
|
||||
|
||||
- **block:** _(Optional)_ block style to wrap content in (note, warn, cloud, or enterprise)
|
||||
- **content:** _**(Required)**_ markdown content to add.
|
||||
|
||||
```yaml
|
||||
append:
|
||||
block: note
|
||||
content: |
|
||||
#### This is example markdown content
|
||||
This is just an example note block that gets appended to the article.
|
||||
append: |
|
||||
> [!Note]
|
||||
> #### This is example markdown content
|
||||
> This is just an example note block that gets appended to the article.
|
||||
```
|
||||
|
||||
Use this frontmatter with [cascade](#cascade) to add the same content to
|
||||
|
@ -471,11 +467,10 @@ all children pages as well.
|
|||
|
||||
```yaml
|
||||
cascade:
|
||||
append:
|
||||
block: note
|
||||
content: |
|
||||
#### This is example markdown content
|
||||
This is just an example note block that gets appended to the article.
|
||||
append: |
|
||||
> [!Note]
|
||||
> #### This is example markdown content
|
||||
> This is just an example note block that gets appended to the article.
|
||||
```
|
||||
|
||||
### Cascade
|
||||
|
@ -582,14 +577,14 @@ Easier to maintain being you update the version number in the `data/products.yml
|
|||
|
||||
### Latest influx CLI version
|
||||
|
||||
Use the `{{< latest-cli >}}` shortcode to add the latest version of the `influx`
|
||||
Use the `{{< latest-patch cli=true >}}` shortcode to add the latest version of the `influx`
|
||||
CLI supported by the minor version of InfluxDB.
|
||||
By default, this shortcode parses the minor version from the URL.
|
||||
To specify a specific minor version, use the `version` argument.
|
||||
Maintain CLI version numbers in the `data/products.yml` file instead of updating individual links and code examples.
|
||||
|
||||
```md
|
||||
{{< latest-cli >}}
|
||||
{{< latest-patch cli=true >}}
|
||||
|
||||
{{< latest-cli version="2.1" >}}
|
||||
```
|
||||
|
@ -1131,6 +1126,28 @@ The following table shows which children types use which frontmatter properties:
|
|||
| `list_code_example` | ✓ | | |
|
||||
| `list_query_example` | ✓ | | |
|
||||
|
||||
### Authentication token link
|
||||
|
||||
Use the `{{% token-link "<descriptor>" "<link_append>%}}` shortcode to
|
||||
automatically generate links to token management documentation. The shortcode
|
||||
accepts two _optional_ arguments:
|
||||
|
||||
- **descriptor**: An optional token descriptor
|
||||
- **link_append**: An optional path to append to the token management link path,
|
||||
`/<product>/<version>/admin/tokens/`.
|
||||
|
||||
```md
|
||||
{{% token-link "database" "resource/" }}
|
||||
|
||||
<!-- Renders as -->
|
||||
[database token](/influxdb3/enterprise/admin/tokens/resource/)
|
||||
```
|
||||
|
||||
InfluxDB 3 Enterprise and InfluxDB 3 Core support different kinds of tokens.
|
||||
The shortcode has a blacklist of token descriptors for each that will prevent
|
||||
unsupported descriptors from appearing in the rendered output based on the
|
||||
current product.
|
||||
|
||||
### Inline icons
|
||||
|
||||
The `icon` shortcode allows you to inject icons in paragraph text.
|
||||
|
@ -1638,6 +1655,31 @@ Supported argument values:
|
|||
{{< influxdb/host "serverless" >}}
|
||||
```
|
||||
|
||||
### User-populated placeholders
|
||||
|
||||
Use the `code-placeholders` shortcode to format placeholders
|
||||
as text fields that users can populate with their own values.
|
||||
The shortcode takes a regular expression for matching placeholder names.
|
||||
Use the `code-placeholder-key` shortcode to format the placeholder names in
|
||||
text that describes the placeholder--for example:
|
||||
|
||||
```
|
||||
{{% code-placeholders "DATABASE_NAME|USERNAME|PASSWORD_OR_TOKEN|API_TOKEN|exampleuser@influxdata.com" %}}
|
||||
```sh
|
||||
curl --request POST http://localhost:8086/write?db=DATABASE_NAME \
|
||||
--header "Authorization: Token API_TOKEN" \
|
||||
--data-binary @path/to/line-protocol.txt
|
||||
```
|
||||
{{% /code-placeholders %}}
|
||||
|
||||
Replace the following:
|
||||
|
||||
- {{% code-placeholder-key %}}`DATABASE_NAME` and `RETENTION_POLICY`{{% /code-placeholder-key %}}: the [database and retention policy mapping (DBRP)](/influxdb/v2/reference/api/influxdb-1x/dbrp/) for the InfluxDB v2 bucket that you want to write to
|
||||
- {{% code-placeholder-key %}}`USERNAME`{{% /code-placeholder-key %}}: your [InfluxDB 1.x username](/influxdb/v2/reference/api/influxdb-1x/#manage-credentials)
|
||||
- {{% code-placeholder-key %}}`PASSWORD_OR_TOKEN`{{% /code-placeholder-key %}}: your [InfluxDB 1.x password or InfluxDB API token](/influxdb/v2/reference/api/influxdb-1x/#manage-credentials)
|
||||
- {{% code-placeholder-key %}}`API_TOKEN`{{% /code-placeholder-key %}}: your [InfluxDB API token](/influxdb/v2/admin/tokens/)
|
||||
```
|
||||
|
||||
## InfluxDB API documentation
|
||||
|
||||
InfluxData uses [Redoc](https://github.com/Redocly/redoc) to generate the full
|
||||
|
|
|
@ -2,11 +2,14 @@
|
|||
tags:
|
||||
- Quick start
|
||||
- Authentication
|
||||
- Cache data
|
||||
- Common parameters
|
||||
- Response codes
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Databases
|
||||
- Database
|
||||
- Processing engine
|
||||
- Server information
|
||||
- Tables
|
||||
- Table
|
||||
- Token
|
||||
- Query data
|
||||
- Write data
|
||||
|
|
|
@ -43,8 +43,50 @@ security:
|
|||
tags:
|
||||
- name: Authentication
|
||||
description: |
|
||||
During the initial Alpha phase, InfluxDB 3 Core does not require authentication.
|
||||
Authenticate to the InfluxDB 3 API using a bearer token.
|
||||
|
||||
The InfluxDB 3 API uses tokens for authentication.
|
||||
To authenticate, include the `Authorization` header in your request with the value `Bearer <token>`.
|
||||
The token must be a valid InfluxDB 3 admin token.
|
||||
|
||||
#### Related guides
|
||||
|
||||
- [Manage tokens](/influxdb3/core/admin/tokens/)
|
||||
- [Authentication and authorization](/influxdb3/core/reference/authentication/)
|
||||
x-traitTag: true
|
||||
- name: Cache data
|
||||
description: |
|
||||
Manage the in-memory cache.
|
||||
|
||||
#### Distinct Value Cache
|
||||
|
||||
The Distinct Value Cache (DVC) lets you cache distinct
|
||||
values of one or more columns in a table, improving the performance of
|
||||
queries that return distinct tag and field values.
|
||||
|
||||
The DVC is an in-memory cache that stores distinct values for specific columns
|
||||
in a table. When you create an DVC, you can specify what columns' distinct
|
||||
values to cache, the maximum number of distinct value combinations to cache, and
|
||||
the maximum age of cached values. A DVC is associated with a table, which can
|
||||
have multiple DVCs.
|
||||
|
||||
#### Last value cache
|
||||
|
||||
The Last Value Cache (LVC) lets you cache the most recent
|
||||
values for specific fields in a table, improving the performance of queries that
|
||||
return the most recent value of a field for specific series or the last N values
|
||||
of a field.
|
||||
|
||||
The LVC is an in-memory cache that stores the last N number of values for
|
||||
specific fields of series in a table. When you create an LVC, you can specify
|
||||
what fields to cache, what tags to use to identify each series, and the
|
||||
number of values to cache for each unique series.
|
||||
An LVC is associated with a table, which can have multiple LVCs.
|
||||
|
||||
#### Related guides
|
||||
|
||||
- [Manage the Distinct Value Cache](/influxdb3/core/admin/distinct-value-cache/)
|
||||
- [Manage the Last Value Cache](/influxdb3/core/admin/last-value-cache/)
|
||||
- name: Compatibility endpoints
|
||||
description: |
|
||||
InfluxDB 3 provides compatibility endpoints for InfluxDB 1.x and InfluxDB 2.x workloads and clients.
|
||||
|
@ -72,19 +114,8 @@ tags:
|
|||
### Server information
|
||||
|
||||
Server information endpoints such as `/health` and `metrics` are compatible with InfluxDB 1.x and InfluxDB 2.x clients.
|
||||
- name: Data I/O
|
||||
description: |
|
||||
Write and query data
|
||||
|
||||
#### Data flow in InfluxDB 3 Core
|
||||
|
||||
1. **Incoming writes**: The system validates incoming data and stores it in the write buffer (in memory). If the `no_sync` write option is enabled (`no_sync=true`), the server sends a response to acknowledge the write.
|
||||
2. **WAL flush**: Every second (default), the system flushes the write buffer to the Write-Ahead Log (WAL) for persistence in the Object store. If `no_sync=false` (default), the server sends a response to acknowledge the write.
|
||||
3. **Query availability**: After WAL persistence completes, data moves to the queryable buffer where it becomes available for queries. By default, the server keeps up to 900 WAL files (15 minutes of data) buffered.
|
||||
4. **Long-term storage in Parquet**: Every ten minutes (default), the system persists the oldest data from the queryable buffer to the Object store in Parquet format. InfluxDB keeps the remaining data (the most recent 5 minutes) in memory.
|
||||
5. **In-memory cache**: InfluxDB puts Parquet files into an in-memory cache so that queries against the most recently persisted data don't have to go to object storage.
|
||||
- name: Databases
|
||||
description: Create, read, update, and delete database and cache resources
|
||||
- name: Database
|
||||
description: Manage databases
|
||||
- description: |
|
||||
Most InfluxDB API endpoints require parameters in the request--for example, specifying the database to use.
|
||||
|
||||
|
@ -119,28 +150,38 @@ tags:
|
|||
Use Processing engine plugins and triggers to run code and perform tasks for different database events.
|
||||
|
||||
To get started with the Processing engine, see the [Processing engine and Python plugins](/influxdb3/core/processing-engine/) guide.
|
||||
- name: Query data
|
||||
description: Query data using SQL or InfluxQL
|
||||
- name: Quick start
|
||||
description: |
|
||||
1. [Check the status](#section/Server-information) of the InfluxDB server.
|
||||
1. [Create an admin token](#section/Authentication) for the InfluxDB 3 Core API.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/health"
|
||||
curl -X POST "http://localhost:8181/api/v3/configure/token/admin"
|
||||
```
|
||||
2. [Check the status](#section/Server-information) of the InfluxDB server.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/health" \
|
||||
--header "Authorization: Bearer ADMIN_TOKEN"
|
||||
```
|
||||
|
||||
2. [Write data](#section/Compatibility-endpoints/Write-data) to InfluxDB.
|
||||
3. [Write data](#operation/PostWriteLP) to InfluxDB.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto" \
|
||||
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto"
|
||||
--header "Authorization: Bearer ADMIN_TOKEN" \
|
||||
--data-raw "home,room=Kitchen temp=72.0
|
||||
home,room=Living\ room temp=71.5"
|
||||
```
|
||||
|
||||
If all data is written, the response is `204 No Content`.
|
||||
|
||||
3. [Query data](#section/Compatibility-endpoints/Query-data) from InfluxDB.
|
||||
4. [Query data](#operation/GetExecuteQuerySQL) from InfluxDB.
|
||||
|
||||
```bash
|
||||
curl -G "http://localhost:8181/api/v3/query_sql" \
|
||||
--header "Authorization: Bearer ADMIN_TOKEN" \
|
||||
--data-urlencode "db=sensors" \
|
||||
--data-urlencode "q=SELECT * FROM home WHERE room='Living room'" \
|
||||
--data-urlencode "format=jsonl"
|
||||
|
@ -156,8 +197,12 @@ tags:
|
|||
x-traitTag: true
|
||||
- name: Server information
|
||||
description: Retrieve server metrics, status, and version information
|
||||
- name: Tables
|
||||
- name: Table
|
||||
description: Manage table schemas and data
|
||||
- name: Token
|
||||
description: Manage tokens for authentication and authorization
|
||||
- name: Write data
|
||||
description: Write data to InfluxDB 3
|
||||
paths:
|
||||
/write:
|
||||
post:
|
||||
|
@ -244,7 +289,7 @@ paths:
|
|||
description: Request entity too large.
|
||||
tags:
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v2/write:
|
||||
post:
|
||||
operationId: PostV2Write
|
||||
|
@ -327,7 +372,7 @@ paths:
|
|||
description: Request entity too large.
|
||||
tags:
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v3/write_lp:
|
||||
post:
|
||||
operationId: PostWriteLP
|
||||
|
@ -387,7 +432,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v3/query_sql:
|
||||
get:
|
||||
operationId: GetExecuteQuerySQL
|
||||
|
@ -446,7 +491,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
post:
|
||||
operationId: PostExecuteQuerySQL
|
||||
summary: Execute SQL query
|
||||
|
@ -485,7 +530,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
/api/v3/query_influxql:
|
||||
get:
|
||||
operationId: GetExecuteInfluxQLQuery
|
||||
|
@ -533,7 +578,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
post:
|
||||
operationId: PostExecuteQueryInfluxQL
|
||||
summary: Execute InfluxQL query
|
||||
|
@ -572,7 +617,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
/query:
|
||||
get:
|
||||
operationId: GetV1ExecuteQuery
|
||||
|
@ -678,7 +723,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
- Compatibility endpoints
|
||||
post:
|
||||
operationId: PostExecuteV1Query
|
||||
|
@ -789,7 +834,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
- Compatibility endpoints
|
||||
/health:
|
||||
get:
|
||||
|
@ -863,7 +908,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
post:
|
||||
operationId: PostConfigureDatabase
|
||||
summary: Create a database
|
||||
|
@ -884,7 +929,7 @@ paths:
|
|||
'409':
|
||||
description: Database already exists.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
delete:
|
||||
operationId: DeleteConfigureDatabase
|
||||
summary: Delete a database
|
||||
|
@ -901,7 +946,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
/api/v3/configure/table:
|
||||
post:
|
||||
operationId: PostConfigureTable
|
||||
|
@ -923,7 +968,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Table
|
||||
delete:
|
||||
operationId: DeleteConfigureTable
|
||||
summary: Delete a table
|
||||
|
@ -945,14 +990,15 @@ paths:
|
|||
'404':
|
||||
description: Table not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Table
|
||||
/api/v3/configure/distinct_cache:
|
||||
post:
|
||||
operationId: PostConfigureDistinctCache
|
||||
summary: Create distinct cache
|
||||
description: Creates a distinct cache for a table.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
@ -992,7 +1038,8 @@ paths:
|
|||
'409':
|
||||
description: Cache already exists.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
delete:
|
||||
operationId: DeleteConfigureLastCache
|
||||
summary: Delete last cache
|
||||
|
@ -1019,7 +1066,8 @@ paths:
|
|||
'404':
|
||||
description: Cache not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
/api/v3/configure/processing_engine_trigger:
|
||||
post:
|
||||
operationId: PostConfigureProcessingEngineTrigger
|
||||
|
@ -1280,6 +1328,50 @@ paths:
|
|||
description: Processing failure.
|
||||
tags:
|
||||
- Processing engine
|
||||
/api/v3/configure/token/admin:
|
||||
post:
|
||||
operationId: PostCreateAdminToken
|
||||
summary: Create admin token
|
||||
description: |
|
||||
Creates an admin token.
|
||||
An admin token is a special type of token that has full access to all resources in the system.
|
||||
|
||||
This endpoint is only available in InfluxDB 3 Enterprise.
|
||||
responses:
|
||||
'201':
|
||||
description: |
|
||||
Success. The admin token has been created.
|
||||
The response body contains the token string and metadata.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AdminTokenObject'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
tags:
|
||||
- Authentication
|
||||
- Token
|
||||
/api/v3/configure/token/admin/regenerate:
|
||||
post:
|
||||
operationId: PostRegenerateAdminToken
|
||||
summary: Regenerate admin token
|
||||
description: |
|
||||
Regenerates an admin token and revokes the previous token with the same name.
|
||||
|
||||
This endpoint is only available in InfluxDB 3 Enterprise.
|
||||
parameters: []
|
||||
responses:
|
||||
'201':
|
||||
description: Success. The admin token has been regenerated.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AdminTokenObject'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
tags:
|
||||
- Authentication
|
||||
- Token
|
||||
components:
|
||||
parameters:
|
||||
AcceptQueryHeader:
|
||||
|
@ -1416,6 +1508,29 @@ components:
|
|||
schema:
|
||||
$ref: '#/components/schemas/QueryRequestObject'
|
||||
schemas:
|
||||
AdminTokenObject:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
token:
|
||||
type: string
|
||||
hash:
|
||||
type: string
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
expiry:
|
||||
format: date-time
|
||||
example:
|
||||
id: 0
|
||||
name: _admin
|
||||
token: apiv3_00xx0Xx0xx00XX0x0
|
||||
hash: 00xx0Xx0xx00XX0x0
|
||||
created_at: '2025-04-18T14:02:45.331Z'
|
||||
expiry: null
|
||||
ContentEncoding:
|
||||
type: string
|
||||
enum:
|
||||
|
@ -1457,13 +1572,10 @@ components:
|
|||
description: |
|
||||
Acknowledges a successful write without waiting for WAL persistence.
|
||||
|
||||
#### Data flow in InfluxDB 3 Core
|
||||
#### Related
|
||||
|
||||
1. **Incoming writes**: The system validates incoming data and stores it in the write buffer (in memory). If the `no_sync` write option is enabled (`no_sync=true`), the server sends a response to acknowledge the write.
|
||||
2. **WAL flush**: Every second (default), the system flushes the write buffer to the Write-Ahead Log (WAL) for persistence in the Object store. If `no_sync=false` (default), the server sends a response to acknowledge the write.
|
||||
3. **Query availability**: After WAL persistence completes, data moves to the queryable buffer where it becomes available for queries. By default, the server keeps up to 900 WAL files (15 minutes of data) buffered.
|
||||
4. **Long-term storage in Parquet**: Every ten minutes (default), the system persists the oldest data from the queryable buffer to the Object store in Parquet format. InfluxDB keeps the remaining data (the most recent 5 minutes) in memory.
|
||||
5. **In-memory cache**: InfluxDB puts Parquet files into an in-memory cache so that queries against the most recently persisted data don't have to go to object storage.
|
||||
- [Use the HTTP API and client libraries to write data](/influxdb3/core/write-data/api-client-libraries/)
|
||||
- [Data durability](/influxdb3/core/reference/internals/durability/)
|
||||
PrecisionWriteCompatibility:
|
||||
enum:
|
||||
- ms
|
||||
|
@ -1782,11 +1894,14 @@ x-tagGroups:
|
|||
tags:
|
||||
- Quick start
|
||||
- Authentication
|
||||
- Cache data
|
||||
- Common parameters
|
||||
- Response codes
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Databases
|
||||
- Database
|
||||
- Processing engine
|
||||
- Server information
|
||||
- Tables
|
||||
- Table
|
||||
- Token
|
||||
- Query data
|
||||
- Write data
|
||||
|
|
|
@ -2,11 +2,14 @@
|
|||
tags:
|
||||
- Quick start
|
||||
- Authentication
|
||||
- Cache data
|
||||
- Common parameters
|
||||
- Response codes
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Databases
|
||||
- Database
|
||||
- Processing engine
|
||||
- Server information
|
||||
- Tables
|
||||
- Table
|
||||
- Token
|
||||
- Query data
|
||||
- Write data
|
||||
|
|
|
@ -43,8 +43,50 @@ security:
|
|||
tags:
|
||||
- name: Authentication
|
||||
description: |
|
||||
During the initial Alpha phase, InfluxDB 3 Enterprise does not require authentication.
|
||||
Authenticate to the InfluxDB 3 API using a bearer token.
|
||||
|
||||
The InfluxDB 3 API uses tokens for authentication.
|
||||
To authenticate, include the `Authorization` header in your request with the value `Bearer <token>`.
|
||||
The token must be a valid InfluxDB 3 admin token or a resource token with the required permissions for the requested operation.
|
||||
|
||||
#### Related guides
|
||||
|
||||
- [Manage tokens](/influxdb3/enterprise/admin/tokens/)
|
||||
- [Authentication and authorization](/influxdb3/enterprise/reference/authentication/)
|
||||
x-traitTag: true
|
||||
- name: Cache data
|
||||
description: |
|
||||
Manage the in-memory cache.
|
||||
|
||||
#### Distinct Value Cache
|
||||
|
||||
The Distinct Value Cache (DVC) lets you cache distinct
|
||||
values of one or more columns in a table, improving the performance of
|
||||
queries that return distinct tag and field values.
|
||||
|
||||
The DVC is an in-memory cache that stores distinct values for specific columns
|
||||
in a table. When you create an DVC, you can specify what columns' distinct
|
||||
values to cache, the maximum number of distinct value combinations to cache, and
|
||||
the maximum age of cached values. A DVC is associated with a table, which can
|
||||
have multiple DVCs.
|
||||
|
||||
#### Last value cache
|
||||
|
||||
The Last Value Cache (LVC) lets you cache the most recent
|
||||
values for specific fields in a table, improving the performance of queries that
|
||||
return the most recent value of a field for specific series or the last N values
|
||||
of a field.
|
||||
|
||||
The LVC is an in-memory cache that stores the last N number of values for
|
||||
specific fields of series in a table. When you create an LVC, you can specify
|
||||
what fields to cache, what tags to use to identify each series, and the
|
||||
number of values to cache for each unique series.
|
||||
An LVC is associated with a table, which can have multiple LVCs.
|
||||
|
||||
#### Related guides
|
||||
|
||||
- [Manage the Distinct Value Cache](/influxdb3/enterprise/admin/distinct-value-cache/)
|
||||
- [Manage the Last Value Cache](/influxdb3/enterprise/admin/last-value-cache/)
|
||||
- name: Compatibility endpoints
|
||||
description: |
|
||||
InfluxDB 3 provides compatibility endpoints for InfluxDB 1.x and InfluxDB 2.x workloads and clients.
|
||||
|
@ -72,19 +114,8 @@ tags:
|
|||
### Server information
|
||||
|
||||
Server information endpoints such as `/health` and `metrics` are compatible with InfluxDB 1.x and InfluxDB 2.x clients.
|
||||
- name: Data I/O
|
||||
description: |
|
||||
Write and query data
|
||||
|
||||
#### Data flow in InfluxDB 3 Enterprise
|
||||
|
||||
1. **Incoming writes**: The system validates incoming data and stores it in the write buffer (in memory). If the `no_sync` write option is enabled (`no_sync=true`), the server sends a response to acknowledge the write.
|
||||
2. **WAL flush**: Every second (default), the system flushes the write buffer to the Write-Ahead Log (WAL) for persistence in the Object store. If `no_sync=false` (default), the server sends a response to acknowledge the write.
|
||||
3. **Query availability**: After WAL persistence completes, data moves to the queryable buffer where it becomes available for queries. By default, the server keeps up to 900 WAL files (15 minutes of data) buffered.
|
||||
4. **Long-term storage in Parquet**: Every ten minutes (default), the system persists the oldest data from the queryable buffer to the Object store in Parquet format. InfluxDB keeps the remaining data (the most recent 5 minutes) in memory.
|
||||
5. **In-memory cache**: InfluxDB puts Parquet files into an in-memory cache so that queries against the most recently persisted data don't have to go to object storage.
|
||||
- name: Databases
|
||||
description: Create, read, update, and delete database and cache resources
|
||||
- name: Database
|
||||
description: Manage databases
|
||||
- description: |
|
||||
Most InfluxDB API endpoints require parameters in the request--for example, specifying the database to use.
|
||||
|
||||
|
@ -119,28 +150,38 @@ tags:
|
|||
Use Processing engine plugins and triggers to run code and perform tasks for different database events.
|
||||
|
||||
To get started with the Processing engine, see the [Processing engine and Python plugins](/influxdb3/enterprise/processing-engine/) guide.
|
||||
- name: Query data
|
||||
description: Query data using SQL or InfluxQL
|
||||
- name: Quick start
|
||||
description: |
|
||||
1. [Check the status](#section/Server-information) of the InfluxDB server.
|
||||
1. [Create an admin token](#section/Authentication) for the InfluxDB 3 Enterprise API.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/health"
|
||||
curl -X POST "http://localhost:8181/api/v3/enterprise/configure/token/admin"
|
||||
```
|
||||
2. [Check the status](#section/Server-information) of the InfluxDB server.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/health" \
|
||||
--header "Authorization: Bearer ADMIN_TOKEN"
|
||||
```
|
||||
|
||||
2. [Write data](#section/Compatibility-endpoints/Write-data) to InfluxDB.
|
||||
3. [Write data](#operation/PostWriteLP) to InfluxDB.
|
||||
|
||||
```bash
|
||||
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto" \
|
||||
curl "http://localhost:8181/api/v3/write_lp?db=sensors&precision=auto"
|
||||
--header "Authorization: Bearer ADMIN_TOKEN" \
|
||||
--data-raw "home,room=Kitchen temp=72.0
|
||||
home,room=Living\ room temp=71.5"
|
||||
```
|
||||
|
||||
If all data is written, the response is `204 No Content`.
|
||||
|
||||
3. [Query data](#section/Compatibility-endpoints/Query-data) from InfluxDB.
|
||||
4. [Query data](#operation/GetExecuteQuerySQL) from InfluxDB.
|
||||
|
||||
```bash
|
||||
curl -G "http://localhost:8181/api/v3/query_sql" \
|
||||
--header "Authorization: Bearer ADMIN_TOKEN" \
|
||||
--data-urlencode "db=sensors" \
|
||||
--data-urlencode "q=SELECT * FROM home WHERE room='Living room'" \
|
||||
--data-urlencode "format=jsonl"
|
||||
|
@ -156,8 +197,12 @@ tags:
|
|||
x-traitTag: true
|
||||
- name: Server information
|
||||
description: Retrieve server metrics, status, and version information
|
||||
- name: Tables
|
||||
- name: Table
|
||||
description: Manage table schemas and data
|
||||
- name: Token
|
||||
description: Manage tokens for authentication and authorization
|
||||
- name: Write data
|
||||
description: Write data to InfluxDB 3
|
||||
paths:
|
||||
/write:
|
||||
post:
|
||||
|
@ -244,7 +289,7 @@ paths:
|
|||
description: Request entity too large.
|
||||
tags:
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v2/write:
|
||||
post:
|
||||
operationId: PostV2Write
|
||||
|
@ -327,7 +372,7 @@ paths:
|
|||
description: Request entity too large.
|
||||
tags:
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v3/write_lp:
|
||||
post:
|
||||
operationId: PostWriteLP
|
||||
|
@ -387,7 +432,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Write data
|
||||
/api/v3/query_sql:
|
||||
get:
|
||||
operationId: GetExecuteQuerySQL
|
||||
|
@ -446,7 +491,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
post:
|
||||
operationId: PostExecuteQuerySQL
|
||||
summary: Execute SQL query
|
||||
|
@ -485,7 +530,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
/api/v3/query_influxql:
|
||||
get:
|
||||
operationId: GetExecuteInfluxQLQuery
|
||||
|
@ -533,7 +578,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
post:
|
||||
operationId: PostExecuteQueryInfluxQL
|
||||
summary: Execute InfluxQL query
|
||||
|
@ -572,7 +617,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
/query:
|
||||
get:
|
||||
operationId: GetV1ExecuteQuery
|
||||
|
@ -678,7 +723,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
- Compatibility endpoints
|
||||
post:
|
||||
operationId: PostExecuteV1Query
|
||||
|
@ -789,7 +834,7 @@ paths:
|
|||
'422':
|
||||
description: Unprocessable entity.
|
||||
tags:
|
||||
- Data I/O
|
||||
- Query data
|
||||
- Compatibility endpoints
|
||||
/health:
|
||||
get:
|
||||
|
@ -863,7 +908,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
post:
|
||||
operationId: PostConfigureDatabase
|
||||
summary: Create a database
|
||||
|
@ -884,7 +929,7 @@ paths:
|
|||
'409':
|
||||
description: Database already exists.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
delete:
|
||||
operationId: DeleteConfigureDatabase
|
||||
summary: Delete a database
|
||||
|
@ -901,7 +946,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Databases
|
||||
- Database
|
||||
/api/v3/configure/table:
|
||||
post:
|
||||
operationId: PostConfigureTable
|
||||
|
@ -923,7 +968,7 @@ paths:
|
|||
'404':
|
||||
description: Database not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Table
|
||||
delete:
|
||||
operationId: DeleteConfigureTable
|
||||
summary: Delete a table
|
||||
|
@ -945,14 +990,15 @@ paths:
|
|||
'404':
|
||||
description: Table not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Table
|
||||
/api/v3/configure/distinct_cache:
|
||||
post:
|
||||
operationId: PostConfigureDistinctCache
|
||||
summary: Create distinct cache
|
||||
description: Creates a distinct cache for a table.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
|
@ -992,7 +1038,8 @@ paths:
|
|||
'409':
|
||||
description: Cache already exists.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
delete:
|
||||
operationId: DeleteConfigureLastCache
|
||||
summary: Delete last cache
|
||||
|
@ -1019,7 +1066,8 @@ paths:
|
|||
'404':
|
||||
description: Cache not found.
|
||||
tags:
|
||||
- Tables
|
||||
- Cache data
|
||||
- Table
|
||||
/api/v3/configure/processing_engine_trigger:
|
||||
post:
|
||||
operationId: PostConfigureProcessingEngineTrigger
|
||||
|
@ -1280,6 +1328,73 @@ paths:
|
|||
description: Processing failure.
|
||||
tags:
|
||||
- Processing engine
|
||||
/api/v3/configure/enterprise/token:
|
||||
post:
|
||||
operationId: PostCreateResourceToken
|
||||
summary: Create a resource token
|
||||
description: |
|
||||
Creates a resource (fine-grained permissions) token.
|
||||
A resource token is a token that has access to specific resources in the system.
|
||||
|
||||
This endpoint is only available in InfluxDB 3 Enterprise.
|
||||
responses:
|
||||
'201':
|
||||
description: |
|
||||
Success. The resource token has been created.
|
||||
The response body contains the token string and metadata.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ResourceTokenObject'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
tags:
|
||||
- Authentication
|
||||
- Token
|
||||
/api/v3/configure/enterprise/token/admin:
|
||||
post:
|
||||
operationId: PostCreateAdminToken
|
||||
summary: Create admin token
|
||||
description: |
|
||||
Creates an admin token.
|
||||
An admin token is a special type of token that has full access to all resources in the system.
|
||||
|
||||
This endpoint is only available in InfluxDB 3 Enterprise.
|
||||
responses:
|
||||
'201':
|
||||
description: |
|
||||
Success. The admin token has been created.
|
||||
The response body contains the token string and metadata.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AdminTokenObject'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
tags:
|
||||
- Authentication
|
||||
- Token
|
||||
/api/v3/configure/enterprise/token/admin/regenerate:
|
||||
post:
|
||||
operationId: PostRegenerateAdminToken
|
||||
summary: Regenerate admin token
|
||||
description: |
|
||||
Regenerates an admin token and revokes the previous token with the same name.
|
||||
|
||||
This endpoint is only available in InfluxDB 3 Enterprise.
|
||||
parameters: []
|
||||
responses:
|
||||
'201':
|
||||
description: Success. The admin token has been regenerated.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AdminTokenObject'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthorized'
|
||||
tags:
|
||||
- Authentication
|
||||
- Token
|
||||
components:
|
||||
parameters:
|
||||
AcceptQueryHeader:
|
||||
|
@ -1416,6 +1531,67 @@ components:
|
|||
schema:
|
||||
$ref: '#/components/schemas/QueryRequestObject'
|
||||
schemas:
|
||||
AdminTokenObject:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
name:
|
||||
type: string
|
||||
token:
|
||||
type: string
|
||||
hash:
|
||||
type: string
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
expiry:
|
||||
format: date-time
|
||||
example:
|
||||
id: 0
|
||||
name: _admin
|
||||
token: apiv3_00xx0Xx0xx00XX0x0
|
||||
hash: 00xx0Xx0xx00XX0x0
|
||||
created_at: '2025-04-18T14:02:45.331Z'
|
||||
expiry: null
|
||||
ResourceTokenObject:
|
||||
type: object
|
||||
properties:
|
||||
token_name:
|
||||
type: string
|
||||
permissions:
|
||||
type: array
|
||||
items:
|
||||
type: object
|
||||
properties:
|
||||
resource_type:
|
||||
type: string
|
||||
enum:
|
||||
- system
|
||||
- db
|
||||
resource_identifier:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
actions:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
enum:
|
||||
- read
|
||||
- write
|
||||
expiry_secs:
|
||||
type: integer
|
||||
description: The expiration time in seconds.
|
||||
example:
|
||||
token_name: All system information
|
||||
permissions:
|
||||
- resource_type: system
|
||||
resource_identifier:
|
||||
- '*'
|
||||
actions:
|
||||
- read
|
||||
expiry_secs: 300000
|
||||
ContentEncoding:
|
||||
type: string
|
||||
enum:
|
||||
|
@ -1457,13 +1633,10 @@ components:
|
|||
description: |
|
||||
Acknowledges a successful write without waiting for WAL persistence.
|
||||
|
||||
#### Data flow in InfluxDB 3 Enterprise
|
||||
#### Related
|
||||
|
||||
1. **Incoming writes**: The system validates incoming data and stores it in the write buffer (in memory). If the `no_sync` write option is enabled (`no_sync=true`), the server sends a response to acknowledge the write.
|
||||
2. **WAL flush**: Every second (default), the system flushes the write buffer to the Write-Ahead Log (WAL) for persistence in the Object store. If `no_sync=false` (default), the server sends a response to acknowledge the write.
|
||||
3. **Query availability**: After WAL persistence completes, data moves to the queryable buffer where it becomes available for queries. By default, the server keeps up to 900 WAL files (15 minutes of data) buffered.
|
||||
4. **Long-term storage in Parquet**: Every ten minutes (default), the system persists the oldest data from the queryable buffer to the Object store in Parquet format. InfluxDB keeps the remaining data (the most recent 5 minutes) in memory.
|
||||
5. **In-memory cache**: InfluxDB puts Parquet files into an in-memory cache so that queries against the most recently persisted data don't have to go to object storage.
|
||||
- [Use the HTTP API and client libraries to write data](/influxdb3/enterprise/write-data/api-client-libraries/)
|
||||
- [Data durability](/influxdb3/enterprise/reference/internals/durability/)
|
||||
PrecisionWriteCompatibility:
|
||||
enum:
|
||||
- ms
|
||||
|
@ -1782,11 +1955,14 @@ x-tagGroups:
|
|||
tags:
|
||||
- Quick start
|
||||
- Authentication
|
||||
- Cache data
|
||||
- Common parameters
|
||||
- Response codes
|
||||
- Compatibility endpoints
|
||||
- Data I/O
|
||||
- Databases
|
||||
- Database
|
||||
- Processing engine
|
||||
- Server information
|
||||
- Tables
|
||||
- Table
|
||||
- Token
|
||||
- Query data
|
||||
- Write data
|
||||
|
|
|
@ -1,30 +1,52 @@
|
|||
const placeholderWrapper = '.code-placeholder-wrapper';
|
||||
import $ from 'jquery';
|
||||
|
||||
const placeholderElement = 'var.code-placeholder';
|
||||
const editIcon = "<span class='code-placeholder-edit-icon cf-icon Pencil'></span>";
|
||||
|
||||
// When clicking a placeholder, append the edit input
|
||||
function handleClick(element) {
|
||||
$(element).on('click', function() {
|
||||
function handleClick($element) {
|
||||
const $placeholder = $($element).find(placeholderElement);
|
||||
$placeholder.on('click', function() {
|
||||
var placeholderData = $(this)[0].dataset;
|
||||
var placeholderID = placeholderData.codeVar;
|
||||
var placeholderID = placeholderData.codeVarEscaped;
|
||||
var placeholderValue = placeholderData.codeVarValue;
|
||||
var placeholderInputWrapper = $('<div class="code-input-wrapper"></div>');
|
||||
var placeholderInput = `<input class="placeholder-edit" id="${placeholderID}" value="${placeholderValue}" spellcheck=false onblur="submitPlaceholder($(this))" oninput="updateInputWidth($(this))" onkeydown="closeOnEnter($(this)[0], event)"></input>`;
|
||||
|
||||
$(this).before(placeholderInputWrapper)
|
||||
$(this).siblings('.code-input-wrapper').append(placeholderInput);
|
||||
$(`input#${placeholderID}`).width(`${placeholderValue.length}ch`);
|
||||
$(`input#${placeholderID}`).focus().select();
|
||||
$(this).css('opacity', 0);
|
||||
const placeholderInput = document.createElement('input');
|
||||
placeholderInput.setAttribute('class', 'placeholder-edit');
|
||||
placeholderInput.setAttribute('data-id', placeholderID);
|
||||
placeholderInput.setAttribute('data-code-var-escaped', placeholderID);
|
||||
placeholderInput.setAttribute('value', placeholderValue);
|
||||
placeholderInput.setAttribute('spellcheck', 'false');
|
||||
|
||||
placeholderInput.addEventListener('blur', function() {
|
||||
submitPlaceholder($(this));
|
||||
}
|
||||
);
|
||||
placeholderInput.addEventListener('input', function() {
|
||||
updateInputWidth($(this));
|
||||
}
|
||||
);
|
||||
placeholderInput.addEventListener('keydown', function(event) {
|
||||
closeOnEnter($(this)[0], event);
|
||||
}
|
||||
);
|
||||
|
||||
const placeholderInputWrapper = $('<div class="code-input-wrapper"></div>');
|
||||
$placeholder.before(placeholderInputWrapper)
|
||||
$placeholder.siblings('.code-input-wrapper').append(placeholderInput);
|
||||
$(`input[data-code-var-escaped="${placeholderID}"]`).width(`${placeholderValue.length}ch`);
|
||||
document.querySelector(`input[data-code-var-escaped="${placeholderID}"]`).focus();
|
||||
document.querySelector(`input[data-code-var-escaped="${placeholderID}"]`).select();
|
||||
$placeholder.css('opacity', 0);
|
||||
});
|
||||
}
|
||||
|
||||
function submitPlaceholder(placeholderInput) {
|
||||
var placeholderID = placeholderInput.attr('id');
|
||||
var placeholderID = placeholderInput.attr('data-code-var-escaped');
|
||||
var placeholderValue = placeholderInput[0].value;
|
||||
var placeholderInput = $(`input.placeholder-edit#${placeholderID}`);
|
||||
placeholderInput = $(`input.placeholder-edit[data-id="${placeholderID}"]`);
|
||||
|
||||
$(`*[data-code-var='${placeholderID}']`).each(function() {
|
||||
$(`*[data-code-var="${placeholderID}"]`).each(function() {
|
||||
$(this).attr('data-code-var-value', placeholderValue);
|
||||
$(this).html(placeholderValue + editIcon);
|
||||
$(this).css('opacity', 1);
|
||||
|
@ -44,13 +66,7 @@ function closeOnEnter(input, event) {
|
|||
}
|
||||
}
|
||||
|
||||
function CodePlaceholder({element}) {
|
||||
handleClick(element);
|
||||
}
|
||||
|
||||
$(function() {
|
||||
const codePlaceholders = $(placeholderElement);
|
||||
codePlaceholders.each(function() {
|
||||
CodePlaceholder({element: this});
|
||||
});
|
||||
});
|
||||
export default function CodePlaceholder({ component }) {
|
||||
const $component = $(component);
|
||||
handleClick($component);
|
||||
}
|
|
@ -39,6 +39,7 @@ import * as v3Wayfinding from './v3-wayfinding.js';
|
|||
* The JavaScript is ideally a single-purpose module that exports a single default function to initialize the component and handle any component interactions.
|
||||
*/
|
||||
import AskAITrigger from './ask-ai-trigger.js';
|
||||
import CodePlaceholder from './code-placeholders.js';
|
||||
import { CustomTimeTrigger } from './custom-timestamps.js';
|
||||
import { SearchButton } from './search-button.js';
|
||||
import { SidebarToggle } from './sidebar-toggle.js';
|
||||
|
@ -97,6 +98,10 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
AskAITrigger({ component });
|
||||
window.influxdatadocs[componentName] = AskAITrigger;
|
||||
break;
|
||||
case 'code-placeholder':
|
||||
CodePlaceholder({ component });
|
||||
window.influxdatadocs[componentName] = CodePlaceholder;
|
||||
break;
|
||||
case 'custom-time-trigger':
|
||||
CustomTimeTrigger({ component });
|
||||
window.influxdatadocs[componentName] = CustomTimeTrigger;
|
||||
|
|
|
@ -120,9 +120,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.beta {
|
||||
&.new {
|
||||
.product-info h3::after {
|
||||
content: "beta";
|
||||
content: "New";
|
||||
margin-left: .5rem;
|
||||
font-size: 1rem;
|
||||
padding: .25em .5em .25em .4em;
|
||||
|
|
|
@ -99,6 +99,26 @@
|
|||
pre { background: rgba($r-basalt, .35); }
|
||||
}
|
||||
|
||||
&.ga-announcement {
|
||||
background-image: url('/svgs/influxdb3-ga-background.svg');
|
||||
background-size: cover;
|
||||
a:hover { color: $br-dark-blue; }
|
||||
code { color: $gr-gypsy; background: rgba($gr-gypsy, .25); }
|
||||
pre { background: rgba($gr-gypsy, .25); }
|
||||
|
||||
h3 {font-size: 1.4rem !important;}
|
||||
.notification-slug { font-size: 1.15rem;
|
||||
.btn {
|
||||
display: inline-block;
|
||||
background: $g20-white;
|
||||
color: $br-dark-blue;
|
||||
padding: .5rem 1rem;
|
||||
border-radius: $radius * 2;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//////////// Basic HTML element styles for notification content ////////////
|
||||
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
|
@ -156,6 +176,16 @@
|
|||
}
|
||||
.show::before {content: "Show more"}
|
||||
}
|
||||
|
||||
.title-tag {
|
||||
padding: .15rem .45rem;
|
||||
text-transform: uppercase;
|
||||
font-size: .85rem;
|
||||
border-radius: $radius * 2;
|
||||
font-family: $code;
|
||||
background: $br-dark-blue;
|
||||
}
|
||||
.title-tag + h3 {margin-top: .75rem;}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -96,5 +96,4 @@ blockquote {
|
|||
"blocks/tip",
|
||||
"blocks/important",
|
||||
"blocks/warning",
|
||||
"blocks/caution",
|
||||
"blocks/beta";
|
||||
"blocks/caution";
|
||||
|
|
|
@ -15,27 +15,48 @@
|
|||
padding-right: 2rem;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 1.25rem;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
|
||||
li {display: inline-block}
|
||||
|
||||
a {
|
||||
margin-right: 1.5rem;
|
||||
color: $article-heading;
|
||||
font-weight: $medium;
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
content: "\e90a";
|
||||
font-family: 'icomoon-v4';
|
||||
font-weight: bold;
|
||||
font-size: 1.3rem;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
@include gradient($grad-burningDusk);
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
right: 0;
|
||||
transform: translateX(.25rem);
|
||||
opacity: 0;
|
||||
transition: transform .2s, opacity .2s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $article-link;
|
||||
border-radius: calc($radius * 1.5);
|
||||
&::after {transform: translateX(1.5rem); opacity: 1;}
|
||||
}
|
||||
|
||||
&.discord:before {
|
||||
content: url('/svgs/discord.svg');
|
||||
display: inline-block;
|
||||
height: 1.1rem;
|
||||
width: 1.25rem;
|
||||
vertical-align: top;
|
||||
margin: 2px .65rem 0 0;
|
||||
}
|
||||
|
||||
&.community:before {
|
||||
content: "\e900";
|
||||
color: $article-heading;
|
||||
margin: 0 .5rem 0 -.25rem;
|
||||
margin-right: .75rem;
|
||||
font-size: 1.2rem;
|
||||
font-family: 'icomoon-v2';
|
||||
vertical-align: middle;
|
||||
|
@ -46,7 +67,16 @@
|
|||
height: 1.1rem;
|
||||
width: 1.1rem;
|
||||
vertical-align: text-top;
|
||||
margin-right: .5rem;
|
||||
margin-right: .8rem;
|
||||
}
|
||||
|
||||
&.reddit:before {
|
||||
content: url('/svgs/reddit.svg');
|
||||
display: inline-block;
|
||||
height: 1.1rem;
|
||||
width: 1.2rem;
|
||||
vertical-align: top;
|
||||
margin: 2px .75rem 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,105 +0,0 @@
|
|||
.block.beta {
|
||||
@include gradient($grad-burningDusk);
|
||||
padding: 4px;
|
||||
border: none;
|
||||
border-radius: 25px !important;
|
||||
|
||||
.beta-content {
|
||||
background: $article-bg;
|
||||
border-radius: 21px;
|
||||
padding: calc(1.65rem - 4px) calc(2rem - 4px) calc(.1rem + 4px) calc(2rem - 4px);
|
||||
|
||||
h4 {
|
||||
color: $article-heading;
|
||||
}
|
||||
|
||||
p {margin-bottom: 1rem;}
|
||||
|
||||
.expand-wrapper {
|
||||
border: none;
|
||||
margin: .5rem 0 1.5rem;
|
||||
}
|
||||
.expand {
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
||||
.expand-content p {
|
||||
margin-left: 2rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
|
||||
margin-top: -1rem;
|
||||
|
||||
&.feedback-channels {
|
||||
|
||||
padding: 0;
|
||||
margin: -1rem 0 1.5rem 2rem;
|
||||
list-style: none;
|
||||
|
||||
a {
|
||||
color: $article-heading;
|
||||
font-weight: $medium;
|
||||
position: relative;
|
||||
|
||||
&.discord:before {
|
||||
content: url('/svgs/discord.svg');
|
||||
display: inline-block;
|
||||
height: 1.1rem;
|
||||
width: 1.25rem;
|
||||
vertical-align: top;
|
||||
margin: 2px .65rem 0 0;
|
||||
}
|
||||
|
||||
&.community:before {
|
||||
content: "\e900";
|
||||
color: $article-heading;
|
||||
margin: 0 .65rem 0 0;
|
||||
font-size: 1.2rem;
|
||||
font-family: 'icomoon-v2';
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&.slack:before {
|
||||
content: url('/svgs/slack.svg');
|
||||
display: inline-block;
|
||||
height: 1.1rem;
|
||||
width: 1.1rem;
|
||||
vertical-align: text-top;
|
||||
margin-right: .65rem;
|
||||
}
|
||||
|
||||
&.reddit:before {
|
||||
content: url('/svgs/reddit.svg');
|
||||
display: inline-block;
|
||||
height: 1.1rem;
|
||||
width: 1.2rem;
|
||||
vertical-align: top;
|
||||
margin: 2px .65rem 0 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "\e90a";
|
||||
font-family: 'icomoon-v4';
|
||||
font-weight: bold;
|
||||
font-size: 1.3rem;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
@include gradient($grad-burningDusk);
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
right: 0;
|
||||
transform: translateX(.25rem);
|
||||
opacity: 0;
|
||||
transition: transform .2s, opacity .2s;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&::after {transform: translateX(1.5rem); opacity: 1;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -301,10 +301,11 @@ services:
|
|||
working_dir: /app
|
||||
influxdb3-core:
|
||||
container_name: influxdb3-core
|
||||
image: quay.io/influxdb/influxdb3-core:latest
|
||||
image: influxdb:3-core
|
||||
ports:
|
||||
- 8181:8181
|
||||
command:
|
||||
- influxdb3
|
||||
- serve
|
||||
- --node-id=sensors_node0
|
||||
- --log-filter=debug
|
||||
|
|
|
@ -10,6 +10,16 @@ aliases:
|
|||
- /chronograf/v1/about_the_project/release-notes-changelog/
|
||||
---
|
||||
|
||||
## v1.10.7 {date="2025-04-15"}
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Fix Hosts page loading.
|
||||
|
||||
### Dependency updates
|
||||
|
||||
- Upgrade Go to 1.23.8.
|
||||
|
||||
## v1.10.6 {date="2024-12-16"}
|
||||
|
||||
### Bug Fixes
|
||||
|
|
|
@ -6,6 +6,15 @@ menu:
|
|||
enterprise_influxdb_v1:
|
||||
name: Tools
|
||||
weight: 72
|
||||
aliases:
|
||||
- /enterprise_influxdb/v1/tools/flux-vscode/
|
||||
prepend: |
|
||||
> [!Important]
|
||||
> #### Flux VS Code extension no longer available
|
||||
>
|
||||
> The `vsflux` extension is no longer available in the Visual Studio Marketplace.
|
||||
> `vsflux` and the `flux-lsp` Flux Language Server Protocol plugin are no longer maintained.
|
||||
> Their repositories have been archived and are no longer receiving updates.
|
||||
---
|
||||
|
||||
Use the following tools to work with InfluxDB Enterprise:
|
||||
|
|
|
@ -10,6 +10,14 @@ menu:
|
|||
enterprise_influxdb_v1:
|
||||
name: Flux VS Code extension
|
||||
parent: Tools
|
||||
draft: true
|
||||
prepend: |
|
||||
> [!Important]
|
||||
> #### Flux VS Code extension no longer available
|
||||
>
|
||||
> The `vsflux` extension is no longer available in the Visual Studio Marketplace.
|
||||
> `vsflux` and the `flux-lsp` Flux Language Server Protocol plugin are no longer maintained.
|
||||
> Their repositories have been archived and are no longer receiving updates.
|
||||
---
|
||||
|
||||
The [Flux Visual Studio Code (VS Code) extension](https://marketplace.visualstudio.com/items?itemName=influxdata.flux)
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 203
|
||||
aliases:
|
||||
- /influxdb/cloud/organizations/buckets/delete-bucket/
|
||||
source: /shared/influxdb-v2/admin/buckets/delete-bucket.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/buckets/delete-bucket.md-->
|
||||
|
|
|
@ -13,6 +13,8 @@ alt_links:
|
|||
cloud-serverless: /influxdb3/cloud-serverless/admin/tokens/create-token
|
||||
cloud-dedicated: /influxdb3/cloud-dedicated/admin/tokens/database/create
|
||||
clustered: /influxdb3/clustered/admin/tokens/database/create
|
||||
source: /shared/influxdb-v2/admin/tokens/create-token.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/tokens/create-token.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 204
|
||||
aliases:
|
||||
- /influxdb/cloud/security/tokens/delete-token/
|
||||
source: /shared/influxdb-v2/admin/tokens/delete-token.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/tokens/delete-token.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 203
|
||||
aliases:
|
||||
- /influxdb/cloud/security/tokens/update-tokens/
|
||||
source: /shared/influxdb-v2/admin/tokens/update-tokens.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/tokens/update-tokens.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 204
|
||||
aliases:
|
||||
- /influxdb/cloud/security/tokens/use-tokens/
|
||||
source: /shared/influxdb-v2/admin/tokens/use-tokens.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/tokens/use-tokens.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 202
|
|||
aliases:
|
||||
- /influxdb/cloud/users/tokens/view-tokens
|
||||
- /influxdb/cloud/security/tokens/view-tokens/
|
||||
source: /shared/influxdb-v2/admin/tokens/view-tokens.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/admin/tokens/view-tokens.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
|||
aliases:
|
||||
- /influxdb/cloud/tools/api/
|
||||
influxdb/cloud/tags: [api]
|
||||
source: /shared/influxdb-v2/api-guide/api_intro.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/api_intro.md-->
|
||||
|
|
|
@ -14,6 +14,8 @@ menu:
|
|||
name: Client libraries
|
||||
parent: Develop with the API
|
||||
influxdb/cloud/tags: [client libraries]
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/_index.md-->
|
||||
|
|
|
@ -12,6 +12,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/arduino.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/arduino.md-->
|
|
@ -18,6 +18,8 @@ aliases:
|
|||
related:
|
||||
- /influxdb/cloud/api-guide/client-libraries/nodejs/write/
|
||||
- /influxdb/cloud/api-guide/client-libraries/nodejs/query/
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/browserjs.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/browserjs.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-csharp
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/csharp.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/csharp.md-->
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-dart
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/dart.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/dart.md-->
|
|
@ -13,6 +13,8 @@ weight: 201
|
|||
aliases:
|
||||
- /influxdb/cloud/reference/api/client-libraries/go/
|
||||
- /influxdb/cloud/tools/client-libraries/go/
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/go.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/go.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-java
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/java.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/java.md-->
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/kotlin.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/kotlin.md-->
|
|
@ -14,6 +14,8 @@ aliases:
|
|||
- /influxdb/cloud/reference/api/client-libraries/js/
|
||||
- /influxdb/cloud/reference/api/client-libraries/nodejs/
|
||||
- /influxdb/cloud/tools/client-libraries/js/
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/nodejs/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/nodejs/_index.md-->
|
||||
|
|
|
@ -12,9 +12,11 @@ weight: 100
|
|||
aliases:
|
||||
- /influxdb/cloud/reference/api/client-libraries/js/install
|
||||
- /influxdb/cloud/reference/api/client-libraries/nodejs/install
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/nodejs/install.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/nodejs/install.md-->
|
||||
|
||||
{{% note %}}
|
||||
The URL in the examples depends on your [InfluxDB Cloud region](/influxdb/cloud/reference/regions/).
|
||||
|
|
|
@ -11,6 +11,8 @@ weight: 201
|
|||
aliases:
|
||||
- /influxdb/cloud/reference/api/client-libraries/js/query
|
||||
- /influxdb/cloud/reference/api/client-libraries/nodejs/query
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/nodejs/query.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/nodejs/query.md-->
|
||||
|
|
|
@ -13,6 +13,8 @@ aliases:
|
|||
- /influxdb/cloud/reference/api/client-libraries/nodejs/write
|
||||
related:
|
||||
- /influxdb/cloud/write-data/troubleshoot/
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/nodejs/write.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/nodejs/write.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-php
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/php.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/php.md-->
|
|
@ -14,6 +14,8 @@ aliases:
|
|||
- /influxdb/cloud/reference/api/client-libraries/python-cl-guide/
|
||||
- /influxdb/cloud/tools/client-libraries/python/
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/python.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/python.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-r
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/r.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/r.md-->
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-ruby
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/ruby.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/ruby.md-->
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-scala
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/scala.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/scala.md-->
|
|
@ -11,6 +11,8 @@ menu:
|
|||
params:
|
||||
url: https://github.com/influxdata/influxdb-client-swift
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/api-guide/client-libraries/swift.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/client-libraries/swift.md-->
|
|
@ -13,6 +13,8 @@ related:
|
|||
- /influxdb/cloud/query-data/influxql
|
||||
aliases:
|
||||
- /influxdb/cloud/reference/api/influxdb-1x/
|
||||
source: /shared/influxdb-v2/api-guide/influxdb-1x/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/influxdb-1x/_index.md-->
|
||||
|
|
|
@ -15,6 +15,8 @@ related:
|
|||
- /influxdb/cloud/query-data/influxql/
|
||||
aliases:
|
||||
- /influxdb/cloud/reference/api/influxdb-1x/dbrp/
|
||||
source: /shared/influxdb-v2/api-guide/influxdb-1x/dbrp.md
|
||||
---
|
||||
|
||||
{{% duplicate-oss %}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/influxdb-1x/dbrp.md-->
|
||||
|
|
|
@ -17,6 +17,8 @@ related:
|
|||
- /influxdb/cloud/query-data/influxql
|
||||
aliases:
|
||||
- /influxdb/cloud/reference/api/influxdb-1x/query/
|
||||
source: /shared/influxdb-v2/api-guide/influxdb-1x/query.md
|
||||
---
|
||||
|
||||
{{% duplicate-oss %}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/influxdb-1x/query.md-->
|
||||
|
|
|
@ -18,6 +18,8 @@ related:
|
|||
- /influxdb/cloud/reference/syntax/line-protocol
|
||||
aliases:
|
||||
- /influxdb/cloud/reference/api/influxdb-1x/write/
|
||||
source: /shared/influxdb-v2/api-guide/influxdb-1x/write.md
|
||||
---
|
||||
|
||||
{{% duplicate-oss %}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/influxdb-1x/write.md-->
|
||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
|||
name: Client library tutorials
|
||||
parent: Develop with the API
|
||||
influxdb/cloud/tags: [api]
|
||||
source: /shared/influxdb-v2/api-guide/tutorials/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/tutorials/_index.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ menu:
|
|||
name: JavaScript
|
||||
parent: Client library tutorials
|
||||
influxdb/cloud/tags: [api, javascript, nodejs]
|
||||
source: /shared/influxdb-v2/api-guide/tutorials/nodejs.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/tutorials/nodejs.md-->
|
||||
|
|
|
@ -12,6 +12,8 @@ menu:
|
|||
name: Python
|
||||
parent: Client library tutorials
|
||||
influxdb/cloud/tags: [api, python]
|
||||
source: /shared/influxdb-v2/api-guide/tutorials/python.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/api-guide/tutorials/python.md-->
|
||||
|
|
|
@ -62,8 +62,8 @@ The following are important definitions to understand when using InfluxDB:
|
|||
|
||||
- **Point**: Single data record identified by its _measurement, tag keys, tag values, field key, and timestamp_.
|
||||
- **Series**: A group of points with the same
|
||||
{{% oss-only %}}_measurement, tag keys, and tag values_.{{% /oss-only %}}
|
||||
{{% cloud-only %}}_measurement, tag keys and values, and field key_.{{% /cloud-only %}}
|
||||
{{% show-in "v2" %}}_measurement, tag keys, and tag values_.{{% /show-in %}}
|
||||
{{% show-in "cloud,cloud-serverless" %}}_measurement, tag keys and values, and field key_.{{% /show-in %}}
|
||||
|
||||
##### Example InfluxDB query results
|
||||
|
||||
|
@ -81,13 +81,13 @@ InfluxDB {{< current-version >}}. Examples are provided for each of the followin
|
|||
### InfluxDB user interface (UI)
|
||||
|
||||
The InfluxDB UI provides a web-based visual interface for interacting with and managing InfluxDB.
|
||||
{{% oss-only %}}The UI is packaged with InfluxDB and runs as part of the InfluxDB service. To access the UI, with InfluxDB running, visit [localhost:8086](http://localhost:8086) in your browser.{{% /oss-only %}}
|
||||
{{% cloud-only %}}To access the InfluxDB Cloud UI, [log into your InfluxDB Cloud account](https://cloud2.influxdata.com).{{% /cloud-only %}}
|
||||
{{% show-in "v2" %}}The UI is packaged with InfluxDB and runs as part of the InfluxDB service. To access the UI, with InfluxDB running, visit [localhost:8086](http://localhost:8086) in your browser.{{% /show-in %}}
|
||||
{{% show-in "cloud,cloud-serverless" %}}To access the InfluxDB Cloud UI, [log into your InfluxDB Cloud account](https://cloud2.influxdata.com).{{% /show-in %}}
|
||||
|
||||
### `influx` CLI
|
||||
|
||||
The `influx` CLI lets you interact with and manage InfluxDB {{< current-version >}} from a command line.
|
||||
{{% oss-only %}}The CLI is packaged separately from InfluxDB and must be downloaded and installed separately.{{% /oss-only %}}
|
||||
{{% show-in "v2" %}}The CLI is packaged separately from InfluxDB and must be downloaded and installed separately.{{% /show-in %}}
|
||||
For detailed CLI installation instructions, see
|
||||
[Use the influx CLI](/influxdb/cloud/tools/influx-cli/).
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@ related:
|
|||
- /influxdb/cloud/process-data/get-started/
|
||||
- /flux/v0/get-started/
|
||||
- /flux/v0/stdlib/
|
||||
source: /shared/influxdb-v2/get-started/process.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/get-started/process.md-->
|
||||
|
|
|
@ -14,6 +14,8 @@ weight: 102
|
|||
metadata: [3 / 5]
|
||||
related:
|
||||
- /influxdb/cloud/query-data/
|
||||
source: /shared/influxdb-v2/get-started/query.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/get-started/query.md-->
|
||||
|
|
|
@ -17,6 +17,8 @@ related:
|
|||
- /influxdb/cloud/visualize-data/visualization-types/
|
||||
- /influxdb/cloud/tools/chronograf/
|
||||
- /influxdb/cloud/tools/grafana/
|
||||
source: /shared/influxdb-v2/get-started/visualize.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/get-started/visualize.md-->
|
|
@ -17,6 +17,8 @@ related:
|
|||
- /influxdb/cloud/write-data/best-practices/
|
||||
- /influxdb/cloud/reference/syntax/line-protocol/
|
||||
- /telegraf/v1/
|
||||
source: /shared/influxdb-v2/get-started/write.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/get-started/write.md-->
|
|
@ -9,6 +9,8 @@ menu:
|
|||
name: Monitor & alert
|
||||
weight: 6
|
||||
influxdb/cloud/tags: [monitor, alert, checks, notification, endpoints]
|
||||
source: /shared/influxdb-v2/monitor-alert/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/_index.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 201
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/checks/create.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/checks/create.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 204
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/checks/delete.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/checks/delete.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 203
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/checks/update.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/checks/update.md-->
|
|
@ -10,6 +10,8 @@ weight: 202
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/checks/view.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/checks/view.md-->
|
||||
|
|
|
@ -8,6 +8,8 @@ menu:
|
|||
parent: Monitor & alert
|
||||
weight: 201
|
||||
influxdb/cloud/tags: [alerts, checks, tasks, Flux]
|
||||
source: /shared/influxdb-v2/monitor-alert/custom-checks.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/custom-checks.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 201
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-endpoints/create.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-endpoints/create.md-->
|
|
@ -10,6 +10,8 @@ weight: 204
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-endpoints/delete.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-endpoints/delete.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ weight: 203
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-endpoints/update.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-endpoints/update.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ weight: 202
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-rules/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-endpoints/view.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-endpoints/view.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-rules/create.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-rules/create.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-rules/delete.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-rules/delete.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-rules/update.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-rules/update.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
- /influxdb/cloud/monitor-alert/notification-endpoints/
|
||||
source: /shared/influxdb-v2/monitor-alert/notification-rules/view.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/notification-rules/view.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ weight: 104
|
|||
influxdb/cloud/tags: [alert, email, notifications, check]
|
||||
related:
|
||||
- /influxdb/cloud/monitor-alert/checks/
|
||||
source: /shared/influxdb-v2/monitor-alert/send-email.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/send-email.md-->
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor infrastructure
|
||||
name: AWS CloudWatch
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/infrastructure/aws.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/infrastructure/aws.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor infrastructure
|
||||
name: Docker
|
||||
weight: 202
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/infrastructure/docker.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/infrastructure/docker.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor infrastructure
|
||||
name: Raspberry Pi
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/infrastructure/raspberry-pi.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/infrastructure/raspberry-pi.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor infrastructure
|
||||
name: vSphere
|
||||
weight: 206
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/infrastructure/vshpere.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/infrastructure/vshpere.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor infrastructure
|
||||
name: Windows
|
||||
weight: 207
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/infrastructure/windows.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/infrastructure/windows.md-->
|
||||
|
|
|
@ -13,6 +13,8 @@ related:
|
|||
- /influxdb/v2/reference/cli/influx/apply/
|
||||
- /influxdb/v2/reference/cli/influx/template/
|
||||
- /influxdb/cloud/tools/influxdb-templates/monitor
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/monitor.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/monitor.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
parent: Monitor networks
|
||||
name: HAproxy
|
||||
weight: 201
|
||||
source: /shared/influxdb-v2/monitor-alert/templates/networks/haproxy.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/monitor-alert/templates/networks/haproxy.md-->
|
||||
|
|
|
@ -16,6 +16,8 @@ related:
|
|||
- /influxdb/cloud/process-data/manage-tasks/
|
||||
- /influxdb/cloud/process-data/manage-tasks/create-task/
|
||||
- /resources/videos/influxdb-tasks/
|
||||
source: /shared/influxdb-v2/process-data/get-started.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/get-started.md-->
|
|
@ -10,6 +10,8 @@ menu:
|
|||
weight: 201
|
||||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/task/create
|
||||
source: /shared/influxdb-v2/process-data/manage-tasks/create-task.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/manage-tasks/create-task.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
|||
weight: 206
|
||||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/task/delete
|
||||
source: /shared/influxdb-v2/process-data/manage-tasks/delete-task.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/manage-tasks/delete-task.md-->
|
||||
|
|
|
@ -11,6 +11,8 @@ weight: 203
|
|||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/task/run
|
||||
- /influxdb/cloud/reference/cli/influx/task/retry
|
||||
source: /shared/influxdb-v2/process-data/manage-tasks/run-task.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/manage-tasks/run-task.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 203
|
||||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/task/run/find
|
||||
source: /shared/influxdb-v2/process-data/manage-tasks/task-run-history.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/manage-tasks/task-run-history.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
|||
weight: 204
|
||||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/task/update
|
||||
source: /shared/influxdb-v2/process-data/manage-tasks/update-task.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/manage-tasks/update-task.md-->
|
||||
|
|
|
@ -10,6 +10,8 @@ menu:
|
|||
parent: Process data
|
||||
weight: 105
|
||||
influxdb/cloud/tags: [tasks, flux]
|
||||
source: /shared/influxdb-v2/process-data/task-options.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/process-data/task-options.md-->
|
|
@ -9,6 +9,8 @@ menu:
|
|||
name: Common queries
|
||||
parent: Query data
|
||||
weight: 104
|
||||
source: /shared/influxdb-v2/query-data/common-queries/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/common-queries/_index.md-->
|
|
@ -9,6 +9,8 @@ menu:
|
|||
name: Compare values from different buckets
|
||||
parent: Common queries
|
||||
weight: 104
|
||||
source: /shared/influxdb-v2/query-data/common-queries/compare-values.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/common-queries/compare-values.md-->
|
|
@ -10,6 +10,8 @@ menu:
|
|||
weight: 205
|
||||
related:
|
||||
- /resources/videos/iot-monitoring-with-influxdb/
|
||||
source: /shared/influxdb-v2/query-data/common-queries/iot-common-queries.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/common-queries/iot-common-queries.md-->
|
|
@ -8,6 +8,8 @@ menu:
|
|||
influxdb_cloud:
|
||||
parent: Common queries
|
||||
weight: 204
|
||||
source: /shared/influxdb-v2/query-data/common-queries/multiple-fields-in-calculations.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/common-queries/multiple-fields-in-calculations.md-->
|
|
@ -12,6 +12,8 @@ menu:
|
|||
name: Operate on columns
|
||||
parent: Common queries
|
||||
weight: 100
|
||||
source: /shared/influxdb-v2/query-data/common-queries/operate-on-columns.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/common-queries/operate-on-columns.md-->
|
|
@ -8,6 +8,8 @@ menu:
|
|||
name: Query with Data Explorer
|
||||
parent: Execute queries
|
||||
influxdb/cloud/tags: [query]
|
||||
source: /shared/influxdb-v2/query-data/execute-queries/data-explorer.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/execute-queries/data-explorer.md-->
|
|
@ -7,6 +7,8 @@ menu:
|
|||
name: Query in the Flux REPL
|
||||
parent: Execute queries
|
||||
influxdb/cloud/tags: [query]
|
||||
source: /shared/influxdb-v2/query-data/execute-queries/flux-repl.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/execute-queries/flux-repl.md-->
|
||||
|
|
|
@ -7,6 +7,8 @@ menu:
|
|||
name: Query with the InfluxDB API
|
||||
parent: Execute queries
|
||||
influxdb/cloud/tags: [query]
|
||||
source: /shared/influxdb-v2/query-data/execute-queries/influx-api.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/execute-queries/influx-api.md-->
|
||||
|
|
|
@ -9,6 +9,8 @@ menu:
|
|||
influxdb/cloud/tags: [query]
|
||||
related:
|
||||
- /influxdb/cloud/reference/cli/influx/query/
|
||||
source: /shared/influxdb-v2/query-data/execute-queries/influx-query.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/execute-queries/influx-query.md-->
|
|
@ -7,6 +7,8 @@ menu:
|
|||
influxdb_cloud:
|
||||
name: Query with Flux
|
||||
parent: Query data
|
||||
source: /shared/influxdb-v2/query-data/flux/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/_index.md-->
|
||||
|
|
|
@ -16,6 +16,8 @@ related:
|
|||
- /flux/v0/stdlib/universe/pivot
|
||||
- /flux/v0/stdlib/universe/join
|
||||
list_query_example: percentages
|
||||
source: /shared/influxdb-v2/query-data/flux/calculate-percentages.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/calculate-percentages.md-->
|
|
@ -20,6 +20,8 @@ list_code_example: |
|
|||
```js
|
||||
if color == "green" then "008000" else "ffffff"
|
||||
```
|
||||
source: /shared/influxdb-v2/query-data/flux/conditional-logic.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/conditional-logic.md-->
|
|
@ -13,6 +13,8 @@ influxdb/cloud/tags: [query, cumulative sum]
|
|||
related:
|
||||
- /flux/v0/stdlib/universe/cumulativesum/
|
||||
list_query_example: cumulative_sum
|
||||
source: /shared/influxdb-v2/query-data/flux/cumulativesum.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/cumulativesum.md-->
|
|
@ -16,6 +16,8 @@ list_code_example: |
|
|||
data
|
||||
|> multByX(x: 2.0)
|
||||
```
|
||||
source: /shared/influxdb-v2/query-data/flux/custom-functions/_index.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/custom-functions/_index.md-->
|
|
@ -9,6 +9,8 @@ menu:
|
|||
weight: 301
|
||||
related:
|
||||
- /flux/v0/stdlib/universe/reduce/
|
||||
source: /shared/influxdb-v2/query-data/flux/custom-functions/custom-aggregate.md
|
||||
---
|
||||
|
||||
{{< duplicate-oss >}}
|
||||
<!-- The content of this file is at
|
||||
// SOURCE content/shared/influxdb-v2/query-data/flux/custom-functions/custom-aggregate.md-->
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue