Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil A. Siemes authored and Emil A. Siemes committed Aug 27, 2024
1 parent 583c76b commit 122b87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You might wonder about the programming language we are going to use: I mostly us

As we need to have an example app this repo contains an enhanced “Hello Web” application called Pita. Users can sign in (with Google) and if they are authorized can add notes to a single page. Notes are persisted in the database and retrieved from there. A pretty vanilla web-app.

I'm biased and choose Google and Grafana because of my personal experience but I think other parents have nice children too: AWS Fargate, Azure Containers, etc. But you want to check if the service you use is part of a free tier. Cloud Run and Build are both part of Google's free tier (2 mio requests per month, 120 build-minutes per day). Grafana Cloud gives me 10k metrics, 50GB of logs & traces. Clearly Cloud Run has o11y built-in and so Grafana isn't strictly needed but I do prefer it over Google's o11y especially because of the way I can combine data from different sources like GCP and my CockroachDB instance. Now as of this writing the free tier of Cockroach Cloud does not export prometheus metrics or logs therefor I instrumented my app in a way that it exposes the most important database metrics by itself: SQL executions, commits, response times and so on. I cases when I experience a database degredation I would need to open the Cockroach Cloud console and investigate. So far this wasn't needed but it's good to know I could if I needed to.
I'm biased and choose Google and Grafana because of my personal experience but I think other parents have nice children too: AWS Fargate, Azure Containers, etc. But you want to check if the service you use is part of a free tier. Cloud Run and Build are both part of Google's free tier (2 mio requests per month, 120 build-minutes per day). Grafana Cloud gives me 10k metrics, 50GB of logs & traces. Clearly Cloud Run has o11y built-in and so Grafana isn't strictly needed but I do prefer it over Google's o11y especially because of the way I can combine data from different sources like GCP and my CockroachDB instance. Now as of this writing the free tier of Cockroach Cloud does not export prometheus metrics or logs therefor I instrumented my app in a way that it exposes the most important database metrics by itself: SQL executions, commits, response times and so on. I cases when I experience a database degredation I would need to open the Cockroach Cloud console and investigate. So far this wasn't needed but it's good to know I could if I needed to. The application meassures sql query repsonse times and creates its own prometheus metrics from them. The Grafana agent collects them and sends them to the Grafana Cloud. Therefore the sql metrics I use in my dashboard only cover what the application sees. If you execute other queries (e.g. in a shell) they will not show up.

---

Expand Down

0 comments on commit 122b87c

Please sign in to comment.