Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

formats the post

Paul Copplestonee3de38ed42b8
diff --git a/www/_blog/2021-07-29-supabase-reports-and-metrics.mdx b/www/_blog/2021-07-29-supabase-reports-and-metrics.mdx
index bf5f4cff596..4ca2750476c 100644
--- a/www/_blog/2021-07-29-supabase-reports-and-metrics.mdx
+++ b/www/_blog/2021-07-29-supabase-reports-and-metrics.mdx
@@ -64,17 +64,34 @@ supa-powers to the database.
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/062496de-4c4b-407c-b4b6-b6abd9ef6160/Untitled.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/062496de-4c4b-407c-b4b6-b6abd9ef6160/Untitled.png)
-Our users get liberal access to each of these services - you can use PostgREST for a RESTful API, Realtime to listen to changes in your Postgres instance, or even just open a raw connection to the database. While this makes for an extremely flexible offering, it presents a diverse cast of [foot-guns](https://en.wiktionary.org/wiki/footgun). Want to mess with Realtime? Why not bulk-insert millions of records on tables you've configured it to watch? Feel like taking out your entire database? Just connect to it and run a wildly inefficient query!
+Our users get liberal access to each of these services - you can use PostgREST for a RESTful API,
+Realtime to listen to changes in your Postgres instance, or even just open a raw connection to the database.
+While this makes for an extremely flexible offering, it presents a diverse cast of [foot-guns](https://en.wiktionary.org/wiki/footgun).
+Want to mess with Realtime? Why not bulk-insert millions of records on tables you've configured it to watch?
+Feel like taking out your entire database? Just connect to it and run a wildly inefficient query!
-We're continuously rolling out protections to mitigate failure scenarios and to minimize the blast radius. However, given the power and flexibility exposed via our services and the diverse workloads they support, our users remain best positioned to make the call on what's reasonable for their project. As such, we're also working on exposing as much data as possible to them.
+We're continuously rolling out protections to mitigate failure scenarios and to minimize the blast radius.
+However, given the power and flexibility exposed via our services and the diverse workloads they support,
+our users remain best positioned to make the call on what's reasonable for their project.
+As such, we're also working on exposing as much data as possible to them.
### Gathering relevant metrics
-Given the setup described above, there are two major categories of metrics that we care about. There's metrics pertinent to the services mentioned ("Project Metrics") that get spun up for each project (e.g. the number of active connections to the db), and there's metrics for the underlying infrastructure (e.g. system health). Most of the time, our users shouldn't have to care about the latter, though the nature of leaky abstractions dictates that sometimes they become relevant to Project Metrics as well.
+Given the setup described above, there are two major categories of metrics that we care about.
+There's metrics pertinent to the services mentioned ("Project Metrics") that get spun up for each project
+(e.g. the number of active connections to the db), and there's metrics for the underlying infrastructure
+(e.g. system health). Most of the time, our users shouldn't have to care about the latter,
+though the nature of leaky abstractions dictates that sometimes they become relevant to Project Metrics as well.
-In order to build a comprehensive view of the project's health, each services needs to be instrumented along with their underlying infrastructure. We're looking at hundreds of thousands of targets at our current scale (likely approaching millions in the near future) each of them presenting hundreds of metrics of interest (every minute!).
+In order to build a comprehensive view of the project's health, each services needs to be instrumented along with their
+underlying infrastructure. We're looking at hundreds of thousands of targets at our current scale
+(likely approaching millions in the near future) each of them presenting hundreds of metrics of interest (every minute!).
-To buy ourselves some headroom, we built a federated approach: we run instances of our monitoring systems in each geographical region we operate in. This provides a natural dimension for sharding, while reducing the latency for everyone. We run [Prometheus](https://prometheus.io/) out of inertia, soon to be [VictoriaMetrics](https://victoriametrics.com/). The monitoring instances scrape data from a number of exporters that are bundled into each of our projects. A small subset of the metrics collected get aggregated to a centralized VictoriaMetrics instance for easier cohort analysis.
+To buy ourselves some headroom, we built a federated approach: we run instances of our monitoring systems in each
+geographical region we operate in. This provides a natural dimension for sharding, while reducing the latency for everyone.
+We run [Prometheus](https://prometheus.io/) out of inertia, soon to be [VictoriaMetrics](https://victoriametrics.com/).
+The monitoring instances scrape data from a number of exporters that are bundled into each of our projects.
+A small subset of the metrics collected get aggregated to a centralized VictoriaMetrics instance for easier cohort analysis.
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b7978a8a-a60a-488a-9789-4e9bf23fd445/prometheus.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b7978a8a-a60a-488a-9789-4e9bf23fd445/prometheus.png)
@@ -101,4 +118,4 @@ Where to begin?
- More metrics: we're just getting started (especially database related statustics using `pg_stat_statements` and connection info).
- Granularity: project statistics will come down to hourly.
- Longer time periods: view historical data going back several months.
-- Interactive widgets: view-only reports are fine, but we wouldn't be a SQL startup if we didn't allow you to write your own queries,
\ No newline at end of file
+- Interactive widgets: view-only reports are fine, but we wouldn't be a Postgres company if we didn't allow you to write your own SQL queries.
\ No newline at end of file
diff --git a/www/lib/authors.json b/www/lib/authors.json
index 2bb55a9885c..3bbffbb1df0 100644
--- a/www/lib/authors.json
+++ b/www/lib/authors.json
@@ -75,5 +75,12 @@
"position": "Engineering",
"username": "kangmingtay",
"author_image_url": "https://github.com/kangmingtay.png"
+ },
+ "div_arora": {
+ "author": "Div Arora",
+ "author_url": "https://github.com/darora",
+ "position": "Engineering",
+ "username": "darora",
+ "author_image_url": "https://github.com/darora.png"
}
}
diff --git a/www/public/rss.xml b/www/public/rss.xml
index 65b4395f328..d8461dc1529 100644
--- a/www/public/rss.xml
+++ b/www/public/rss.xml
@@ -5,14 +5,22 @@
<link>https://supabase.io</link>
<description>Latest news from Supabase</description>
<language>en</language>
- <lastBuildDate>Tue, 27 Jul 2021 16:00:00 GMT</lastBuildDate>
+ <lastBuildDate>Wed, 28 Jul 2021 16:00:00 GMT</lastBuildDate>
<atom:link href="https://supabase.io/blog/rss.xml" rel="self" type="application/rss+xml"/>
+<item>
+ <guid>https://supabase.io/blog/2021/07/29/supabase-reports-and-metrics</guid>
+ <title>Supabase Reports and Metrics</title>
+ <link>https://supabase.io/blog/2021/07/29/supabase-reports-and-metrics</link>
+ <description>We're exposing a full set of metrics in your projects, so that you can build better (and faster) products for your users.</description>
+ <pubDate>Wed, 28 Jul 2021 16:00:00 GMT</pubDate>
+</item>
+
<item>
<guid>https://supabase.io/blog/2021/07/28/supabase-auth-passwordless-sms-login</guid>
<title>Supabase Auth v2: Phone Auth now available</title>
<link>https://supabase.io/blog/2021/07/28/supabase-auth-passwordless-sms-login</link>
- <description>Learn how Mobbin migrated 200,000 users from Firebase for a better authentication experience.</description>
+ <description>Phone Auth is available today on all new and existing Supabase projects.</description>
<pubDate>Tue, 27 Jul 2021 16:00:00 GMT</pubDate>
</item>