diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-09-20 14:01:38 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-09-20 14:01:38 -0500 |
commit | 5b92b44405d854ace236fe36884827eb14b5c853 (patch) | |
tree | 3fd91ee7ff43714c752cce7ed76580c7ea0caa0a /content | |
parent | e891c72cc333d9fe48f4cf2ccbfde0192ef696af (diff) | |
download | cleberg.net-5b92b44405d854ace236fe36884827eb14b5c853.tar.gz cleberg.net-5b92b44405d854ace236fe36884827eb14b5c853.tar.bz2 cleberg.net-5b92b44405d854ace236fe36884827eb14b5c853.zip |
fix broken src block and src titles in latest post
Diffstat (limited to 'content')
-rw-r--r-- | content/blog/2024-09-20-prometheus-grafana-cloud.org (renamed from content/blog/2024-09-19-prometheus-grafana-cloud.org) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content/blog/2024-09-19-prometheus-grafana-cloud.org b/content/blog/2024-09-20-prometheus-grafana-cloud.org index aa70f14..4eb05aa 100644 --- a/content/blog/2024-09-19-prometheus-grafana-cloud.org +++ b/content/blog/2024-09-20-prometheus-grafana-cloud.org @@ -66,7 +66,7 @@ containers that will work together to send metrics to Grafana. Let's start by creating a working directory. -#+begin_src shell +#+begin_src sh mkdir ~/prometheus && \ cd ~/prometheus && \ nano compose.yml @@ -135,7 +135,7 @@ services: - monitoring #+end_src -#+begin_src shell +#+begin_src sh sudo docker compose up -d #+end_src @@ -146,7 +146,7 @@ local firewall with =sudo ufw allow 8080=. Next, let's create a =prometheus.yml= configuration file. -,#+begin_src sh +#+begin_src sh nano prometheus.yml #+end_src @@ -186,7 +186,7 @@ need to modify the Nginx configuration on the host. More specifically, we need to create a path for the =stub_status= to be returned when we query port 8080 on our localhost. -#+begin_src shell +#+begin_src sh sudo nano /etc/nginx/conf.d/default.conf #+end_src @@ -201,7 +201,7 @@ server { } #+end_src -#+begin_src shell +#+begin_src sh sudo systemctl restart nginx.service #+end_src @@ -213,7 +213,7 @@ areas to check and see if any obvious errors exist. Nginx: Curl the stub_status from the Nginx web server on the host machine to see if Nginx and stub_status are working properly. -#+begin_src shell +#+begin_src sh curl http://127.0.0.1:8080/stub_status # EXPECTED RESULTS: @@ -251,7 +251,7 @@ go_gc_duration_seconds{quantile="0.5"} 4.8531e-05 Node-Exporter: Curl the exporter node machine metrics. -#+begin_src shell +#+begin_src sh # Curl the exported Node metrics curl 192.168.64.3:9100/metrics |