Liam Pietralla's Blog
  • Home

Latest

OTEL Logging with Grafana Loki and .NET

Logging is an essential part of any application, and Grafana Loki is a solid choice for self hosting your own logging infrastructure. In this post we will setup a new .NET minimal API, and then integrate logging to push to a Loki instance using OTEL (OpenTelemetry). Creating the .NET API

By Liam Pietralla 16 Feb 2026
Working with Recursive SQL Statements

Working with Recursive SQL Statements

Using recursive CTEs (common table expressions) can be useful when working with recursive or hierarchical data. Using a recursive CTE will allow us to fetch data using a single query, rather than needing to loop over and use several queries to build up the data as it comes in. Example

By Liam Pietralla 11 Nov 2025
Dockerising a Next.JS website with Payload CMS

Dockerising a Next.JS website with Payload CMS

Next.JS and Payload CMS can be a powerful combination to build a site driven by a free and opensource CMS. Payload can now run directly inside your Next.JS app (since version 3) making it even easier to work with and deploy. Setup First we need to setup Payload

By Liam Pietralla 11 Nov 2025
Liam Pietralla's Blog
Powered by Ghost