Schemas are important for development, why and how to use them

When developing backend services we often develop for someone. Either it's another service, a third party or a website. We use different types of transport methods like REST, SOAP, GRPC or message queues. Note: I decided to do a small braindump in this article, so it will briefly touch on…

Using OpenTelemetry as a node module instead of common js

To start of, using OpenTelemetry in Node.js modules are planned but not officially supported yet. This article is to give you a workaround to make OpenTelemetry mostly work. Background I recently wanted to implement OpenTelemetry (or Otel) into an existing project which is set up to use import instead…

Observability, commercial and open source, the state in 10.2022

Observability, a new buzzword - What concepts hides behind it? The last couple of years there's been emerging a new buzzword around logging and metrics called "observability". This stems from the microservice architecture that has become more and more popular. One of the biggest issues with microservices is that the…

Configuring a KVM based VPS server for NixOS ISO

So your provider only supports bootable ISO for their provided servers? And maybe they don't even have their own DHCP server and you need to configure this yourself! Manually configuring the network from the commandline Even if NixOS does everything declaratively, the install itself requires access to the internet to…

Firewall and Docker containers in NixOS

Hopefully to save someone else some headache. If you ever want to access services outside of Docker in your NixOS configuration but still want to have the firewall enabled - so nobody can access all the ports on your device. Then you will need to set the docker interface as…

Deploying NixOps automatically to any server provider

NixOps is a great tool for deploying both locally and to the cloud. There's also a few tools to automatically deploy a NixOps configuration to a lot of cloud providers, such as Google, Hetzner, DigitalOcean, AWS, Azure and more. But NixOps is still in a beta and it's functionality is…