DEV Community

Robert Rees for We Got POP

Posted on

Turning AWS Log Insights into metrics

Leo Giordani one of POP's developers has written up a detailed blog on his recent work creating a Cloudwatch metrics dashboard. The dashboard helps visualise our application's use of Celery tasks and to provide alerts where problems in the system occur such as tasks backing up as demand spikes.

Leo's post pretty much steps through the entire process involved including setting up a DynamoDB table in Terraform and creating the Python Lambda to does the work of converting the queries into time-series metrics.

This is a new technique for us and we're looking at how we might use this idea of polling, transforming and writing CloudWatch information more in the future.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay