AJ's Blog
This is a personal blog focused on computer software and hardware. Most
projects are implementing software and hardware for a homelab. What is a
homelab? I would say a homelab could be a single computer or dozens of
computers connected in a network. You can also integrate with computers
in the Cloud.
Continue reading...
Recent Posts
04-19-2025
Promtail was a project I used as part of the Grafana Loki log collection ecosystem. It was deprecated as Grafana now recommends using the Grafana Alloy project to help collect telemetry data. Promtail made it relatively easy to collect logs from containers and files on a *nix system. I also used the Kubernetes helm chart to collect pod logs in Kubernetes and forward to Grafana Loki.
My last post about Grafana Loki was upgrading from v2 to v3.
04-17-2025
Prometheus can be configured to write metrics to a remote prometheus API to achieve replication and/or sharding. If you are looking for information about what to do with Prometheus or what it is, check out a previous post to get an overview. I am using remote write to have one Prometheus server running in Kubernetes which I have configured to remote write metrics to another Prometheus server on my network that has a larger disk and is outside the k8s cluster.
04-03-2025
Elasticsearch is a distributed, RESTful search and analytics engine designed for scalability and flexibility. It allows you to store, search, and analyze large volumes of data quickly and efficiently. Elasticsearch is part of the Elastic Stack. This is a powerful platform that has many strengths when most of your data is text based and you may need to search for text. It supports horizontal scaling and stores data in an Index.
03-30-2025
While I was writing the post about parsing data from the strong app on iOS, I stopped using this app. Now that I have this historical data there are a few approaches but as someone who is busy I ended up using another iOS app that has a native app for the apple watch. It also directly imported all my workout history so stay tuned as I will next be taking a look at any differences in that data.
02-09-2025
Organizations rely heavily on metrics to ensure their applications are running smoothly, efficiently, and securely. One of the leading tools in this space is Prometheus , an open-source system designed for event monitoring and alerting. This blog post will delve into what Prometheus is, how it works with metrics, and why it’s become a staple in modern infrastructure management. It may be overkill for a homelab but it is actually a simple system that scales well.
02-01-2025
Just a quick post to upgrade Grafana Loki to v3. If you are not familiar with this project, it is an open-source system for aggregating application, system, and other log files for querying and potentially configuring alert notifications when something goes wrong. Check out a previous post where I set up Loki in my homelab.
step 1: update to latest minor release of 2.x First if you are already running a Grafana Loki deployment, upgrade to the latest minor revision of version 2.