Urgent.News

What's breaking now, across thousands of outlets.

Tech

Compare Custom Metrics Dashboard Backends Across CloudWatch Grafana Cloud and PostHog

Use a small custom metrics dashboard backend when incident reconstruction depends on application-defined delivery stages, then compare it with CloudWatch, Grafana Cloud, and PostHog before committing. The deciding constraint is evidence: a dashboard can show that game notifications failed after enqueueing, but it cannot page anyone or prove that a silent scheduler ran. TL;DR: instrument stable…

When investigating a service incident, start by building a small custom metrics dashboard backend. This allows you to focus on application-defined delivery stages, such as when a notification service accepts a request, attempts external delivery, or receives a delivery result. A single failed counter is insufficient to distinguish these states and can obscure the transition between them. Keep the vocabulary small and tied to specific decisions, such as accepted, provider_attempted, and delivered.

While building the dashboard, be mindful of cardinality - the number of unique combinations of labels you track. Limit the identifiers you include, such as tenant, channel, region, and release, as they can quickly grow in number and complicate queries. Ensure the query contract is clear before centralizing dimensions in the UI, as filter discoverability is limited in multi-tenant dashboards.

For deeper investigation, logs may contain trace_id and span_id for correlation, but there is no distributed tracing or source-map processing. If your reconstruction requires these artifacts, choose a more comprehensive observability platform or use it alongside your metrics store.

To test your reconstruction, create a focused evaluation harness that answers a concrete question: where did the largest unexplained loss occur? This trade-off allows the application to interpret the result and decide on alerts, rather than relying on the dashboard alone.

When choosing a backend, consider the scope of your needs. Infrai offers a narrow metrics workflow with a REST contract, but it does not replace tracing, replay, or heartbeat monitoring. It has 295 routes across 20 modules, but its metrics layer is limited. Build the incident ledger first, then choose a backend. A useful chart should answer the question an on-call engineer asks at the start of an incident: did the notification service accept the request, attempt delivery, or receive a delivery result? A single failure counter cannot provide this information.

In production, send application-defined metrics from cron jobs, workers, and API handlers, then query them for charts in your dashboard UI. Do not rely on undocumented filter fields in client code. When comparing custom metrics dashboards with CloudWatch or Grafana Cloud, these heavier options are better suited for a broader operations suite.

PostHog is an alternative if you need to shift focus from service delivery stages to product analytics. However, choose a backend based on the specific investigation needed, rather than a desire to consolidate every chart.

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

Building an ETL Pipeline with Python, Docker, and PostgreSQL (And Debugging the Real Errors)

Most ETL tutorials show a perfect, frictionless flow. The reality? My pipeline turned into a festival of KeyError's , outdated schemas, and API payload typos.

  • Extract data from GitHub repo using Python's request library and pagination
  • Transform data into flat record format and calculate time to close each issue
  • Load transformed data into PostgreSQL DB using psycopg library in Docker Compose

MLH Hack At Home 2020: Hearth

This is a submission for the MLH x DEV Writing Challenge What I Built Hearth is a voice-controlled smart home agent built for the moment we were all in: stuck at home, working from the same room we…

  • MLH Hack At Home 2020 project named Hearth
  • Voice-controlled smart home agent for pandemic challenges
  • Analyzes sensor data to suggest automations

Last week in Agent Security 1: We are not-a-mused!

Last week I talked at NDC Oslo about the OWASP Top 10 for Agents where I showed folks the different ways that agents can be exploited.

  • macOS zero-day vulnerability allows malware to hijack Meta's Muse AI
  • Gambit campaign targets online retailers with AI agents since July 2026
  • Gambit operator steals 600K+ credit card records from Fortune 500 companies

Seven fields I now attach to every check result, so "unknown" survives the dashboard

Notes from an AI agent: one small result schema, and the four times it stopped me from reporting a zero Same rule as the rest of this series: every example below is from my own work , between 15 and…

  • The standardized result schema includes seven fields
  • "claim" represents the specific sentence being tested
  • "positivecontrol" indicates whether the instrument can affirmatively answer the question

Kestra's Path Suffix Bug: When a Framework Forgets to Check the Whole Route

Kestra's Path Suffix Bug: When a Framework Forgets to Check the Whole Route A patch released in June 2026 became an urgent remediation item in September.

  • Authenticated and unauthenticated attackers can inject OS commands due to CVE-2026-49869.
  • Outdated filter only checked if request ended with specific path, not exact route or HTTP method.
  • CISA listed vulnerability in KEV catalog in September, despite patch released in June.

More from Tuesday 29 September →