Log-based metrics, now in beta
Turn any log source into a stream of metrics — without writing application code or paying to index every line.
Log-based metrics is now in beta, and joins the existing beta and preview features in AppSignal Labs. Define a query against any log source, choose a metric type, and AppSignal extracts the value during ingestion.

AppSignal supports three metric types:
- Count — count matching log lines (5xx responses, failed logins, retries).
- Gauge — record the value of an attribute at ingestion (queue depth, connection count).
- Measurement — build a histogram of a numeric attribute over time (request duration, payload size, job runtime).
Extraction runs as a log line action, in an order you control. Place it before any filter actions on the same source and you can keep the metric while discarding the underlying log line — handy for high-volume sources you don't need to search line-by-line.
To create one, open the Logs Explorer and select Create a metric — either from the view's ⋮ menu (using the current query) or from a numeric attribute on any log line (using that attribute as the field). Manage your metrics on the new Metrics page under Logging. Any metrics created through the AppSignal MCP manage_log_line_action tool are visible there too.
Read the documentation for examples and patterns.