Skip to content

Projects ​

A project is one app you monitor. Every member of its team can see it; team owners and admins change its settings.

The projects list ​

Projects in the sidebar shows a card for each project of the team:

  • open issues, and the errors, p95 and failed jobs of the last 24 hours;
  • a chart of errors per hour;
  • Calm when the project has no open issues and every agent checks in;
  • Agent offline (or 2 agents offline) and Not seen: … when an agent stopped checking in, with the hosts it ran on.

Search projects filters the cards.

Live updates ​

Pages update in place when another member, an MCP tool or new data changes what they show, including open kiosks and TVs (see Status screens).

A settings page you are editing does not change under you. It says This page changed elsewhere instead: Reload loads the new state and drops your unsaved edits, saving keeps your edits and loads the rest.

Creating a project ​

Team owners and admins create projects with New project, giving a Name and an Issue prefix. The prefix, suggested from the name, starts every issue number. It has 2 to 8 capital letters and digits, starts with a letter and is unique in the team.

The new project opens on its Installation settings: how to install the SDK, the .env values, the agent setup, the browser script and a test command. The server token is shown only once, right after you create the project. Copy it then, or rotate it later.

Switching project ​

Picking another project in the sidebar or the command palette opens the same page in it: from a job to its jobs. A page about one thing, like a trace, opens the other project's overview.

Settings ​

Only team owners and admins change settings. The settings are split into sections, one open at a time; the address names the open section (such as #agents).

  • General: the name, the slug, the issue prefix, allowed origins and extra secret fields. The slug is used in URLs and as the project argument in MCP. It takes letters, digits, - and _, and is unique in the team. Also the two maintenance settings: Default maintenance length, how long a window the app reports without an expected end is expected to take (30 minutes, at most a week), and Repeat overrun alert, how often the maintenance overrun alert repeats while a window stays open past its expected end (every 30 minutes, 5 to 1440).
  • Installation: what to install and set.
  • Keys: the server token for the agent, the public key for browser errors, and public stats. Public stats is a secret URL that serves the project's figures on the metrics API without a token. It is off by default. All three can be rotated. The server token is shown only once.
  • Allowed origins: browser errors are accepted only from these origins, such as https://shop.example.com without a path. With none, all are rejected.
  • Extra secret fields: keys whose values are replaced with [filtered] before they are stored, in headers, session, Context and log context, on top of the keys that are always masked: password, passwd, pwd, secret, token, authorization, cookie, api_key, apikey, access_key, private_key, jwt, dsn, credit_card, card_number, cvv and session_id. Values that look like secrets are masked whatever their key, see Security.
    • A plain word masks every key that contains it: cpr.
    • * is a wildcard in the key name: card_*.
    • A dotted pattern matches the full path: session.checkout.*.
  • Agents: the servers that send data, see Agents.
  • Source maps: the newest 100 uploaded maps, with their release, size and upload time, and the total count. Delete one here. See Source maps.
  • Alerts: the project's own channels, and its rules: the team's by default, or customized for the project.
  • Log channels: the channels the project's log lines go to, with the lines of the last 24 hours and each channel's own retention. Names are kebab-case. Lines sent to a channel the project does not have go to default, which cannot be deleted. Deleting another channel moves its lines to default. A channel that received lines in the last 7 days but does not exist yet gets a Create button here and a banner on the Logs page.
  • Labels: rename, recolor or delete issue labels.
  • Retention: see Retention.
  • Repository integration: see Repository integration.
  • Automatic triage: see MCP.
  • Danger zone: see Deleting a project.

The project's data sources are listed in the settings menu too.

Agents ​

An agent is a small process from the SDK that runs once on every server of the app, under Supervisor. It sends the app's data to Lumberjack and checks in every minute.

Agents in the settings lists every agent that has checked in:

ColumnShows
HostThe server or pod it runs on.
NameThe agent's name, when it has one.
RunningSDK and runtime, e.g. "Laravel 0.1.0 · PHP 8.5.1". Hover for the agent and framework version.
Last seenIts last check-in.
LoadThe 1 minute load against the number of cores, and the highest load per hour over 24 hours.
MemoryMemory in use, and the highest use per hour over 24 hours. Hover for the bytes.
DiskDisk in use. Hover for the bytes.
StatusOnline or Offline.

Memory and disk turn amber above 90%, load above the number of cores. In a container, the container's own limits count.

The project's Overview charts these per host over the chosen period, one line per host: CPU load per core, memory and disk in use, the p95 response time, exceptions and failed jobs. Show, or a click on a host in the legend, focuses every chart on that host. Host metrics are kept for 7 days, so longer periods stop there, and they are not tied to an environment.

The Agents section of a project's settings, with the load, memory and disk of each server

Offline agents ​

  • An agent that has not checked in for 5 minutes is Offline. The projects list warns about it.
  • Team members get an Agents notification, once per project however many agents went offline, and again if one goes offline after coming back. It is on in the app by default, see notification settings.
  • An agent that has not checked in for 24 hours is removed.
  • Remove removes an agent right away. It comes back if it checks in again.

What agents report ​

With each check-in, an agent reports the size of the queues the SDK watches, shown on the Jobs page and used by queue backlog alerts, and its host's load, memory and disk. Both follow retention.

Browser script ​

The project settings show the script tag for browser errors:

html
<script
    src="https://lumberjack.example/sdk/v1.js"
    data-key="lj_pub_..."
    data-environment="production"
    defer
></script>
AttributeDoes
data-keyThe project's public key. Without it nothing is sent.
data-environmentThe environment of the page.
data-releaseThe release, e.g. a commit hash.
data-userThe user's id, for users affected.
data-traceThe trace id of the request that rendered the page.
data-announcetrue logs a line in the console when the script is active.
data-vitalsfalse stops measuring Web Vitals.
data-endpointWhere to send, instead of /api/ingest/browser on the script's server.

Crawlers and automated browsers are ignored. With each page view's Web Vitals, the script sends the class of device: mobile, tablet or desktop.

The script has a small API on window.Lumberjack:

CallDoes
Lumberjack.init({ ... })Sets any of the options above, and ignore: strings or regular expressions matched against the message.
Lumberjack.setUser(id)Sets the user, null to clear it.
Lumberjack.captureException(error, context)Sends an error you caught yourself, with extra context.
Lumberjack.flush()Sends what is waiting now.
Lumberjack.versionThe script's version.

The script ignores common noise: "Script error.", "ResizeObserver loop", "Non-Error promise rejection captured", "Uncaught (in promise)", and errors that come only from browser extensions.

Source maps ​

Upload the source maps of a build, and browser errors show the original file, line, function and source instead of the minified bundle. Issues then group on the original source, so a deploy does not split an error into a new issue.

Upload each .map file after the build, with the server token and the public path of the bundle it belongs to. Vite writes maps only with build.sourcemap set; 'hidden' keeps the sourceMappingURL comment out of the public bundles. With Vite, that is every map in public/build/assets. See the API for the request. Then delete the maps from the build, so your source is not served to everyone.

  • A frame is matched to a map by the bundle's path. Vite puts a hash in the file name, so the path alone is enough. When the same path was uploaded more than once, the map of the page's data-release wins, then the newest.
  • Uploading the same path and release again replaces the map.
  • Errors received before the map was uploaded keep their minified frames.
  • At most 4 maps are used per error, those of its top frames first, and a project has at most 20 maps decoded a minute. A map that fails to decode is tried again after 60 seconds. Past these limits frames stay minified, and the error can group into a separate issue.
  • A map is deleted when it is older than 90 days and belongs to none of the project's last 10 releases, and when the project is deleted.
  • The maps are stored on the default filesystem disk, not served publicly: in Docker under data/storage.

Retention ​

Retention sets how long each kind of data is kept, on three levels. Each level is the default for the level below it, and the most that level may keep:

  1. Application, the whole Lumberjack: Administration > Retention, for system administrators. Empty uses the built-in default and sets no maximum.
  2. Team: Team > Retention in the sidebar, for team owners and admins. At most the application value.
  3. Project: Retention in the project's settings, for team owners and admins. At most the team value. Job classes and log channels can have their own value, also at most the team value.

Each value is a number of days from 1 to 3650, empty to inherit, or Forever. A team or project can choose Forever only when the application keeps that data forever, and the team sets no number for its projects. The built-in defaults are never forever.

A value above the limit is rejected, with the limit named. When you lower a level, the levels below it are capped at once and show as Capped; their own values come back when the limit is raised. A level with no value sets no limit, so a project can keep data longer than the built-in default when neither its team nor the application sets one.

The retention table of a project, with the limit from the team and what is stored

For each data type, the table shows the Default the level inherits, the value of This level, the limit from above, the Rows stored, the age of the Oldest row, and Deletes before: the date up to which data is deleted next. Data is deleted once a day.

Data typeDefaultWhat it is
Occurrences90 daysEach time an error happened, with its stack trace and context
Requests14 daysRecorded HTTP requests and the request counts per minute
Queries14 daysDatabase queries recorded with requests and jobs
Spans14 daysOutgoing HTTP calls, cache operations and custom timings in traces
Web vitals30 daysPage load metrics from browsers
Job runs30 daysEach attempt of a queued job. Can be set per job class
Scheduled task runs30 daysEach run of a scheduled task
Command runs30 daysEach console command run
Logs14 daysLog lines. Can be set per channel
Activity30 daysEach activity your apps recorded, with its actor, subject and payload
Activity counts365 daysHourly counts per activity, for charts and widgets
AI calls30 daysEach call your apps made to an AI model: tokens, model, key and who caused it
Hourly AI usage400 daysHourly AI totals per model and key. Kept at least from the start of last month, for AI budgets
Daily AI usage400 daysDaily AI totals per model, key, key owner and actor. Kept at least from the start of last month, for AI budgets
Health results14 daysEach health check result and its latency
Health outages365 daysPeriods a check was down or degraded. Uptime is counted from them
Data source history30 daysWhat each data source answered, for charts
Queue size samples30 daysQueue length and oldest job age, reported by the agents
Host metrics7 daysCPU, memory and disk, reported by the agents
Alert history90 daysEvery alert sent, to which channel, and whether it got through
Custom alerts30 daysAlerts your apps sent, and how they were delivered
Audit log365 daysWhat administrators did. Application level only
Server metrics7 daysCPU, memory and disk of the server Lumberjack itself runs on. Application level only
Notification history90 daysEveryone's notification center. Application level only

Issues themselves are never deleted, only their occurrences. Failed job runs, failed or missed scheduled runs and failed command runs are kept at least as long as occurrences. An outage is kept until it ends.

Repository integration ​

Link a GitHub repository to create GitHub issues from Lumberjack issues, with a button or through MCP.

  1. Enter the Repository as owner/name.
  2. Create a fine-grained token with only Issues: read and write on that repository. Create token on GitHub opens GitHub with these settings filled in. Paste it under Fine-grained token.
  3. Test connection checks the token and says whether the repository is private or public.
  4. For a public repository, tick Allow creating issues in a public repository.
  5. Optionally list Labels, comma separated, for the created issues.

Lumberjack warns 14 days before the token expires.

Moving a project to another team ​

Move to another team in the Danger zone moves the project with its data, tokens and connections to a team you are owner or admin of; you must be owner or admin of its team too. A slug or issue prefix the other team already has is replaced in the dialog. The move also:

  • moves the project's own alert rules and channels, and drops links to the old team's; the project then follows the new team's rules and channels;
  • moves the project's own AI prices along, while its old team's team-wide prices stay behind and the new team's apply;
  • keeps the project's AI budgets;
  • takes the project out of MCP tokens: give a token access again where it should have it;
  • takes it out of the old team's screens; a screen or widget left with no project shows nothing;
  • clears assignees and watchers of its issues who are not in the new team.

Prices and cost budgets are in the team's currency, so a project with AI prices or cost budgets of its own cannot move to a team with another currency: change one of the currencies, or the project's prices and budgets, first.

Each move is in the audit log.

Deleting a project ​

The Danger zone deletes the project and all its data, after you type the project's name. Deleting the data can take several minutes.

Limits ​

WhatLimit
Allowed origins50
Extra secret fields50, 64 characters
Log channel name64 characters
Browser errors per page view100
Source map file20 MB
Same browser error per page view5
Retention value1 to 3650 days