fix(v3): remove v2-prefer note, replace with specific recommendations (#5195)

* fix(v3): remove v2-prefer note, replace with specific recommendations

- removes the shared v2-prefer shortcode note.
- adds "Flight client" tag to all Flight RPC and Flight SQL client pages.
- replaces the note with specific write/query notes in each platform.
- misc fixes

* fix(v3): v2 client library typo

* fix(v3): Cleanup usage note for all v2 client libraries

- Change note to warning
- Condense
- Move warning to prepend block
- Make consistent on all pages
- Remove autolinking to GitHub repos

* chore(v3): Add "Clustered"

* fix(v3): typo
pull/5198/head
Jason Stirnaman 2023-10-26 14:45:38 -05:00 committed by GitHub
parent 72b8b4a19e
commit c4ccc191b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
114 changed files with 746 additions and 448 deletions

View File

@ -91,18 +91,18 @@ The following definitions are important to understand when using InfluxDB:
The following table compares tools that you can use to interact with {{% product-name %}}. The following table compares tools that you can use to interact with {{% product-name %}}.
This tutorial covers many of the recommended tools. This tutorial covers many of the recommended tools.
| Tool | Administration | Write | Query | | Tool | Administration | Write | Query |
|:--------------------------------- |:---------------:|:-------:|:-------:| |:----------------------------------------------------------------------------------------------------|:------------------------:|:------------------------:|:------------------------:|
| [Chronograf](/chronograf/v1/) | - | - | **{{< icon "check" >}}** | | [Chronograf](/chronograf/v1/) | - | - | **{{< icon "check" >}}** |
| <span style="color:gray">`influx` CLI</span> | - | - | - | | <span style="color:gray">`influx` CLI</span> | - | - | - |
| [`influx3` data CLI](#influx3-data-cli){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [`influx3` data CLI](#influx3-data-cli){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [`influxctl` admin CLI](#influxctl-admin-cli) | **{{< icon "check" >}}** | - | - | | [`influxctl` admin CLI](#influxctl-admin-cli) | **{{< icon "check" >}}** | - | - |
| [InfluxDB HTTP API](#influxdb-http-api) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB HTTP API](#influxdb-http-api) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| <span style="color:gray">InfluxDB user interface</span> | - | - | - | | <span style="color:gray">InfluxDB user interface</span> | - | - | - |
| [InfluxDB v3 client libraries](#influxdb-v3-client-libraries){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB v3 client libraries](#influxdb-v3-client-libraries){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [InfluxDB v1 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v1/) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB v1 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v1/) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [InfluxDB v2 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v2/) | **{{< icon "check" >}}** | **{{< icon "check" >}}** | - | | [InfluxDB v2 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v2/) | - | **{{< icon "check" >}}** | - |
| Telegraf | - | **{{< icon "check" >}}** | - | | Telegraf | - | **{{< icon "check" >}}** | - |
| **Third-party tools** | | **Third-party tools** |
| Flight SQL clients | - | - | **{{< icon "check" >}}** | | Flight SQL clients | - | - | **{{< icon "check" >}}** |
| [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/) | - | - | **{{< icon "check" >}}** | | [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/) | - | - | **{{< icon "check" >}}** |

View File

@ -45,7 +45,7 @@ For help finding the best workflow for your situation, [contact Support](mailto:
- [Client libraries](#client-libraries) - [Client libraries](#client-libraries)
- [Query data](#query-data) - [Query data](#query-data)
- [Tools to execute queries](#tools-to-execute-queries) - [Tools to execute queries](#tools-to-execute-queries)
- [/api/v2/query not supported](#apiv2query-not-supported) - [/api/v2/query not supported](#apiv2query-not-supported)
<!-- /TOC --> <!-- /TOC -->
@ -232,7 +232,10 @@ To setup and start using client libraries, see the [Get started](/influxdb/cloud
{{% /note %}} {{% /note %}}
### /api/v2/query not supported {{% warn %}}
#### /api/v2/query not supported
The `/api/v2/query` API endpoint and associated tooling aren't supported in {{% product-name %}}. The `/api/v2/query` API endpoint and associated tooling, such as the `influx` CLI and InfluxDB v2 client libraries, **arent** supported in {{% product-name %}}.
{{% /warn %}}

View File

@ -184,7 +184,7 @@ as an evaluation or prototyping platform for InfluxDB Cloud Dedicated.
### Use the v3 lightweight client libraries ### Use the v3 lightweight client libraries
Use the InfluxDB [v3 lightweight client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) Use the InfluxDB [v3 lightweight client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
to help make your code for writing and querying cross-compatible with InfluxDB Cloud Serverless and Cloud Dedicated. to help make your code for writing and querying cross-compatible with InfluxDB Cloud Serverless, Cloud Dedicated, and Clustered.
You'll only need to change your InfluxDB connection credentials You'll only need to change your InfluxDB connection credentials
(host, database name, and token). (host, database name, and token).

View File

@ -9,7 +9,7 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Use Grafana name: Use Grafana
parent: Visualize data parent: Visualize data
influxdb/cloud-dedicated/tags: [query, visualization] influxdb/cloud-dedicated/tags: [Flight client, query, visualization]
aliases: aliases:
- /influxdb/cloud-dedicated/query-data/tools/grafana/ - /influxdb/cloud-dedicated/query-data/tools/grafana/
- /influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/ - /influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/

View File

@ -10,7 +10,7 @@ menu:
parent: Visualize data parent: Visualize data
name: Use Superset name: Use Superset
identifier: query-with-superset identifier: query-with-superset
influxdb/cloud-dedicated/tags: [query, flightsql, superset] influxdb/cloud-dedicated/tags: [Flight client, query, flightsql, superset]
aliases: aliases:
- /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/superset/ - /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/superset/
- /influxdb/cloud-dedicated/query-data/tools/superset/ - /influxdb/cloud-dedicated/query-data/tools/superset/

View File

@ -10,7 +10,7 @@ menu:
parent: Visualize data parent: Visualize data
name: Use Tableau name: Use Tableau
identifier: query-with-tableau identifier: query-with-tableau
influxdb/cloud-dedicated/tags: [query, flightsql, tableau, sql] influxdb/cloud-dedicated/tags: [Flight client, query, flightsql, tableau, sql]
aliases: aliases:
- /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/tableau/ - /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/tableau/
- /influxdb/cloud-dedicated/query-data/tools/tableau/ - /influxdb/cloud-dedicated/query-data/tools/tableau/

View File

@ -12,4 +12,13 @@ influxdb/cloud-dedicated/tags: [query]
Learn to query data stored in InfluxDB. Learn to query data stored in InfluxDB.
{{% note %}}
#### Choose the query method for your workload
- For new query workloads, use one of the many available [Flight clients](/influxdb/cloud-dedicated/tags/flight-client/) and SQL or InfluxQL.
- [Use the HTTP API `/query` endpoint and InfluxQL](/influxdb/cloud-dedicated/query-data/execute-queries/influxdb-v1-api/) when you bring existing v1 query workloads to {{% product-name %}}.
{{% /note %}}
{{< children >}} {{< children >}}

View File

@ -17,7 +17,7 @@ aliases:
Use tools and libraries to query data stored in an {{% product-name %}} bucket. Use tools and libraries to query data stored in an {{% product-name %}} bucket.
InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html). InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html).
HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in formatted as JSON. HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in JSON format.
Learn how to connect to InfluxDB and query your data using the following tools: Learn how to connect to InfluxDB and query your data using the following tools:

View File

@ -12,7 +12,7 @@ menu:
name: Use Go name: Use Go
identifier: query-with-go identifier: query-with-go
metadata: [InfluxQL, SQL] metadata: [InfluxQL, SQL]
influxdb/cloud-dedicated/tags: [query, flight, go, sql, influxql] influxdb/cloud-dedicated/tags: [query, flight, Flight client, go, sql, influxql]
related: related:
- /influxdb/cloud-dedicated/reference/client-libraries/v3/go/ - /influxdb/cloud-dedicated/reference/client-libraries/v3/go/
- /influxdb/cloud-dedicated/reference/sql/ - /influxdb/cloud-dedicated/reference/sql/

View File

@ -11,7 +11,7 @@ menu:
parent: Use client libraries parent: Use client libraries
name: Use Python name: Use Python
identifier: query-with-python-sql identifier: query-with-python-sql
influxdb/cloud-dedicated/tags: [query, flight, python, sql, influxql] influxdb/cloud-dedicated/tags: [query, flight, Flight client, python, sql, influxql]
aliases: aliases:
- /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/python/ - /influxdb/cloud-dedicated/query-data/execute-queries/flight-sql/python/
- /influxdb/cloud-dedicated/query-data/execute-queries/influxql/python/ - /influxdb/cloud-dedicated/query-data/execute-queries/influxql/python/

View File

@ -6,7 +6,7 @@ menu:
name: Go name: Go
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: go-flight-client identifier: go-flight-client
influxdb/cloud-dedicated/tags: [Go, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-dedicated/tags: [Flight client, Go, gRPC, SQL, Flight SQL, client libraries]
related: related:
- /influxdb/cloud-dedicated/reference/client-libraries/v3/go/ - /influxdb/cloud-dedicated/reference/client-libraries/v3/go/
aliases: aliases:

View File

@ -6,7 +6,7 @@ menu:
name: Java Flight SQL name: Java Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: java-flightsql-client identifier: java-flightsql-client
influxdb/cloud-dedicated/tags: [Java, gRPC, SQL, Flight SQL] influxdb/cloud-dedicated/tags: [Flight client, Java, gRPC, SQL, Flight SQL]
weight: 201 weight: 201
related: related:
- /influxdb/cloud-dedicated/reference/client-libraries/v3/java/ - /influxdb/cloud-dedicated/reference/client-libraries/v3/java/

View File

@ -6,7 +6,7 @@ menu:
name: Python name: Python
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flight-client identifier: python-flight-client
influxdb/cloud-dedicated/tags: [Python, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-dedicated/tags: [Flight client, Python, gRPC, SQL, Flight SQL, client libraries]
aliases: aliases:
- /influxdb/cloud-dedicated/reference/client-libraries/flight-sql/python-flightsql/ - /influxdb/cloud-dedicated/reference/client-libraries/flight-sql/python-flightsql/
weight: 201 weight: 201

View File

@ -6,7 +6,7 @@ menu:
name: Python Flight SQL name: Python Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flightsql-client identifier: python-flightsql-client
influxdb/cloud-dedicated/tags: [Python, SQL, Flight SQL] influxdb/cloud-dedicated/tags: [Flight client, Python, SQL, Flight SQL]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-dedicated/reference/client-libraries/flight-sql/python-flightsql/ - /influxdb/cloud-dedicated/reference/client-libraries/flight-sql/python-flightsql/

View File

@ -9,6 +9,17 @@ menu:
name: v2 client libraries name: v2 client libraries
parent: Client libraries parent: Client libraries
influxdb/cloud-dedicated/tags: [client libraries, API, developer tools] influxdb/cloud-dedicated/tags: [client libraries, API, developer tools]
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
## Client libraries for InfluxDB 2.x and 1.8+ ## Client libraries for InfluxDB 2.x and 1.8+
@ -20,22 +31,4 @@ Functionality varies among client libraries.
InfluxDB client libraries are maintained by the InfluxDB community. InfluxDB client libraries are maintained by the InfluxDB community.
For specifics about a client library, see the library's GitHub repository. For specifics about a client library, see the library's GitHub repository.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-dedicated/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-dedicated/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-dedicated/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
{{< children type="list" depth="999" >}} {{< children type="list" depth="999" >}}

View File

@ -9,9 +9,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Arduino name: Arduino
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Arduino is an open-source hardware and software platform used for building electronics projects. Arduino is an open-source hardware and software platform used for building electronics projects.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: C# name: C#
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-csharp
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
C# is a general-purpose object-oriented programming language. C# is a general-purpose object-oriented programming language.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Dart name: Dart
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-dart
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Dart is a programming language created for quick application development for both web and mobile apps. Dart is a programming language created for quick application development for both web and mobile apps.

View File

@ -9,20 +9,21 @@ menu:
parent: v2 client libraries parent: v2 client libraries
influxdb/cloud-dedicated/tags: [client libraries, Go] influxdb/cloud-dedicated/tags: [client libraries, Go]
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go) to write data to an {{% product-name %}} database. Use the [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go) to write data to an {{% product-name %}} database.
{{% note %}}
### Use the InfluxDB v3 client library
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
Use the [InfluxDB v3 Go client library](/influxdb/cloud-dedicated/reference/client-libraries/v3/go/)
to write and query data stored in {{% product-name %}}.
{{% /note %}}
This guide presumes some familiarity with Go and InfluxDB. This guide presumes some familiarity with Go and InfluxDB.
If just getting started, see [Get started with InfluxDB](/influxdb/cloud-dedicated/get-started/). If just getting started, see [Get started with InfluxDB](/influxdb/cloud-dedicated/get-started/).

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Java name: Java
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Java is one of the oldest and most popular class-based, object-oriented programming languages. Java is one of the oldest and most popular class-based, object-oriented programming languages.

View File

@ -12,28 +12,21 @@ menu:
influxdb/cloud-dedicated/tags: [client libraries, JavaScript, NodeJS] influxdb/cloud-dedicated/tags: [client libraries, JavaScript, NodeJS]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/js/ - /influxdb/cloud-dedicated/reference/api/client-libraries/js/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster. for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [`influx3` data CLI](https://github.com/InfluxCommunity/influxdb3-python-cli)
- [InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-dedicated/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-dedicated/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-dedicated/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
{{< children depth="999" >}} {{< children depth="999" >}}

View File

@ -16,28 +16,21 @@ aliases:
related: related:
- /influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/write/ - /influxdb/cloud-dedicated/reference/client-libraries/v2/javascript/nodejs/write/
- /influxdb/cloud-dedicated/api-guide/client-libraries/nodejs/query/ - /influxdb/cloud-dedicated/api-guide/client-libraries/nodejs/query/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} database. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} database.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-dedicated/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-dedicated/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-dedicated/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
This library supports both front-end and server-side environments and provides the following distributions: This library supports both front-end and server-side environments and provides the following distributions:
- ECMAScript modules (ESM) and CommonJS modules (CJS) - ECMAScript modules (ESM) and CommonJS modules (CJS)

View File

@ -12,30 +12,23 @@ menu:
influxdb/cloud-dedicated/tags: [client libraries, JavaScript, NodeJS] influxdb/cloud-dedicated/tags: [client libraries, JavaScript, NodeJS]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/ - /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
integrates with the InfluxDB v2 API to write data from Node.js and browser applications to an {{% product-name %}} database. integrates with the InfluxDB v2 API to write data from Node.js and browser applications to an {{% product-name %}} database.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-dedicated/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-dedicated/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-dedicated/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Use the client library in a Node.js application ## Use the client library in a Node.js application
{{< children >}} {{< children >}}

View File

@ -10,28 +10,19 @@ influxdb/cloud-dedicated/tags: [client libraries, JavaScript]
weight: 100 weight: 100
aliases: aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/install - /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/install
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
{{% note %}}
Install the Node.js JavaScript client library to write data to an {{% product-name %}} database.
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-dedicated/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-dedicated/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-dedicated/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-dedicated/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Install Node.js ## Install Node.js
1. Install [Node.js](https://nodejs.org/en/download/package-manager/). 1. Install [Node.js](https://nodejs.org/en/download/package-manager/).

View File

@ -13,6 +13,17 @@ aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/write - /influxdb/cloud-dedicated/reference/api/client-libraries/nodejs/write
related: related:
- /influxdb/cloud-dedicated/write-data/troubleshoot/ - /influxdb/cloud-dedicated/write-data/troubleshoot/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Kotlin name: Kotlin
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM). Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM).

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: PHP name: PHP
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-php
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
PHP is a popular general-purpose scripting language primarily used for web development. PHP is a popular general-purpose scripting language primarily used for web development.

View File

@ -14,6 +14,17 @@ aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/python-cl-guide/ - /influxdb/cloud-dedicated/reference/api/client-libraries/python-cl-guide/
- /influxdb/cloud-dedicated/tools/client-libraries/python/ - /influxdb/cloud-dedicated/tools/client-libraries/python/
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB Python client library](https://github.com/influxdata/influxdb-client-python) to integrate InfluxDB into Python scripts and applications. Use the [InfluxDB Python client library](https://github.com/influxdata/influxdb-client-python) to integrate InfluxDB into Python scripts and applications.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: R name: R
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-r
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
R is a programming language and software environment for statistical analysis, reporting, and graphical representation primarily used in data science. R is a programming language and software environment for statistical analysis, reporting, and graphical representation primarily used in data science.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Ruby name: Ruby
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-ruby
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Ruby is a highly flexible, open-source, object-oriented programming language. Ruby is a highly flexible, open-source, object-oriented programming language.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Scala name: Scala
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-scala
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Scala is a general-purpose programming language that supports both object-oriented and functional programming. Scala is a general-purpose programming language that supports both object-oriented and functional programming.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_dedicated: influxdb_cloud_dedicated:
name: Swift name: Swift
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-swift
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-dedicated/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-dedicated/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-dedicated/write-data/) and [**querying**](/influxdb/cloud-dedicated/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-dedicated/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Swift is a programming language created by Apple for building applications across multiple Apple platforms. Swift is a programming language created by Apple for building applications across multiple Apple platforms.

View File

@ -7,7 +7,7 @@ menu:
name: Go name: Go
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-go identifier: influxdb3-go
influxdb/cloud-dedicated/tags: [go, InfluxQL, SQL, Flight, client libraries] influxdb/cloud-dedicated/tags: [Flight client, go, InfluxQL, SQL, Flight, client libraries]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/go/ - /influxdb/cloud-dedicated/reference/api/client-libraries/go/

View File

@ -9,7 +9,7 @@ menu:
name: Java name: Java
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-java identifier: influxdb3-java
influxdb/cloud-dedicated/tags: [Java, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-dedicated/tags: [Flight client, Java, gRPC, SQL, Flight SQL, client libraries]
weight: 201 weight: 201
--- ---

View File

@ -9,7 +9,7 @@ menu:
name: JavaScript name: JavaScript
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-js identifier: influxdb3-js
influxdb/cloud-dedicated/tags: [JavaScript, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-dedicated/tags: [Flight client, JavaScript, gRPC, SQL, Flight SQL, client libraries]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-dedicated/reference/api/client-libraries/go/ - /influxdb/cloud-dedicated/reference/api/client-libraries/go/

View File

@ -18,9 +18,14 @@ influxdb/cloud-dedicated/tags: [write, line protocol]
Write data to {{% product-name %}} using the following tools and methods: Write data to {{% product-name %}} using the following tools and methods:
{{% warn %}} {{% note %}}
{{% api/cloud/v2-prefer %}}
{{% /warn %}} #### Choose the write endpoint for your workload
When bringing existing v1 write workloads, use the {{% product-name %}} HTTP API [`/write` endpoint](/influxdb/cloud-dedicated/guides/api-compatibility/v1/).
When creating new write workloads, use the HTTP API [`/api/v2/write` endpoint](/influxdb/cloud-dedicated/guides/api-compatibility/v2/).
{{% /note %}}
{{< children >}} {{< children >}}

View File

@ -41,12 +41,10 @@ for using Telegraf with {{< product-name >}}._
- [token](#token) - [token](#token)
- [organization](#organization) - [organization](#organization)
- [bucket](#bucket) - [bucket](#bucket)
- [Write to InfluxDB v1.x and {{< product-name >}}](#write-to-influxdb-v1x-and--product-name-) - [Write to InfluxDB v1.x and {{< product-name >}}](#write-to-influxdb-v1x-and-influxdb-cloud-dedicated)
- [Other Telegraf configuration options](#other-telegraf-configuration-options) - [Other Telegraf configuration options](#other-telegraf-configuration-options)
- [Start Telegraf](#start-telegraf) - [Start Telegraf](#start-telegraf)
<!-- /TOC -->
## Configure Telegraf input and output plugins ## Configure Telegraf input and output plugins
Configure Telegraf input and output plugins in the Telegraf configuration file (typically named `telegraf.conf`). Configure Telegraf input and output plugins in the Telegraf configuration file (typically named `telegraf.conf`).

View File

@ -45,7 +45,7 @@ To query data, use the _Flight+gRPC_ protocol or the InfluxDB v1 `/query` HTTP
- [Client libraries](#client-libraries) - [Client libraries](#client-libraries)
- [Query data](#query-data) - [Query data](#query-data)
- [Tools to execute queries](#tools-to-execute-queries) - [Tools to execute queries](#tools-to-execute-queries)
- [/api/v2/query not supported](#apiv2query-not-supported) - [Avoid using /api/v2/query](#avoid-using-apiv2query)
<!-- /TOC --> <!-- /TOC -->
@ -210,7 +210,12 @@ InfluxDB v3 provides the following protocols for executing a query:
{{% /note %}} {{% /note %}}
### /api/v2/query not supported {{% warn %}}
The `/api/v2/query` API endpoint and associated tooling aren't supported in {{% product-name %}}. #### Avoid using /api/v2/query
Avoid using the `/api/v2/query` API endpoint in {{% product-name %}} and associated tooling, such as the `influx query` CLI command and InfluxDB v2 client libraries.
You can't use SQL or InfluxQL with these tools.
{{% /warn %}}

View File

@ -183,7 +183,7 @@ as an evaluation or prototyping platform for InfluxDB Cloud Dedicated.
### Use the v3 lightweight client libraries ### Use the v3 lightweight client libraries
Use the InfluxDB [v3 lightweight client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) Use the InfluxDB [v3 lightweight client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/)
to help make your code for writing and querying cross-compatible with InfluxDB Cloud Serverless and Cloud Dedicated. to help make your code for writing and querying cross-compatible with InfluxDB Cloud Serverless, Cloud Dedicated, and Clustered.
You'll only need to change your InfluxDB connection credentials You'll only need to change your InfluxDB connection credentials
(host, database name, and token). (host, database name, and token).

View File

@ -9,7 +9,7 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
parent: Visualize data parent: Visualize data
name: Use Superset name: Use Superset
influxdb/cloud-serverless/tags: [query, flightsql, superset] influxdb/cloud-serverless/tags: [Flight client, query, flightsql, superset]
aliases: aliases:
- /influxdb/cloud-serverless/query-data/tools/superset/ - /influxdb/cloud-serverless/query-data/tools/superset/
- /influxdb/cloud-serverless/query-data/sql/execute-queries/superset/ - /influxdb/cloud-serverless/query-data/sql/execute-queries/superset/

View File

@ -8,7 +8,7 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
parent: Visualize data parent: Visualize data
name: Use Tableau name: Use Tableau
influxdb/cloud-serverless/tags: [query, flightsql, tableau, sql] influxdb/cloud-serverless/tags: [Flight client, query, flightsql, tableau, sql]
aliases: aliases:
- /influxdb/cloud-serverless/query-data/sql/execute-queries/tableau/ - /influxdb/cloud-serverless/query-data/sql/execute-queries/tableau/
metadata: [SQL only] metadata: [SQL only]

View File

@ -14,4 +14,13 @@ aliases:
Learn to query data stored in InfluxDB. Learn to query data stored in InfluxDB.
{{% note %}}
#### Choose the query method for your workload
- For new query workloads, use one of the many available [Flight clients](/influxdb/cloud-serverless/tags/flight-client/) and SQL or InfluxQL.
- [Use the HTTP API `/query` endpoint and InfluxQL](/influxdb/cloud-serverless/query-data/execute-queries/influxdb-v1-api/) when you bring existing v1 query workloads to {{% product-name %}}.
{{% /note %}}
{{< children >}} {{< children >}}

View File

@ -17,7 +17,7 @@ aliases:
Use tools and libraries to query data stored in an {{% product-name %}} bucket. Use tools and libraries to query data stored in an {{% product-name %}} bucket.
InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html). InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html).
HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in formatted as JSON. HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in JSON format.
{{% note %}} {{% note %}}
#### Map databases and retention policies to buckets #### Map databases and retention policies to buckets

View File

@ -12,7 +12,7 @@ menu:
name: Use Go name: Use Go
identifier: query-with-go identifier: query-with-go
metadata: [InfluxQL, SQL] metadata: [InfluxQL, SQL]
influxdb/cloud-serverless/tags: [query, flight, go, sql, influxql] influxdb/cloud-serverless/tags: [Flight client, query, flight, go, sql, influxql]
related: related:
- /influxdb/cloud-serverless/reference/client-libraries/v3/go/ - /influxdb/cloud-serverless/reference/client-libraries/v3/go/
- /influxdb/cloud-serverless/reference/sql/ - /influxdb/cloud-serverless/reference/sql/

View File

@ -11,7 +11,7 @@ menu:
parent: Use client libraries parent: Use client libraries
name: Use Python name: Use Python
identifier: query-with-python-sql identifier: query-with-python-sql
influxdb/cloud-serverless/tags: [query, flight, python, sql, influxql] influxdb/cloud-serverless/tags: [Flight client, query, flight, python, sql, influxql]
metadata: [SQL, InfluxQL] metadata: [SQL, InfluxQL]
aliases: aliases:
- /influxdb/cloud-serverless/query-data/execute-queries/flight-sql/python/ - /influxdb/cloud-serverless/query-data/execute-queries/flight-sql/python/

View File

@ -6,7 +6,7 @@ menu:
name: C# .NET name: C# .NET
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: csharp-flight-client identifier: csharp-flight-client
influxdb/cloud-serverless/tags: [C#, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, C#, gRPC, SQL, Flight SQL, client libraries]
aliases: aliases:
- /influxdb/cloud-serverless/reference/client-libraries/flight-sql/csharp-flightsql/ - /influxdb/cloud-serverless/reference/client-libraries/flight-sql/csharp-flightsql/
weight: 201 weight: 201

View File

@ -6,7 +6,7 @@ menu:
name: Go name: Go
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: go-flight-client identifier: go-flight-client
influxdb/cloud-serverless/tags: [Golang, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, Golang, gRPC, SQL, Flight SQL, client libraries]
related: related:
- /influxdb/cloud-serverless/reference/client-libraries/v3/go/ - /influxdb/cloud-serverless/reference/client-libraries/v3/go/
aliases: aliases:

View File

@ -6,7 +6,7 @@ menu:
name: Java Flight SQL name: Java Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: java-flightsql-client identifier: java-flightsql-client
influxdb/cloud-serverless/tags: [Java, gRPC, SQL, Flight SQL] influxdb/cloud-serverless/tags: [Flight client, Java, gRPC, SQL, Flight SQL]
weight: 201 weight: 201
related: related:
- /influxdb/cloud-serverless/reference/client-libraries/v3/java/ - /influxdb/cloud-serverless/reference/client-libraries/v3/java/

View File

@ -6,7 +6,7 @@ menu:
name: Python name: Python
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flight-client identifier: python-flight-client
influxdb/cloud-serverless/tags: [Python, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, Python, gRPC, SQL, Flight SQL, client libraries]
aliases: aliases:
- /influxdb/cloud-serverless/reference/client-libraries/flight-sql/python-flightsql/ - /influxdb/cloud-serverless/reference/client-libraries/flight-sql/python-flightsql/
weight: 201 weight: 201

View File

@ -6,7 +6,7 @@ menu:
name: Python Flight SQL name: Python Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flightsql-client identifier: python-flightsql-client
influxdb/cloud-serverless/tags: [Python, SQL, Flight SQL] influxdb/cloud-serverless/tags: [Flight client, Python, SQL, Flight SQL]
weight: 201 weight: 201
--- ---

View File

@ -9,6 +9,17 @@ menu:
name: v2 client libraries name: v2 client libraries
parent: Client libraries parent: Client libraries
influxdb/cloud-serverless/tags: [client libraries, API, developer tools] influxdb/cloud-serverless/tags: [client libraries, API, developer tools]
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
## Client libraries for InfluxDB 2.x and 1.8+ ## Client libraries for InfluxDB 2.x and 1.8+

View File

@ -9,9 +9,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Arduino name: Arduino
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Arduino is an open-source hardware and software platform used for building electronics projects. Arduino is an open-source hardware and software platform used for building electronics projects.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: C# name: C#
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-csharp
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
C# is a general-purpose object-oriented programming language. C# is a general-purpose object-oriented programming language.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Dart name: Dart
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-dart
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Dart is a programming language created for quick application development for both web and mobile apps. Dart is a programming language created for quick application development for both web and mobile apps.

View File

@ -9,21 +9,22 @@ menu:
parent: v2 client libraries parent: v2 client libraries
influxdb/cloud-serverless/tags: [client libraries, Go] influxdb/cloud-serverless/tags: [client libraries, Go]
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go) The [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go)
integrates with Go applications to write data to an {{% product-name %}} bucket. integrates with Go applications to write data to an {{% product-name %}} bucket.
{{% note %}}
### Use the InfluxDB v3 client library
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
Use the [InfluxDB v3 Go client library](/influxdb/cloud-serverless/reference/client-libraries/v3/go/)
to write and query data stored in {{% product-name %}}.
{{% /note %}}
This guide presumes some familiarity with Go and InfluxDB. This guide presumes some familiarity with Go and InfluxDB.
If just getting started, see [Get started with InfluxDB](/influxdb/cloud-serverless/get-started/). If just getting started, see [Get started with InfluxDB](/influxdb/cloud-serverless/get-started/).

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Java name: Java
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Java is one of the oldest and most popular class-based, object-oriented programming languages. Java is one of the oldest and most popular class-based, object-oriented programming languages.

View File

@ -12,28 +12,21 @@ menu:
influxdb/cloud-serverless/tags: [client libraries, JavaScript, NodeJS] influxdb/cloud-serverless/tags: [client libraries, JavaScript, NodeJS]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/js/ - /influxdb/cloud-serverless/reference/api/client-libraries/js/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster. for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [`influx3` data CLI](https://github.com/InfluxCommunity/influxdb3-python-cli)
- [InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-serverless/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-serverless/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-serverless/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-serverless/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
{{< children type="list">}} {{< children type="list">}}

View File

@ -16,28 +16,21 @@ aliases:
related: related:
- /influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/write/ - /influxdb/cloud-serverless/reference/client-libraries/v2/javascript/nodejs/write/
- /influxdb/cloud-serverless/api-guide/client-libraries/nodejs/query/ - /influxdb/cloud-serverless/api-guide/client-libraries/nodejs/query/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} bucket. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} bucket.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-serverless/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-serverless/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-serverless/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-serverless/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
This library supports both front-end and server-side environments and provides the following distributions: This library supports both front-end and server-side environments and provides the following distributions:
* ECMAScript modules (ESM) and CommonJS modules (CJS) * ECMAScript modules (ESM) and CommonJS modules (CJS)
* Bundled ESM * Bundled ESM

View File

@ -14,30 +14,22 @@ weight: 201
aliases: aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/ - /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/
- /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/query/ - /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/query/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
integrates with the InfluxDB v2 API to write data from Node.js and browser applications to {{% product-name %}}. integrates with the InfluxDB v2 API to write data from Node.js and browser applications to {{% product-name %}}.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-serverless/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-serverless/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-serverless/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-serverless/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Use the client library in a Node.js application ## Use the client library in a Node.js application
{{< children >}} {{< children >}}

View File

@ -10,28 +10,21 @@ influxdb/cloud-serverless/tags: [client libraries, JavaScript]
weight: 100 weight: 100
aliases: aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/install - /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/install
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
{{% note %}}
Install the Node.js JavaScript client library to write data to InfluxDB {{% product-name %}}. Install the Node.js JavaScript client library to write data to InfluxDB {{% product-name %}}.
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/)
- [Flight clients](/influxdb/cloud-serverless/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/cloud-serverless/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/cloud-serverless/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/cloud-serverless/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Install Node.js ## Install Node.js
1. Install [Node.js](https://nodejs.org/en/download/package-manager/). 1. Install [Node.js](https://nodejs.org/en/download/package-manager/).

View File

@ -13,6 +13,17 @@ aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/write/ - /influxdb/cloud-serverless/reference/api/client-libraries/nodejs/write/
related: related:
- /influxdb/cloud-serverless/write-data/troubleshoot/ - /influxdb/cloud-serverless/write-data/troubleshoot/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Kotlin name: Kotlin
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM). Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM).

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: PHP name: PHP
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-php
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
PHP is a popular general-purpose scripting language primarily used for web development. PHP is a popular general-purpose scripting language primarily used for web development.

View File

@ -14,6 +14,17 @@ aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/python-cl-guide/ - /influxdb/cloud-serverless/reference/api/client-libraries/python-cl-guide/
- /influxdb/cloud-serverless/tools/client-libraries/python/ - /influxdb/cloud-serverless/tools/client-libraries/python/
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB Python client library](https://github.com/influxdata/influxdb-client-python) to integrate InfluxDB into Python scripts and applications. Use the [InfluxDB Python client library](https://github.com/influxdata/influxdb-client-python) to integrate InfluxDB into Python scripts and applications.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: R name: R
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-r
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
R is a programming language and software environment for statistical analysis, reporting, and graphical representation primarily used in data science. R is a programming language and software environment for statistical analysis, reporting, and graphical representation primarily used in data science.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Ruby name: Ruby
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-ruby
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Ruby is a highly flexible, open-source, object-oriented programming language. Ruby is a highly flexible, open-source, object-oriented programming language.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Scala name: Scala
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-scala
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Scala is a general-purpose programming language that supports both object-oriented and functional programming. Scala is a general-purpose programming language that supports both object-oriented and functional programming.

View File

@ -8,9 +8,18 @@ menu:
influxdb_cloud_serverless: influxdb_cloud_serverless:
name: Swift name: Swift
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-swift
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/cloud-serverless/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/cloud-serverless/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/cloud-serverless/write-data/) and [**querying**](/influxdb/cloud-serverless/query-data/) data.
[**Compare tools you can use**](/influxdb/cloud-serverless/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Swift is a programming language created by Apple for building applications across multiple Apple platforms. Swift is a programming language created by Apple for building applications across multiple Apple platforms.

View File

@ -9,7 +9,7 @@ menu:
name: C# .NET name: C# .NET
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-csharp identifier: influxdb3-csharp
influxdb/cloud-serverless/tags: [C#, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, C#, gRPC, SQL, Flight SQL, client libraries]
weight: 201 weight: 201
--- ---

View File

@ -7,7 +7,7 @@ menu:
name: Go name: Go
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-go identifier: influxdb3-go
influxdb/cloud-serverless/tags: [go, InfluxQL, SQL, Flight, client libraries] influxdb/cloud-serverless/tags: [Flight client, go, InfluxQL, SQL, Flight, client libraries]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/go/ - /influxdb/cloud-serverless/reference/api/client-libraries/go/

View File

@ -9,7 +9,7 @@ menu:
name: Java name: Java
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-java identifier: influxdb3-java
influxdb/cloud-serverless/tags: [Java, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, Java, gRPC, SQL, Flight SQL, client libraries]
weight: 201 weight: 201
aliases: aliases:
- /cloud-serverless/query-data/sql/execute-queries/java/ - /cloud-serverless/query-data/sql/execute-queries/java/

View File

@ -9,7 +9,7 @@ menu:
name: JavaScript name: JavaScript
parent: v3 client libraries parent: v3 client libraries
identifier: influxdb3-js identifier: influxdb3-js
influxdb/cloud-serverless/tags: [JavaScript, gRPC, SQL, Flight SQL, client libraries] influxdb/cloud-serverless/tags: [Flight client, JavaScript, gRPC, SQL, Flight SQL, client libraries]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/cloud-serverless/reference/api/client-libraries/go/ - /influxdb/cloud-serverless/reference/api/client-libraries/go/

View File

@ -16,4 +16,15 @@ influxdb/cloud-serverless/tags: [write, line protocol]
# - /resources/videos/ingest-data/, How to Ingest Data in InfluxDB (Video) # - /resources/videos/ingest-data/, How to Ingest Data in InfluxDB (Video)
--- ---
Write data to {{% product-name %}} using the following tools and methods:
{{% note %}}
#### Choose the write endpoint for your workload
When bringing existing v1 write workloads, use the {{% product-name %}} HTTP API [`/write` endpoint](/influxdb/cloud-serverless/guides/api-compatibility/v1/).
When creating new write workloads, use the HTTP API [`/api/v2/write` endpoint](/influxdb/cloud-serverless/guides/api-compatibility/v2/).
{{% /note %}}
{{< children >}} {{< children >}}

View File

@ -41,11 +41,9 @@ for using Telegraf with {{< product-name >}}._
- [token](#token) - [token](#token)
- [organization](#organization) - [organization](#organization)
- [bucket](#bucket) - [bucket](#bucket)
- [Write to InfluxDB v1.x and {{< product-name >}}](#write-to-influxdb-v1x-and--product-name-) - [Write to InfluxDB v1.x and {{< product-name >}}](#write-to-influxdb-v1x-and-influxdb-cloud-serverless)
- [Start Telegraf](#start-telegraf) - [Start Telegraf](#start-telegraf)
<!-- /TOC -->
## Configure Telegraf input and output plugins ## Configure Telegraf input and output plugins
Configure Telegraf input and output plugins in the Telegraf configuration file (typically named `telegraf.conf`). Configure Telegraf input and output plugins in the Telegraf configuration file (typically named `telegraf.conf`).

View File

@ -92,18 +92,18 @@ The following definitions are important to understand when using InfluxDB:
The following table compares tools that you can use to interact with {{% product-name %}}. The following table compares tools that you can use to interact with {{% product-name %}}.
This tutorial covers many of the recommended tools. This tutorial covers many of the recommended tools.
| Tool | Administration | Write | Query | | Tool | Administration | Write | Query |
|:--------------------------------- |:---------------:|:-------:|:-------:| |:----------------------------------------------------------------------------------------------------|:------------------------:|:------------------------:|:------------------------:|
| [Chronograf](/chronograf/v1/) | - | - | **{{< icon "check" >}}** | | [Chronograf](/chronograf/v1/) | - | - | **{{< icon "check" >}}** |
| <span style="color:gray">`influx` CLI</span> | - | - | - | | <span style="color:gray">`influx` CLI</span> | - | - | - |
| [`influx3` data CLI](#influx3-data-cli){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [`influx3` data CLI](#influx3-data-cli){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [`influxctl` admin CLI](#influxctl-admin-cli) | **{{< icon "check" >}}** | - | - | | [`influxctl` admin CLI](#influxctl-admin-cli) | **{{< icon "check" >}}** | - | - |
| [InfluxDB HTTP API](#influxdb-http-api) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB HTTP API](#influxdb-http-api) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| <span style="color:gray">InfluxDB user interface</span> | - | - | - | | <span style="color:gray">InfluxDB user interface</span> | - | - | - |
| [InfluxDB v3 client libraries](#influxdb-v3-client-libraries){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB v3 client libraries](#influxdb-v3-client-libraries){{< req text="\* " color="magenta" >}} | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [InfluxDB v1 client libraries](/influxdb/clustered/reference/client-libraries/v1/) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | [InfluxDB v1 client libraries](/influxdb/clustered/reference/client-libraries/v1/) | - | **{{< icon "check" >}}** | **{{< icon "check" >}}** |
| [InfluxDB v2 client libraries](/influxdb/clustered/reference/client-libraries/v2/) | **{{< icon "check" >}}** | **{{< icon "check" >}}** | - | | [InfluxDB v2 client libraries](/influxdb/clustered/reference/client-libraries/v2/) | - | **{{< icon "check" >}}** | - |
| Telegraf | - | **{{< icon "check" >}}** | - | | Telegraf | - | **{{< icon "check" >}}** | - |
| **Third-party tools** | | **Third-party tools** |
| Flight SQL clients | - | - | **{{< icon "check" >}}** | | Flight SQL clients | - | - | **{{< icon "check" >}}** |
| [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/) | - | - | **{{< icon "check" >}}** | | [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/) | - | - | **{{< icon "check" >}}** |

View File

@ -44,7 +44,7 @@ For help finding the best workflow for your situation, [contact Support](mailto:
- [Client libraries](#client-libraries) - [Client libraries](#client-libraries)
- [Query data](#query-data) - [Query data](#query-data)
- [Tools to execute queries](#tools-to-execute-queries) - [Tools to execute queries](#tools-to-execute-queries)
- [/api/v2/query not supported](#apiv2query-not-supported) - [/api/v2/query not supported](#apiv2query-not-supported)
<!-- /TOC --> <!-- /TOC -->
@ -237,7 +237,12 @@ To setup and start using client libraries, see the [Get started](/influxdb/clust
{{% /note %}} {{% /note %}}
### /api/v2/query not supported {{% warn %}}
The `/api/v2/query` API endpoint and associated tooling aren't supported in {{% product-name %}}. #### /api/v2/query not supported
The InfluxDB API `/api/v2/query` endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
The `/api/v2/query` API endpoint and associated tooling, such as the `influx` CLI and InfluxDB v2 client libraries, **arent** supported in {{% product-name %}}.
{{% /warn %}}

View File

@ -10,7 +10,7 @@ menu:
parent: Visualize data parent: Visualize data
name: Use Superset name: Use Superset
identifier: query-with-superset identifier: query-with-superset
influxdb/clustered/tags: [query, flightsql, superset] influxdb/clustered/tags: [Flight client, query, flightsql, superset]
aliases: aliases:
- /influxdb/clustered/query-data/execute-queries/flight-sql/superset/ - /influxdb/clustered/query-data/execute-queries/flight-sql/superset/
- /influxdb/clustered/query-data/tools/superset/ - /influxdb/clustered/query-data/tools/superset/

View File

@ -10,7 +10,7 @@ menu:
parent: Visualize data parent: Visualize data
name: Use Tableau name: Use Tableau
identifier: query-with-tableau identifier: query-with-tableau
influxdb/clustered/tags: [query, flightsql, tableau, sql] influxdb/clustered/tags: [Flight client, query, flightsql, tableau, sql]
aliases: aliases:
- /influxdb/clustered/query-data/execute-queries/flight-sql/tableau/ - /influxdb/clustered/query-data/execute-queries/flight-sql/tableau/
- /influxdb/clustered/query-data/tools/tableau/ - /influxdb/clustered/query-data/tools/tableau/

View File

@ -12,4 +12,13 @@ influxdb/clustered/tags: [query]
Learn to query data stored in InfluxDB. Learn to query data stored in InfluxDB.
{{% note %}}
#### Choose the query method for your workload
- For new query workloads, use one of the many available [Flight clients](/influxdb/clustered/tags/flight-client/) and SQL or InfluxQL.
- [Use the HTTP API `/query` endpoint and InfluxQL](/influxdb/clustered/query-data/execute-queries/influxdb-v1-api/) when you bring existing v1 query workloads to {{% product-name %}}.
{{% /note %}}
{{< children >}} {{< children >}}

View File

@ -17,7 +17,7 @@ aliases:
Use tools and libraries to query data stored in an {{% product-name %}} bucket. Use tools and libraries to query data stored in an {{% product-name %}} bucket.
InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html). InfluxDB client libraries and Flight clients can use the Flight+gRPC protocol to query with SQL or InfluxQL and retrieve data in the [Arrow in-memory format](https://arrow.apache.org/docs/format/Columnar.html).
HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in formatted as JSON. HTTP clients can use the InfluxDB v1 `/query` REST API to query with InfluxQL and retrieve data in JSON format.
Learn how to connect to InfluxDB and query your data using the following tools: Learn how to connect to InfluxDB and query your data using the following tools:

View File

@ -12,7 +12,7 @@ menu:
name: Use Go name: Use Go
identifier: query-with-go identifier: query-with-go
metadata: [InfluxQL, SQL] metadata: [InfluxQL, SQL]
influxdb/clustered/tags: [query, flight, go, sql, influxql] influxdb/clustered/tags: [Flight client, query, flight, go, sql, influxql]
related: related:
- /influxdb/clustered/reference/client-libraries/v3/go/ - /influxdb/clustered/reference/client-libraries/v3/go/
- /influxdb/clustered/reference/sql/ - /influxdb/clustered/reference/sql/

View File

@ -11,7 +11,7 @@ menu:
parent: Use client libraries parent: Use client libraries
name: Use Python name: Use Python
identifier: query-with-python-sql identifier: query-with-python-sql
influxdb/clustered/tags: [query, flight, python, sql, influxql] influxdb/clustered/tags: [Flight client, query, flight, python, sql, influxql]
related: related:
- /influxdb/clustered/reference/client-libraries/v3/python/ - /influxdb/clustered/reference/client-libraries/v3/python/
- /influxdb/clustered/process-data/tools/pandas/ - /influxdb/clustered/process-data/tools/pandas/

View File

@ -13,7 +13,7 @@ influxdb/clustered/tags: [cli]
--- ---
The `influxctl` command line interface (CLI) performs administrative tasks in The `influxctl` command line interface (CLI) performs administrative tasks in
an cluster. a cluster.
- [Usage](#usage) - [Usage](#usage)
- [Commands](#commands) - [Commands](#commands)

View File

@ -6,7 +6,7 @@ menu:
name: C# .NET name: C# .NET
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: csharp-flight-client identifier: csharp-flight-client
influxdb/clustered/tags: [C#, gRPC, SQL, Flight SQL, client libraries] influxdb/clustered/tags: [Flight client, C#, gRPC, SQL, Flight SQL, client libraries]
aliases: aliases:
- /influxdb/clustered/reference/client-libraries/flight-sql/csharp-flightsql/ - /influxdb/clustered/reference/client-libraries/flight-sql/csharp-flightsql/
weight: 201 weight: 201

View File

@ -6,7 +6,7 @@ menu:
name: Go name: Go
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: go-flight-client identifier: go-flight-client
influxdb/clustered/tags: [Go, gRPC, SQL, Flight SQL, client libraries] influxdb/clustered/tags: [Flight client, Go, gRPC, SQL, Flight SQL, client libraries]
related: related:
- /influxdb/clustered/reference/client-libraries/v3/go/ - /influxdb/clustered/reference/client-libraries/v3/go/
aliases: aliases:

View File

@ -6,7 +6,7 @@ menu:
name: Java Flight SQL name: Java Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: java-flightsql-client identifier: java-flightsql-client
influxdb/clustered/tags: [Java, gRPC, SQL, Flight SQL] influxdb/clustered/tags: [Flight client, Java, gRPC, SQL, Flight SQL]
weight: 201 weight: 201
related: related:
- /influxdb/clustered/reference/client-libraries/v3/java/ - /influxdb/clustered/reference/client-libraries/v3/java/

View File

@ -6,7 +6,7 @@ menu:
name: Python name: Python
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flight-client identifier: python-flight-client
influxdb/clustered/tags: [Python, gRPC, SQL, Flight SQL, client libraries] influxdb/clustered/tags: [Flight client, Python, gRPC, SQL, Flight SQL, client libraries]
aliases: aliases:
- /influxdb/clustered/reference/client-libraries/flight-sql/python-flightsql/ - /influxdb/clustered/reference/client-libraries/flight-sql/python-flightsql/
weight: 201 weight: 201

View File

@ -8,7 +8,7 @@ menu:
name: Python Flight SQL name: Python Flight SQL
parent: Arrow Flight clients parent: Arrow Flight clients
identifier: python-flightsql-client identifier: python-flightsql-client
influxdb/clustered/tags: [Python, SQL, Flight SQL] influxdb/clustered/tags: [Flight client, Python, SQL, Flight SQL]
weight: 201 weight: 201
--- ---

View File

@ -9,6 +9,17 @@ menu:
name: v2 client libraries name: v2 client libraries
parent: Client libraries parent: Client libraries
influxdb/clustered/tags: [client libraries, API, developer tools] influxdb/clustered/tags: [client libraries, API, developer tools]
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
## Client libraries for InfluxDB 2.x and 1.8+ ## Client libraries for InfluxDB 2.x and 1.8+
@ -20,22 +31,4 @@ Functionality varies among client libraries.
InfluxDB client libraries are maintained by the InfluxDB community. InfluxDB client libraries are maintained by the InfluxDB community.
For specifics about a client library, see the library's GitHub repository. For specifics about a client library, see the library's GitHub repository.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/)
- [Flight clients](/influxdb/clustered/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/clustered/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/clustered/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
{{< children type="list" depth="999" >}} {{< children type="list" depth="999" >}}

View File

@ -9,9 +9,18 @@ menu:
influxdb_clustered: influxdb_clustered:
name: Arduino name: Arduino
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Arduino is an open-source hardware and software platform used for building electronics projects. Arduino is an open-source hardware and software platform used for building electronics projects.

View File

@ -8,9 +8,18 @@ menu:
influxdb_clustered: influxdb_clustered:
name: C# name: C#
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-csharp
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
C# is a general-purpose object-oriented programming language. C# is a general-purpose object-oriented programming language.

View File

@ -8,9 +8,18 @@ menu:
influxdb_clustered: influxdb_clustered:
name: Dart name: Dart
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-dart
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Dart is a programming language created for quick application development for both web and mobile apps. Dart is a programming language created for quick application development for both web and mobile apps.

View File

@ -9,20 +9,21 @@ menu:
parent: v2 client libraries parent: v2 client libraries
influxdb/clustered/tags: [client libraries, Go] influxdb/clustered/tags: [client libraries, Go]
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go) to write data to an {{% product-name %}} database. Use the [InfluxDB Go client library](https://github.com/influxdata/influxdb-client-go) to write data to an {{% product-name %}} database.
{{% note %}}
### Use the InfluxDB v3 client library
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
Use the [InfluxDB v3 Go client library](/influxdb/clustered/reference/client-libraries/v3/go/)
to write and query data stored in {{% product-name %}}.
{{% /note %}}
This guide presumes some familiarity with Go and InfluxDB. This guide presumes some familiarity with Go and InfluxDB.
If just getting started, see [Get started with InfluxDB](/influxdb/clustered/get-started/). If just getting started, see [Get started with InfluxDB](/influxdb/clustered/get-started/).

View File

@ -8,9 +8,18 @@ menu:
influxdb_clustered: influxdb_clustered:
name: Java name: Java
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Java is one of the oldest and most popular class-based, object-oriented programming languages. Java is one of the oldest and most popular class-based, object-oriented programming languages.

View File

@ -12,28 +12,21 @@ menu:
influxdb/clustered/tags: [client libraries, JavaScript, NodeJS] influxdb/clustered/tags: [client libraries, JavaScript, NodeJS]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/clustered/reference/api/client-libraries/js/ - /influxdb/clustered/reference/api/client-libraries/js/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster. for Node.js and browsers integrates with the InfluxDB v2 API to write data to an {{% product-name omit=" Clustered" %}} cluster.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name omit=" Clustered" %}} cluster.
{{% product-name %}} supports many different tools for querying data, including:
- [`influx3` data CLI](https://github.com/InfluxCommunity/influxdb3-python-cli)
- [InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/)
- [Flight clients](/influxdb/clustered/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/clustered/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/clustered/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
{{< children depth="999" >}} {{< children depth="999" >}}

View File

@ -16,28 +16,21 @@ aliases:
related: related:
- /influxdb/clustered/reference/client-libraries/v2/javascript/nodejs/write/ - /influxdb/clustered/reference/client-libraries/v2/javascript/nodejs/write/
- /influxdb/clustered/api-guide/client-libraries/nodejs/query/ - /influxdb/clustered/api-guide/client-libraries/nodejs/query/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} database. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) in browsers and front-end clients to write data to an {{% product-name %}} database.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/)
- [Flight clients](/influxdb/clustered/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/clustered/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/clustered/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
This library supports both front-end and server-side environments and provides the following distributions: This library supports both front-end and server-side environments and provides the following distributions:
- ECMAScript modules (ESM) and CommonJS modules (CJS) - ECMAScript modules (ESM) and CommonJS modules (CJS)

View File

@ -12,30 +12,23 @@ menu:
influxdb/clustered/tags: [client libraries, JavaScript, NodeJS] influxdb/clustered/tags: [client libraries, JavaScript, NodeJS]
weight: 201 weight: 201
aliases: aliases:
- /influxdb/clustered/reference/api/client-libraries/nodejs/ - /influxdb/clustered/reference/api/client-libraries/nodejs/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) The [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js)
integrates with the InfluxDB v2 API to write data from Node.js and browser applications to an {{% product-name %}} database. integrates with the InfluxDB v2 API to write data from Node.js and browser applications to an {{% product-name %}} database.
{{% note %}}
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/)
- [Flight clients](/influxdb/clustered/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/clustered/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/clustered/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Use the client library in a Node.js application ## Use the client library in a Node.js application
{{< children >}} {{< children >}}

View File

@ -10,28 +10,19 @@ influxdb/clustered/tags: [client libraries, JavaScript]
weight: 100 weight: 100
aliases: aliases:
- /influxdb/clustered/reference/api/client-libraries/nodejs/install - /influxdb/clustered/reference/api/client-libraries/nodejs/install
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
{{% note %}}
Install the Node.js JavaScript client library to write data to an {{% product-name %}} database.
### Tools to execute queries
InfluxDB v2 client libraries use the InfluxDB API `/api/v2/query` endpoint.
This endpoint can't query an {{% product-name %}} database.
{{% product-name %}} supports many different tools for querying data, including:
- [InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/)
- [Flight clients](/influxdb/clustered/reference/client-libraries/flight-sql/)
- [Superset](/influxdb/clustered/query-data/sql/execute-queries/superset/)
- [Grafana](/influxdb/clustered/query-data/sql/execute-queries/grafana/)
- [InfluxQL with InfluxDB v1 HTTP API](/influxdb/clustered/primers/api/v1/#query-using-the-v1-api)
- [Chronograf](/chronograf/v1/)
{{% /note %}}
## Install Node.js ## Install Node.js
1. Install [Node.js](https://nodejs.org/en/download/package-manager/). 1. Install [Node.js](https://nodejs.org/en/download/package-manager/).

View File

@ -13,6 +13,17 @@ aliases:
- /influxdb/clustered/reference/api/client-libraries/nodejs/write - /influxdb/clustered/reference/api/client-libraries/nodejs/write
related: related:
- /influxdb/clustered/write-data/troubleshoot/ - /influxdb/clustered/write-data/troubleshoot/
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB. Use the [InfluxDB v2 JavaScript client library](https://github.com/influxdata/influxdb-client-js) to write data from a Node.js environment to InfluxDB.

View File

@ -8,9 +8,18 @@ menu:
influxdb_clustered: influxdb_clustered:
name: Kotlin name: Kotlin
parent: v2 client libraries parent: v2 client libraries
params:
url: https://github.com/influxdata/influxdb-client-java/tree/master/client-kotlin
weight: 201 weight: 201
prepend:
block: warn
content: |
### Use InfluxDB v3 clients
The `/api/v2/query` API endpoint and associated tooling, such as InfluxDB v2 client libraries and the `influx` CLI, **can't** query an {{% product-name omit=" Clustered" %}} cluster.
[InfluxDB v3 client libraries](/influxdb/clustered/reference/client-libraries/v3/) and [Flight SQL clients](/influxdb/clustered/reference/client-libraries/) are available that integrate with your code to write and query data stored in {{% product-name %}}.
InfluxDB v3 supports many different tools for [**writing**](/influxdb/clustered/write-data/) and [**querying**](/influxdb/clustered/query-data/) data.
[**Compare tools you can use**](/influxdb/clustered/get-started/#tools-to-use) to interact with {{% product-name %}}.
--- ---
Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM). Kotlin is an open-source programming language that runs on the Java Virtual Machine (JVM).

Some files were not shown because too many files have changed in this diff Show More