Log in

Metrics & Monitors

Metrics & Monitors

Metrics aggregate a view’s data into charts. A metric needs a name, view, and timestamp field. Grouping and filters are optional.

Create a metric

  1. Open Metrics and click New Metric.
  2. Choose a view and timestamp field. The UI selects the first eligible date or string output field by default.
  3. Optionally choose Group By, a numeric value field, a unique-count field, and filters.
  4. Click Create Metric.

Tailglow captures the view data already published when the build starts, backfills that input, and marks the metric active. Data published afterward is processed automatically as additional work. Active means the initial build has finished; coverage shows which dates still have pending input. The status indicates whether it is initializing, waiting for transforms, backfilling, active, in error, or cancelled.

Partial results and waiting shapes

Charts show available results with a compact coverage control in the header. Open it to see whether records need mapping or recovery work, or completeness is simply unverified. Unverified historical or time coverage can remain even when the source view has no pending shapes and its scripts are live. An amber region on Cartesian charts marks incomplete results with known mapping, recovery, or exclusion reasons; empty ranges show a no-data state. Records in a shape that has not settled yet, or that has no script yet, are listed in the coverage control but do not mark results incomplete. Once a shape has a script, its records mark results incomplete until the view has read them. Trends and forecasts use verified complete buckets; they are unavailable when coverage is unknown or too little complete data remains. Monitors and storage sealing continue to use the verified boundary.

Use Inspect view, then Inspect on a waiting shape, to see missing fields, changed types, possible substitutions, and the fields each candidate TGL reads. The drawer lists the shape’s fields and types, using full paths for nested fields. Activity details shows its state, dates, source, stored rows, and schema observations. Pending shapes also show the next automatic check or requested hint. A small deferral-evidence count is not the total number of ingested records.

Excluding a version records a decision for that view and version, including future matching records. It does not erase existing materialized output. Charts retain an exclusion notice; other views make independent decisions.

Accepted late input can reopen an older chart bucket. Independent values, such as a bucket’s sum, mark only the affected dates as pending. Cumulative values also mark the later dates that depend on that contribution. The marker clears after the update is available at every rollup interval. When the affected dates are unknown, the chart remains conservative.

Waiting for a schema mapping does not create a new late-data decision. Once the view publishes its output, newly created or rebuilt metrics process it automatically. Rebuilding a metric replaces its aggregates using retained view data; it is still required when its data definition changes.

Metric settings

Metric settings are organized into four tabs. Display covers display value, time range, chart type, value unit, empty-interval handling, the maximum series shown, their Order, a time dimension (hour of day, weekday, or hour of week) for breakdown and heatmap charts, Compact Values, which rounds tooltip readings to compact notation such as 321.3M and is on by default, and Y Axis Min and Max, which pin either end of the y axis on line, area, and bar charts. Leave a bound empty and that side keeps fitting the data. Analysis covers trend lines, forecasting, and alert markers. Colors covers how series are painted. The metric’s name is edited in the settings header. Tailglow chooses the interval from the selected time range.

Order decides which series make the cut and the order they are listed in, by the chart’s value. Natural ranks series largest first and keeps a time dimension in its own order, such as hour 0 to 23 or Monday to Sunday. Highest first ranks largest first, and Lowest first smallest first. Series past the maximum fold into one Other series.

With Color mode set to Series, the Colors tab holds rules. A rule picks a field and one or more values, and colors every series whose value matches; * in a value matches any run of characters, such as 5* for every 5xx status. A series takes the color of the first rule it matches, and series a rule colors take the shown places first. Once a chart has a rule, every series no rule matches is gray. A chart without rules gives each series its own color, unless a series above it uses it, then a free color, so no two series share a color until the palette runs out. A rule can read a field the chart does not group by, such as a severity beside an error code; saving fills that field in from the chart’s history. A chart holds up to 20 rules. A chart that isn’t grouped draws one series, so its Colors tab has one Color instead of rules, blue until you pick another.

When a chart colored by series is created or its grouping changes, and again when new values appear, Tailglow first adds default rules, marked Default, as soon as the chart has series: red for errors, failures, and 4xx and 5xx statuses; amber for warnings, pending, and 3xx statuses; green for successes, ok, and 2xx statuses; and blue for info, debug, queued, and running beside them. On a status or code field whose values are three-digit numbers, each class becomes one pattern, such as 5*. Tailglow AI then suggests rules of its own, marked Suggested, and may replace the defaults of a field it colors; a field it leaves alone keeps its defaults. Names, regions, and ids are never colored by guess. The AI can also set the view’s Chart labels for an id it finds a name for. Edit a default or a suggestion to make it your own, or remove it and it does not come back. Each team gets a limited number of AI color runs per hour; a chart past it keeps its defaults and waits for suggestions, and while it has no rules its Colors tab says when they arrive. A team that turns Tailglow AI off still gets the defaults.

The Query tab lets you change the view, timestamp field, grouping, values, and filters. Changing it rebuilds the metric. It also shows where series labels come from: a chart grouped by an id, such as user_id, shows each series by the name its records carry when the view’s Chart labels point that field at a name field, such as user_name. Label these with… opens the view’s settings to set them.

Tailglow supports line, area, bar, pie, scatter, radar, stat, gauge, calendar, uptime, breakdown, heatmap, and table charts. Trend lines and forecasts are available for line, area, and bar charts. Alert markers are available for line, area, bar, pie, radar, breakdown, and calendar charts. With trend lines on, the tooltip reports each bucket’s distance from the trend, green above and red below. A single-series chart also says whether the series is growing, shrinking, or roughly flat, and, where the size can be measured, how fast. That reading follows the typical bucket, so a few spikes barely move it, and once a chart covers a few days, weeks, or years it compares each hour, weekday, or month with the same one in other cycles. It names a direction only when the data clearly shows one, and says roughly flat only when the data rules out any change larger than its usual spread or the whole series moves too little to matter; otherwise it says no clear direction. A range too short to tell gets no reading.

Calendar and uptime charts render time itself, so they read best over day-sized buckets. A calendar shades one cell per day (per hour when the range is a week or less) by value, and a metric with several series sums them into one calendar. An uptime strip colors one cell per bucket using the value rules from the Colors tab; a metric with several series draws one strip per series plus an Overall row carrying the worst value of any series in each bucket. An uptime chart in By Value mode with no rules yet offers a one-click preset: 99.9 and above green, 99 and above amber, anything lower red. Click any cell on either chart to zoom into that period.

Breakdown, heatmap, and table charts summarize the whole range instead of drawing it over time. A breakdown draws one bar per group in the chart’s order, and folds the groups past the series limit into one Other bar; a time scrubber under it replays the range bucket by bucket, as a pie’s does. With a time dimension, a breakdown draws one column per hour of the day or per weekday, and a heatmap places every hour of the week on a grid. Time dimensions fold the metric’s hourly data on the server in the time zone you are viewing in, so colleagues in different zones each see their own clock, and they cover at most 400 days. A table lists the series with their value, share of the total, and trend, and pages through them when there are more than fit.

Forecasting

A forecast extends a metric’s best fit line past your latest data, so the chart shows where the metric is heading.

Turn it on from the Analysis tab of the metric’s settings with Show Forecast. Default Horizon sets how far ahead the chart looks: Next 7 days, Next 30 days, Next 90 days, End of quarter, End of year, or Next year. Relative horizons resolve when the chart is viewed, so a metric set to Next 30 days always looks 30 days past the day you open it. Model sets the shape of the projection. Auto follows whichever model fits the current data best, or you can pin Linear, Exponential, Logarithmic, Logistic, or Sinusoidal. Either way, the list marks the model that currently fits your data best.

Every line, area, and bar chart in the app carries a forecast control in its header, whether or not the metric has forecasting saved. Use it to change the horizon or the model for your own view. The metric’s saved settings do not change, and neither does what anyone else sees. Use metric default returns you to the saved settings, and your choice lasts only for the current visit.

The projected part of the chart is drawn dashed, with a shaded band around it covering the range of likely values. The band is always shown with a forecast. In the tooltip, projected buckets add labeled columns: the estimate appears as a small chip on a track, with the bucket’s bounds beside it. A bucket that is still filling in shows the value recorded so far under Now, with Est. and Max for the projected landing and ceiling; a fully projected bucket shows Min and Max around the estimate. Buckets that are fully measured keep the plain tooltip.

When a fitted model explains little of a series’ history, or its first projection leaps far from recent values, that series carries a small warning triangle in the tooltip: the forecast still draws, but read it as low confidence.

Forecasts need a line, area, or bar chart. On a bar chart every visible series gets its own fit, and the projected buckets draw as hatched ghost bars in place of the dashed line and band, stacked in the same order as the bars. The tooltip reports each series’ projection, plus a Total row when there are several series. On a stacked line or area chart the forecast projects the stack’s total.

Late data

Events can arrive with older timestamps when importing history, replaying a queue, or batching an integration. Newly created or rebuilt metrics automatically incorporate accepted view records regardless of how old their metric timestamps are. The update includes minute, hour, day, and month rollups, including unique counts and distributions.

An internal processing checkpoint tracks published input already incorporated into the metric. It advances forward even when the event dates belong in the past. Coverage describes a different question: which displayed dates still have known work outstanding. Those dates can become pending again when late input arrives.

Retention still controls how long source and view data are available. Automatic updates cannot recover records that have already been deleted.

Metrics created before this update

Existing metrics keep their previous processing behavior until rebuilt. Re-backfill each metric once to adopt automatic updates for accepted late input. This rebuild uses retained view data.

The Late Data setting under project Settings → General applies only to those older metrics. Its default window is 120 minutes, with a maximum of 129,600 minutes (90 days). Events outside that window, and some large historical batches, can appear in Late Data Waiting. The records remain stored; the card’s Re-backfill action processes a held batch. Changing the window affects later arrivals, not batches already held. New and rebuilt metrics do not use this age gate.

Monitors

Open a metric and use its monitor control to manage monitors. Click the add icon to create one. A metric can have up to 15 monitors.

Auto and Manual

Auto turns a description such as “Alert me if no data arrives for 10 minutes” into a monitor. Tailglow fills in every setting, lists the choices it had to assume, and opens the form for you to review before saving. When the description leaves something out that it cannot fill in, such as a threshold, it asks a question instead of guessing. Each team can draft a limited number of monitors per hour. Manual opens the same form empty.

The condition

Each check takes the metric’s data in a window, computes one statistic, and compares it with a threshold in the metric’s unit. The statistics are count, sum, average, minimum, maximum, last value, median, 95th and 99th percentile, and unique values. Every statistic covers the whole window: an average over 10 minutes averages every reading in those 10 minutes, and All data combined combines every series before computing it.

To detect that a feed has stopped, choose No data, then a window such as 10 minutes. It checks that no readings arrived in that window. A measured value of zero still counts as data.

For averages, extremes, the last value and percentiles, choose what a window without readings means: Skip the check (the default) leaves any alert as it is, and Count it as 0 compares 0 with the threshold. Counts, sums and unique values are always 0 for an empty window.

Scope and windows

Use All data combined for one value across the whole metric, Any series for one alert while any series matches (the alert records which series opened it), or Each series separately for a separate alert per series. Series filters narrow the series being watched.

Windows have presets and a Custom duration in whole minutes. All time starts where the metric’s all-time chart starts and is unavailable for No data.

When an alert opens

  • On the first matching check opens an alert as soon as a check matches.
  • After holding for a duration opens once the condition has matched for that long. A gap between checks longer than the hold starts it over.
  • After several matching checks opens once enough checks match within a window. The matches need not be in a row, and the alert ends once the window holds fewer matches than required.

The Evaluation frequency sets how often the rule is checked, as a preset or a cron expression in UTC (for example 0 9 * * 1-5 for weekdays at 09:00), at most once a minute. Tailglow refuses a hold or a number of matching checks that the frequency could never reach. Alert length keeps an alert open Until the condition clears or records an Instant event for a milestone that does not clear on its own. An Expires at date stops the monitor after that date.

What a check waits for

A check runs only on complete data, so a processing delay never reads as missing data. A new metric is checked as soon as its history has finished loading, and checks are skipped while a metric rebuilds, not replayed afterwards. Pausing a monitor ends its open alerts; resuming it starts from the next check without going back over the paused time. Changing the rule ends open alerts, while changing only the frequency keeps them. Deleting the data behind a metric ends its alerts.

The preview checks the most recent window with the same rules and shows each series’ value and whether it matches. It saves nothing, sends nothing, and does not simulate holds or repeated checks.

A blinking red indicator means an alert is currently open. Ended alerts remain shaded on the chart as history, with their original condition and end time, but do not keep the indicator blinking.