Urgent.News

What's breaking now, across thousands of outlets.

Tech

One Hub to Watch Them All: Multi-Tenant Monitoring for 4 Clusters and 400+ Edge Machines with Grafana, Mimir, Loki and Alloy

"How I built a self-hosted, GitOps-managed observability hub on Kubernetes: Mimir for metrics, Loki for logs, Alloy as the only agent, tenants enforced at the gateway, and S3 as the real database." The problem Our monitoring was spread across too many places. We run a handful of on-prem Kubernetes clusters (one "hub" plus several "spoke" clusters) and more than 400 edge machines at remote sites.…

The article details the author's experience building a self-hosted, GitOps-managed observability hub running on Kubernetes. The hub centralizes monitoring for a handful of on-prem Kubernetes clusters and over 400 edge machines. The author chose to use Grafana Alloy as the only agent, Mimir for metrics storage, Loki for log storage, and S3 as the primary database.

The design is based on a hub-and-spoke model where the hub hosts Grafana Alloy, Mimir, Loki, Grafana UI, and alerting. Edge machines run Alloy locally, sending metrics and logs to the hub's API. The hub never has to interact directly with the edge sites. Object storage (S3-compatible MinIO) serves as the central database, with Mimir and Loki keeping only recent data locally (15 days for metrics, 30 days for logs).

The article covers the implementation details, including collection and metrics configuration, and log storage configuration. It also discusses the mistakes made along the way, such as manually configuring alerts and secrets management, and how they were corrected by adopting a GitOps approach and using tools like OpenBao and External Secrets Operator for handling secrets. The final configuration consists of a Kubernetes-native stack with high availability and scalability in mind.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Replacing objects in images: what the model changes

An image model can make a convincing replacement and still put it through another object or change something nearby. It can also turn a leather sofa beige while leaving leather creases in what should…

  • Muse model changes objects in images while altering nearby elements
  • 12 out of 15 edits were usable, Meta Muse most successful
  • Text prompts and image references produce varying results

Agent Access: How Do You Scope an Agent's Permissions Safely?

I used AI tools to help draft and edit this post. I checked the facts and the wording, and the original lives at geekindata.com . The diagrams are on that page. Front door. Catalog. Corpus.

  • Implement sign-in group for shell with limited access, not full permissions.
  • Backend app roles enforce agent access and knowledge category access on sensitive calls.
  • SPA consumes capability endpoints, not parsing roles from JWT, to maintain single access payload.

Autonomous attacks with Cairn hit 10 organizations

Autonomous attacks with Cairn hit 10 organizations out of 19 marked as targets. Unit 42, the threat intelligence team at Palo Alto Networks, published the report on November 12: between August and…

  • Autonomous attacks using Cairn framework target 10 out of 19 organizations
  • Chinese-speaking attackers conduct 25 operations, accessing data from over half
  • Operations automated, lasting 20 minutes to over 50 hours, targeting defense and defense entities

More from Friday 13 November →