diff --git a/content/v2.0/cloud/pricing-plans.md b/content/v2.0/cloud/pricing-plans.md index 7e2156751..528cc8be4 100644 --- a/content/v2.0/cloud/pricing-plans.md +++ b/content/v2.0/cloud/pricing-plans.md @@ -25,11 +25,11 @@ Use this plan as much and as long as you want within the Free Plan rate limits: #### Free Plan rate limits -- **Writes:** 3MB every 5 minutes -- **Query:** 30MB every 5 minutes -- **Storage:** 72-hour data retention +- **Writes:** 5.1MB every 5 minutes +- **Query:** 300MB every 5 minutes +- **Storage:** 30-day data retention {{% note %}} -Data retention is determined by the time at which data is written to InfluxDB; not the timestamp of the data point. You can write data with timestamps older than 72 hours, but 72 hours after that data is written, it is evicted. +Data retention is determined by the time at which data is written to InfluxDB; not the timestamp of the data point. You can write data with timestamps older than 30 days, but 30 days after that data is written, it is evicted. {{% /note %}} - **Series cardinality:** 10,000 - **Create:** diff --git a/content/v2.0/visualize-data/other-tools/_index.md b/content/v2.0/visualize-data/other-tools/_index.md new file mode 100644 index 000000000..55be4b1d4 --- /dev/null +++ b/content/v2.0/visualize-data/other-tools/_index.md @@ -0,0 +1,16 @@ +--- +title: Other visualization tools +description: > + Use visualization tools other than the InfluxDB user interface to visualize + time series data stored in InfluxDB. +menu: + v2_0: + name: Other visualization tools + parent: Visualize data +weight: 109 +--- + +Use visualization tools other than the InfluxDB user interface to query and +visualize time series data stored in InfluxDB. + +{{< children >}} diff --git a/content/v2.0/visualize-data/other-tools/grafana.md b/content/v2.0/visualize-data/other-tools/grafana.md new file mode 100644 index 000000000..1053e6318 --- /dev/null +++ b/content/v2.0/visualize-data/other-tools/grafana.md @@ -0,0 +1,75 @@ +--- +title: Use Grafana with InfluxDB 2.0 +description: > + Use the Grafana Flux datasource plugin to connect Grafana to InfluxDB 2.0 or + InfluxDB Cloud 2.0. +menu: + v2_0: + name: Use Grafana + parent: Other visualization tools +weight: 201 +v2.0/tags: [grafana] +--- + +Use the [Grafana Flux Data Source plugin](https://grafana.com/grafana/plugins/grafana-influxdb-flux-datasource) +to connect Grafana to InfluxDB 2.0 or InfluxDB Cloud 2.0. + +{{% warn %}} +The **Grafana Flux Data Source plugin** is currently in beta. +{{% /warn %}} + +1. [Start InfluxDB 2.0 OSS](/v2.0/get-started/) OR + [sign up for {{< cloud-name >}}](/v2.0/cloud/get-started/). +2. [Download and install Grafana](https://grafana.com/grafana/download). +3. Install the **Grafana Flux Data Source plugin** manually or with `grafana-cli` (installed + with Grafana). + + {{< tabs-wrapper >}} + {{% tabs %}} +[Install with Grafana CLI](#) +[Install manually](#) + {{% /tabs %}} + {{% tab-content %}} +```sh +grafana-cli plugins install grafana-influxdb-flux-datasource +``` + {{% /tab-content %}} + {{% tab-content %}} + Download the [latest release](https://github.com/grafana/influxdb-flux-datasource/releases) + of the Flux Datasource Plugin into the Grafana `data/plugins` directory and unzip it. + {{% /tab-content %}} + {{< /tabs-wrapper >}} + +4. [Start Grafana](https://grafana.com/docs/grafana/latest/installation/) and + visit `http://localhost:3000` in your browser. +5. In the left navigation of the Grafana user interface (UI), hover over the gear + icon to expand the **Configuration** section. Click **Data Sources**. +6. Click **Add data source**. +7. Select **Flux (InfluxDB) [BETA]** from the list of available plugins. + +## Configure your InfluxDB 2.0 connection +1. Enter a name for your Flux datasource. +2. Under **HTTP**, enter your **InfluxDB URL**. + If running InfluxDB 2.0 locally, use `http://localhost:9999`. + If connecting to an {{< cloud-name "short" >}} instance, see [InfluxDB Cloud URLs](/v2.0/cloud/urls/) + for information about what URL to use. +3. Under **Auth**, select **With Credentials**. +4. Under **InfluxDB 2.0.0 Details**, enter your **organization name** _or_ **organization ID**, + **default bucket**, and **authentication token**. + + _For information about retrieving your organization name and ID, see + [View organizations](/v2.0/organizations/view-orgs/). + For information about viewing your authentication token, see + [View tokens](/v2.0/security/tokens/view-tokens/)._ + + {{< img-hd src="/img/2-0-visualize-grafana-flux-plugin.png" />}} + +5. Click **Save & Test**. Grafana attempts to connect to the InfluxDB 2.0 datasource + and returns the results of the test. + +## Query and visualize data +With your InfluxDB connection configured, use Grafana and Flux to query and +visualize time series data stored in InfluxDB 2.0 or {{< cloud-name >}}. + +[Grafana documentation](https://grafana.com/docs/grafana/latest/). +If you're just learning Flux, see [Getting started with Flux](/v2.0/query-data/get-started/). diff --git a/static/img/2-0-visualize-grafana-flux-plugin.png b/static/img/2-0-visualize-grafana-flux-plugin.png new file mode 100644 index 000000000..f6748d90a Binary files /dev/null and b/static/img/2-0-visualize-grafana-flux-plugin.png differ