Testing an OpenTelemetry Collector deployed as a Daemonset in Kubernetes

TL;DR: skip to this readme for the easiest path When you’re running applications in Kubernetes, and you’re using OpenTelemetry for observability, then one recommended practice is to run the OpenTelemetry Collector on each node in your cluster. Then each of your applications can send telemetry data (traces, metrics, logs) to that local collector. To run … Read moreTesting an OpenTelemetry Collector deployed as a Daemonset in Kubernetes

Run an OpenTelemetry Collector locally in Docker

a fire hydrant is sideways on the ground.

This is an experience report for my future reference (and yours). The OpenTelemetry Collector is useful for receiving trace data in whatever format and exporting it to the back-end of your choice for storage and querying. For instance, I wanted to receive traces over HTTP/JSON from this sneaky browser extensionLINK and send them to Honeycomb. … Read moreRun an OpenTelemetry Collector locally in Docker

Develop in Docker: Node.js, Express, & PostgreSQL on Heroku

This post builds on the excellent tutorial from Tania Rascia: Create and Deploy a Node.js, Express, & PostgreSQL REST API. I want to build a little web app that can store some data! …without installing anything new on my computer. Here’s how to configure VSCode Remote Containers to do that. Installed on my machine: Docker … Read moreDevelop in Docker: Node.js, Express, & PostgreSQL on Heroku

Honeycomb in Rails without hard-coding the API key

Today we hooked up Honeycomb to an app for the first time! It was easy and fun! Then we configured it so that we don’t have to commit our apikey. It’s a public repo. Anyone could grab our API key and send spurious events to our Honeycomb datasets, screwing up our information and costing us … Read moreHoneycomb in Rails without hard-coding the API key

Run Alloy on Windows in Docker

TL;DR: install docker and X410; docker run jessitron/alloy:5.1 The essential work in software development is forming a model in our heads of the system we want. The code is one expression of this model. The code can’t be stronger than this model. So I want a strong model: consistent, complete enough, and expressive. I decided … Read moreRun Alloy on Windows in Docker

Fun with Docker: “Release file… is not valid yet”

Today my Docker build failed on Windows because apt-get update failed because some release files were not valid yet. It said they’d be valid in about 3.5 hours. WAT. I don’t care about your release files! Do not exit with code 100! This is not what I want to think about right now! Spoiler: restarting … Read moreFun with Docker: “Release file… is not valid yet”

Advancing the bridge

Software Development has moved forward a lot recently. Both on the code side and the runtime side, we’ve had huge advances. we’ve seen more advances in writing code and in running it, than in the bridge from written to running We have way better languages and frameworks for writing applications now. For instance, JavaScript, JQuery, and … Read moreAdvancing the bridge