4.9 KiB
title | seotitle | description | menu | weight | related | metadata | related | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Use Chronograf | Use Chronograf with InfluxDB Cloud Serverless | Chronograf is a data visualization and dashboarding tool designed to visualize data in InfluxDB 1.x. Learn how to use Chronograf with InfluxDB Cloud Serverless. |
|
202 |
|
|
|
Chronograf is a data visualization and dashboarding tool designed to visualize data in InfluxDB 1.x using the InfluxQL query language. This page walks through how to use Chronograf with {{% product-name %}}.
Download and install Chronograf
If you haven't already, download and install Chronograf.
Create an InfluxDB connection
-
In Chronograf, click Configuration in the left navigation bar, and then click {{< icon "plus" >}} Add Connection.
-
Enter your {{% product-name %}} connection credentials:
-
Connection URL: {{% product-name %}} region URL
https://{{< influxdb/host >}}
-
Connection Name: Name to uniquely identify this connection configuration
-
Username: Arbitrary string (ignored, but cannot be empty)
-
Password: InfluxDB API token with read permissions on the bucket you want to query
-
Telegraf Database Name: InfluxDB bucket Chronograf uses to populate parts of the application, including the Host List page (default is
telegraf
) -
Default Retention Policy: Default retention policy (leave blank)
[!Note]
DBRPs map to InfluxDB buckets
In {{% product-name %}}, database and retention-policy (DBRP) combinations are mapped to buckets using the
database-name/retention-policy
naming convention or using manually created DBRP mappings. DBRP mappings are required to query InfluxDB Cloud using InfluxQL.For information, see Create DBRP mappings.
-
-
Click Add Connection.
-
Select the dashboards you would like to create, and then click Next.
-
To configure a Kapacitor connection, provide the necessary credentials, and then click Continue. Otherwise, click Skip.
-
Click Finish.
Query data in the Data Explorer
- In Chronograf, click {{< icon "graph" "v2" >}} Explore in the left navigation bar.
- Build and submit InfluxQL queries.
[!Note]
Schema information is not available
{{% product-name %}} currently offers limited support of InfluxQL metaqueries, so schema information may not be available in the Data Explorer. This limits the Data Explorer's query building functionality and requires you to build queries manually using fully-qualified measurements in the
FROM
clause. For example:-- Fully-qualified measurement SELECT * FROM "db-name"."rp-name"."measurement-name" -- Fully-qualified measurement shorthand (use the default retention policy) SELECT * FROM "db-name".."measurement-name"
For more information about available InfluxQL functionality, see InfluxQL feature support.
Important notes
No administrative functionality
Chronograf cannot be used for administrative tasks in {{% product-name %}}. For example, you cannot do the following:
- Define databases
- Modify retention policies
- Add users
- Kill queries
When connected to an {{% product-name %}} bucket, functionality in the {{< icon "crown" >}} InfluxDB Admin section of Chronograf is disabled.
To complete administrative tasks, use the following:
- InfluxDB user interface (UI)
- InfluxDB CLI
Limited InfluxQL feature support
InfluxQL is being rearchitected to work with the InfluxDB 3 storage engine. This process is ongoing and some InfluxQL features are still being implemented. For information about the current implementation status of InfluxQL features, see InfluxQL feature support.