monolayer Docs
monolayer Docs
Introduction

Getting Started

Install monolayer in your AWSAdd a GitHub App

User Guide

OverviewCreate a Project
OverviewApplication Metrics and LogsDatabasesStorage BucketsBackground TasksCrons
Project Playground Sessions

Platform

Deployment ArchitectureProcfile

Other

Feedbackmonolayer SDK Docsmonolayer.dev
ProjectsEnvironments

Background Tasks

Inspect background task definitions and stream task-specific logs.

Environment Background Tasks

Inspect background task definitions and stream task-specific logs.

This guide covers deployed asynchronous tasks, task definitions, and CloudWatch log output.

About Background Tasks

A background task is an asynchronous process triggered by your application code. monolayer manages these tasks with Amazon Elastic Container Service (ECS) workloads and Amazon Simple Queue Service (SQS) triggers.

The Tasks page shows registered task types and log streams for each task category.

NOTE: If your application does not define background tasks, the page shows an empty state with a link to the monolayer software development kit (SDK) documentation.

Inspecting Background Tasks

To inspect background task definitions and trace runtime log output, you can use the background tasks dashboard.

Before you start

Your application must define and deploy at least one background task.

Steps

  1. Click Projects in the global sidebar.
  2. Click your target project.
  3. Click the target environment in the projects list.
  4. Click Tasks in the environment sidebar.
  5. Locate the target task definition.
  6. Click the task row to expand the details panel.
  7. Click Logs.

What happens next

The page streams CloudWatch log events for the selected background task.

Storage Buckets

Monitor object storage buckets, object counts, and storage size for an environment.

Crons

Inspect scheduled cron workloads and inspect their execution logs.

On this page

Environment Background TasksAbout Background TasksInspecting Background TasksBefore you startStepsWhat happens next