Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions docs/integrate/cluvio/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,19 @@ dashboards.

## Prerequisites

* [CrateDB Cloud cluster up and running](https://crate.io/docs/cloud/en/latest/tutorials/cluster-deployment/index.html)
* [Cluvio account](https://www.cluvio.com/)


## Set up CrateDB

Deploying a CrateDB cloud cluster has never been easier, simply follow our tutorial [here](https://crate.io/docs/cloud/en/latest/tutorials/cluster-deployment/stripe.html#cluster-deployment-stripe) and you can have a cluster up and running within minutes. We offer a CRFREE plan which offers up to 2 vCPUs, 2 GiB of memory, and 8 GiB of storage completely for free. Ideal for small-scale testing and evaluation purposes.
Deploying a CrateDB cloud cluster has never been easier, set up a [CrateDB Cloud]
cluster within minutes. We offer a free plan with up to 2 vCPUs, 2 GiB of memory,
and 8 GiB of storage.

### Load data into CrateDB

In this usage guide, you use two tables—[flights](http://stat-computing.org/dataexpo/2009) and [airports](https://openflights.org/data.php)—from January 2008.
In this usage guide, you use two tables—[flights](http://stat-computing.org/dataexpo/2009)
and [airports](https://openflights.org/data.php)—from January 2008.

#### Create tables

Expand Down Expand Up @@ -72,7 +74,7 @@ CREATE TABLE flights (
);
```

This creates 2 empty tables in your database. `flights` and `airports`, with the correct data types of the columns.
This creates 2 empty tables in your database. `flights` and `airports`, with the correct data types of the columns.

#### Import data

Expand Down Expand Up @@ -135,7 +137,7 @@ SELECT
AVG(arr_delay) AS "Average Arrival Delay"
FROM doc.flights
ORDER BY 1
```
```
This is a pretty simple query that counts the number of rows in the `flights` as the number of flights, and averages values in the `dep_delay` and `arr_delay` for the departure delays and arrival delays respectively.

![Number of flights and delays|690x117](https://us1.discourse-cdn.com/flex020/uploads/crate/original/2X/4/4841404a21b56cb1e5b92736af8b79656b0912ec.png){width=800px}
Expand All @@ -160,12 +162,12 @@ In this one, it's suitable to use pie chart to better see the distribution. We a

## Filters

[Filters](https://app.cluvio.com/settings/filters) offer a great way to quickly specify the condition under which you want to display your data.
[Filters](https://app.cluvio.com/settings/filters) offer a great way to quickly specify the condition under which you want to display your data.

In the `flights` table in `day_of_week` column 1 represents Monday, 2 means Tuesday, etc. Using that, we can create a filter to display data for a specific day of the week without changing the SQL in our reports.

```sql
VALUES
VALUES
(1, 'Monday'),
(2, 'Tuesday'),
(3, 'Wednesday'),
Expand Down
6 changes: 3 additions & 3 deletions docs/integrate/grafana/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ to CrateDB, which is purpose-built for monitoring large volumes of machine
data in real-time.

For the purposes of this guide, it is assumed that you
have a cluster up and running and can access the Console. If not, please refer
to the {ref}`tutorial on how to deploy a cluster for the first time
<cluster-deployment>`.
have a CrateDB cluster up and running and can access the Console. If not, please
set up a free [CrateDB Cloud cluster].

(grafana-load-dataset)=

Expand Down Expand Up @@ -222,3 +221,4 @@ out more, refer to the [Grafana documentation].
[grafana]: https://www.grafana.com/
[grafana documentation]: https://grafana.com/docs/grafana/latest/?pg=oss-graf&plcmt=quick-links
[grafana panels]: https://grafana.com/docs/grafana/latest/panels/
[CrateDB Cloud cluster]: https://console.cratedb.cloud
8 changes: 4 additions & 4 deletions docs/integrate/metabase/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ tool that unlocks the full potential of your data.
## Prerequisites

First, you will need a running cluster. You can use Metabase with both
CrateDB self-managed and its managed offering
{ref}`CrateDB Cloud <cluster-deployment-stripe>`.
CrateDB self-managed and its managed [CrateDB Cloud] offering.

To use Metabase, you must have an existing data set in your CrateDB cluster.
Feel free to use the sample dataset available in the [Cloud Console] or
Expand Down Expand Up @@ -100,10 +99,11 @@ interactive dashboards, automated reporting, and more.
If you'd like to see how the other questions were configured, feel free to
check out the [video tutorial] on this topic.

If this integration could benefit you, feel free to head to [Cloud Console]
If this integration could benefit you, feel free to head to [CrateDB Cloud]
and get started!

[cloud console]: https://console.cratedb.cloud/
[Cloud console]: https://console.cratedb.cloud/
[CrateDB Cloud]: https://console.cratedb.cloud/
[in this how-to]: https://community.cratedb.com/t/importing-data-to-cratedb-cloud-clusters/1467
[metabase]: https://www.metabase.com/
[video tutorial]: https://www.youtube.com/watch?v=veuR_76njCo