From e7284848b1fd2cdfefcd07e93a1fa973dd80fa0b Mon Sep 17 00:00:00 2001
From: Chris Gwilliams <517923+encima@users.noreply.github.com>
Date: Mon, 24 Feb 2025 09:53:38 +0200
Subject: [PATCH] remove fly section and add notes to clarify the SB template
on Grafana (#33655)
* remove fly section and add notes to clarify the SB template on Grafana
* prettier changes made
---
.../docs/content/guides/telemetry/metrics.mdx | 70 +++----------------
1 file changed, 11 insertions(+), 59 deletions(-)
diff --git a/apps/docs/content/guides/telemetry/metrics.mdx b/apps/docs/content/guides/telemetry/metrics.mdx
index f5824c33106..ced0f742077 100644
--- a/apps/docs/content/guides/telemetry/metrics.mdx
+++ b/apps/docs/content/guides/telemetry/metrics.mdx
@@ -58,6 +58,12 @@ The pre-configured Supabase Grafana Dashboard is an advanced version of the [Das
### Deploying locally
+
+ This method uses docker to deploy locally but the same steps can be used to deploy to a dedicated
+ server, such as [Fly](https://fly.io), [Railway](https://railway.app) or [Digital
+ Ocean](https://digitalocean.com)
+
+
Prerequisites:
- Must have [Docker](https://www.docker.com/products/docker-desktop/) or a Docker compatible runtime on your machine
@@ -176,6 +182,11 @@ Supabase Grafana only tracks metrics while it's active. For monitoring historica
### Deploying to Grafana cloud
+
+ This section describes the Grafana cloud Supabase template, which is created and maintained by
+ Grafana.
+
+
@@ -232,62 +243,3 @@ Supabase Grafana only tracks metrics while it's active. For monitoring historica
-
-### Deploying to fly.io
-
-
- This section explains deploying to Fly.io using the included configuration file, but deployment to
- other hosts is also possible.
-
-
-
-
-
-
-
- Follow steps 1 through 4 for [local setups](#deploying-locally)
-
-
-
-
-
-
- If you do not already have one, create a [fly.io account](https://fly.io/app/sign-up).
-
- Go through the [onboarding process](https://fly.io/dashboard/personal/new-launch?onboarding=1), including downloading the [Fly CLI tool](https://fly.io/docs/flyctl/install/)
-
-
- 
-
-
-
-
-
-
-
-
- Log into your Fly account through the CLI:
- ```sh login
- fly auth login
- ```
-
- Deploy your project with the Fly CLI
- ```sh deploy_to_fly
- fly launch --copy-config
- fly secrets import < .env
- ```
-
-
-
-
-
-
-
- - Go to your [Fly.io Dashboard](https://fly.io/dashboard) and select your project.
- - It may take a few minutes for the project to spin up. Once it's ready, click on the project's link to view your Grafana Dashboard.
- - When prompted, enter the username admin and the password you created earlier.
-
-
-
-
-