# loki

Published articles for loki.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## nixos-telemetry: A NixOS flake for opt-in observability pipelines

DevFeed: [nixos-telemetry: A NixOS flake for opt-in observability pipelines](<https://devfeed.tech/articles/nixos-telemetry-flake-31359.md>)

Original publisher: [Read original article](<https://discourse.nixos.org/t/nixos-telemetry-flake/79704>)

Author: palo

Published: 2026-08-23T08:27:36Z

Content type: article

Language: en

Sources: [Announcements - NixOS Discourse](<https://devfeed.tech/sources/announcements-nixos-discourse.md>)

Topics: [telemetry](<https://devfeed.tech/topics/telemetry.md>), [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>), [Grafana Alloy](<https://devfeed.tech/topics/grafana-alloy.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [collector](<https://devfeed.tech/tags/collector.md>), [config](<https://devfeed.tech/tags/config.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [grafana-alloy](<https://devfeed.tech/tags/grafana-alloy.md>), [loki](<https://devfeed.tech/tags/loki.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>)

### AI overview

A discussion introduces nixos-telemetry, a NixOS flake that uses an OpenTelemetry collector to connect opt-in scrapers, storage, and visualization components. It supports local stacks, remote forwarding, and fan-out to multiple sinks through a unified option tree.

### Source excerpt

Hi everyone, I'd like to share nixos-telemetry, a NixOS flake that makes setting up observability in your infrastructure easy. An OpenTelemetry collector sits at the center of each machine. Scrapers, storage, and visualization are all opt-in. You enable what you need; the collector wires the pipeline together automatically. Why? Wiring up telemetry in NixOS today means gluing together Telegraf, Prometheus, Loki, Grafana, Alloy, each with its own config format, ports, and inter-service dependencies. nixos-telemetry puts all of that behind a single telemetry.* option tree: Turn on the system with telemetry.enable = true. Every app is opt-in. Nothing starts that you didn't ask for. The collector starts automatically once a complete pipeline exists, a matching source and sink for the same signal type. No sink? It waits. Forward to a remote collector, run a full local stack, or both. Fan-out to multiple sinks is supported. What it looks like Full local stack on one machine: { telemetry.enable = true; telemetry.telegraf.enable = true; # host metrics telemetry.alloy.enable = true; # journald logs telemetry.prometheus.enable = true; # metrics storage telemetry.loki.enable = true; # logs storage telemetry.grafana.enable = true; # visualization (datasources auto-provisioned) } Forward to a remote collector: # machine 1 { telemetry.enable = true; telemetry.telegraf.enable = true; telemetry.opentelemetry.exporter.endpoints.remote = "100.64.0.1:4317"; } # machine 2 { telemetry.enable = true; telemetry.opentelemetry.receiver.endpoint = "0.0.0.0:4317"; } Full option reference: OPTIONS.md Thanks! Regarding Discourse LLM Policy : I must disclose that substantial parts of this project are llm generated. And because I coppied parts of the README in this post, substantial parts of this announcmement too. 27 posts - 7 participants Read full topic

## Shipping logs to Loki

DevFeed: [Shipping logs to Loki](<https://devfeed.tech/articles/shipping-logs-to-loki-21775.md>)

Original publisher: [Read original article](<https://enoent.fr/posts/production-grade-esphome/02-shipping-logs-to-loki/>)

Author: Marc Plano-Lesay

Published: 2026-04-03T10:10:02Z

Content type: tutorial

Language: en

Sources: [Marc Plano-Lesay](<https://devfeed.tech/sources/marc-plano-lesay.md>)

Topics: [Logging](<https://devfeed.tech/topics/logging.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [esphome](<https://devfeed.tech/tags/esphome.md>), [iot](<https://devfeed.tech/tags/iot.md>), [logs](<https://devfeed.tech/tags/logs.md>), [loki](<https://devfeed.tech/tags/loki.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [observability](<https://devfeed.tech/tags/observability.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [server-sent-events](<https://devfeed.tech/tags/server-sent-events.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

This tutorial explains how to ship ESPHome device logs to Loki. It contrasts logs with Prometheus metrics, describes the ephemeral nature of device logs, and introduces Server-Sent Events and syslog as ways to extract logs for aggregation.

### Source excerpt

When metrics aren't the whole story In the previous post, we set up metrics collection with Prometheus. We can now see what is happening on our devices -- a sensor is failing, the WiFi signal is degrading, or the main loop is running slow. But metrics alone don't tell us why. When a device reboots, the uptime metric resets -- but what caused the reboot? When an entity fails, the _failed metric goes to 1 -- but what error occurred?

## Meet Grafana LOKI, a Log Aggregation System for Everything

DevFeed: [Meet Grafana LOKI, a Log Aggregation System for Everything](<https://devfeed.tech/articles/meet-grafana-loki-a-log-aggregation-system-for-everything-10543.md>)

Original publisher: [Read original article](<https://technotim.com/posts/grafana-loki/>)

Author: Techno Tim

Published: 2021-11-20T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Grafana](<https://devfeed.tech/topics/grafana.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Grafana Cloud](<https://devfeed.tech/topics/grafana-cloud.md>)

Tags: [docker](<https://devfeed.tech/tags/docker.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [grafana-cloud](<https://devfeed.tech/tags/grafana-cloud.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [logging](<https://devfeed.tech/tags/logging.md>), [logs](<https://devfeed.tech/tags/logs.md>), [loki](<https://devfeed.tech/tags/loki.md>)

### AI overview

This tutorial explains how to use Grafana Loki as a log aggregation system for machines, devices, Docker systems and hosts, and Kubernetes clusters. It covers setup, log queries, Docker configuration, and an ARM CPU workaround.

### Source excerpt

I've been on a quest to find a new logging system.I've use quite a few in the past, some open source, some proprietary, and some home grown, but recently I've decided to switch.I've switched to Grafana Loki for all of my logs for all of my systems - this includes machines, devices, docker systems and hosts, and my all of my kubernetes clusters.If you're thinking of using Grafana and are also lo...

## Installing Grafana Loki with Helm on Kubernetes

DevFeed: [Installing Grafana Loki with Helm on Kubernetes](<https://devfeed.tech/articles/installing-grafana-loki-with-helm-on-kubernetes-10542.md>)

Original publisher: [Read original article](<https://technotim.com/posts/grafana-loki-kubernetes/>)

Author: Techno Tim

Published: 2021-11-20T12:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Grafana](<https://devfeed.tech/topics/grafana.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [Package manager](<https://devfeed.tech/topics/package-manager.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [config](<https://devfeed.tech/tags/config.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [helm](<https://devfeed.tech/tags/helm.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [logs](<https://devfeed.tech/tags/logs.md>), [loki](<https://devfeed.tech/tags/loki.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [traefik](<https://devfeed.tech/tags/traefik.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>)

### AI overview

A tutorial on installing Grafana Loki on Kubernetes using Helm, including a Grafana, Prometheus, and Loki stack, persistent storage, dashboard access, Traefik configuration, LogQL queries, and upgrades.

### Source excerpt

In my previous video (Meet Grafana LOKI, a log aggregation system for everything and post, I promised that I would also explain how to install Granfana Loki on Kubernetes using helm.If you're looking to set this up in docker-compose, be sure to check out this video Installing helm Think of helm as a package manager for kubernetes. It'a an easy way to bundle and deploy config to kubernetes wit...