cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

6f96edd59d40eac36049006ae997d1fe68b02168

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2024-09-20T19:01:38Z

fix broken src block and src titles in latest post
 ...a-cloud.org => 2024-09-20-prometheus-grafana-cloud.org} | 14 +++++++-------
 1 file 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
similarity index 98%
rename from content/blog/2024-09-19-prometheus-grafana-cloud.org
rename to 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