changelog

LogTide 1.8 release notes

Metrics rebuilt around the hosts and services that send them, with an explorer, a catalog and metric alerts, plus an MCP endpoint and access tokens so AI agents such as Claude Code and Cursor can work with LogTide data.

v1.8.0 Released Feature

1.8.0: New Metrics, metric alerts and MCP for AI agents

  • New Metrics: sources, host and service pages, a multi-query explorer and a metric catalog
  • Metric alerts on any query, per group, with the same incidents and notifications as other alerts
  • Dashboard variables and a new metrics panel that queries several projects
  • MCP endpoint so AI agents can search, triage and configure LogTide
  • Access tokens with per data kind read or write and per project scope
  • Correct histogram percentiles and counter rates on every storage engine

This release rebuilds Metrics from scratch around who sends the data: every host and service that reports metrics gets a status, a page with its resources, logs and traces, and a place in a new explorer where several metrics can be charted, grouped, combined with formulas and turned into an alert. It also adds an MCP endpoint, so an AI agent such as Claude Code or Cursor can search logs, read traces and metrics, triage incidents and create alert rules with a scoped access token. See Metrics, MCP for AI agents and Dashboards.

Before upgrading: migrations 081 to 086 run on startup. They add the metric catalog (units and descriptions), dashboard variables, metric alert rules and their no data state, and access tokens. Existing metric chart and metric stat panels are converted to the new metrics panel automatically (dashboard schema version 2). If the API and the frontend share one origin behind your own reverse proxy, route /mcp to the backend like /api. Operating system and CPU count on the host page need the hardware agent 1.2.0.

Added

  • New Metrics: sources, explore and catalog: the Metrics page is rebuilt from scratch around who sends the data.
    • Sources (the first screen) lists every host and service that sends metrics across the organization’s projects, in one table grouped by kind. Hosts show status, CPU, memory, fullest disk, network and load with colored meters and a trend; services show requests per second, error rate and p95 with sparklines. The worst status sorts first, and every non-ok status says why (“Disk / at 93%”, “No data for 14 min”).
    • Host and service pages: header with status and host info, then tabs. A host has Resources (CPU by state, memory, load, swap, filesystems by mountpoint, disk and network throughput), Hardware (the former Monitor > Hardware page), Services running on it, Logs, Traces and every metric it sends. A service has an overview with requests, errors and latency, the hosts it runs on, Logs, Traces and its metrics.
    • Explore: several metrics in one chart (queries A to F), filters and group by on data point or resource attributes (host.name, service.name, k8s.pod.name…), time and space aggregation, top N with an “Other” series, formulas (A / B * 100), compare with the previous hour, day or week, auto refresh, and a shareable link. Grouping by a source (host, service, container) shows one small chart per source by default. Suggestions offer one-click breakdowns.
    • Catalog: every metric with its type, unit, description, projects and last seen, plus its attributes, the sources that send it and the dashboards that use it.
  • Customize a source view: a host or service page can be saved as a dashboard with one click. The dashboard keeps every panel, gets a selector for the host or service, and can take panels from any other source, so an app and its VPS can share one page.
  • Dashboard variables and the new metrics panel: dashboards can declare variables (a host or service selector at the top, stored with the dashboard and in the URL), a project variable scopes every panel that reads all projects, and the new metrics panel runs any explorer query across several projects with a live preview while it is edited. Existing metric chart and metric stat panels are converted automatically (dashboard schema version 2).
  • Metric alerts: alert rules on any metric query, created from the explorer with “Create alert”: above or below a threshold over a window, for N checks in a row, per group when the query is grouped. They use the same lifecycle, notifications, incidents, snooze, re-notify and webhooks as the other alert rules, count toward the alert rule limit, and show their groups, values and a chart in the incident. A group that stops sending data is resolved with reason “no data” after 10 checks and at least an hour.
  • Service RED from HTTP metrics: a service without traces still gets requests per second, error rate and p95, computed from its http.server.request.duration (or the older http.server.duration) histogram.
  • MCP endpoint for AI agents (#339): POST /mcp serves a Model Context Protocol endpoint (Streamable HTTP, stateless) so agents such as Claude Code and Cursor can work with LogTide data. Nine data kinds: logs (search, context, correlation, wait_for_logs to follow new logs), traces, metrics (list, labels, query_metric, overview), alerts (rules, history, notification channels by name and type), security (incidents, detections, Sigma rules, detection packs), errors, monitoring (monitors, status incidents, maintenances, project health, hardware hosts), dashboards and saved searches, and sessions with web vitals. Opt-in write for alerts, security, errors, monitoring and dashboards: create and edit alert rules, snooze, triage incidents and error groups, comment, enable Sigma rules and detection packs, pause monitors, schedule maintenances, create dashboards, panels and saved searches. Writes run the same checks as the REST API (validation, limits, ownership, role) and are audited with the token. No tool deletes anything, and disabling a detection pack stays in the UI. Webhook URLs, channel configuration, email recipients and monitor credentials are never returned. LogTide account emails (members, assignees, authors, recipients) are never returned either; values that come from your own log data, such as the session user field, are returned as stored and may contain an email. Every tool is limited to the projects of the credential. It accepts project API keys of type full (read only: logs, traces, metrics, alerts) and access tokens. List results are shortened for an agent context window. If the API and the frontend share one origin behind a reverse proxy, route /mcp to the backend like /api. See MCP for AI agents.
  • Access tokens: MCP-only credentials (lta_ prefix) owned by an organization (Settings > Access tokens, owners and admins) or by a user (Settings > Account > Access tokens). The creator picks the data kinds (logs, traces, alerts, metrics, security, errors, monitoring, dashboards, sessions), read or read and write for the five kinds that can change data, the projects or all of them, and an optional expiry. Tokens are read-only unless writing is chosen at creation. Personal tokens are limited to what the user can access at the time of each request, and revoking or expiring a token takes effect immediately. The new access_tokens.max capability limits organization tokens.
  • Access primitives for extensions: extensions can now look up users and organizations by email or slug, create verified users without a password, open and revoke login sessions, clear a local password, list and manage organization members (never the owner), and register a login guard that is consulted before every login, registration, password reset and provider sign-in and can send a user to another URL. Member changes, session changes and password removal are recorded in the audit log. The extension API stays at version 1 and without extensions nothing changes. The login page becomes two steps only when a frontend extension provides loginDiscovery. See docs/extensions.md.
  • GeoIP labels for tables (#308): the GeoIP pipeline step also writes geo_label, the place without coordinates (Rome, Italy), for Top N and log tables. An option on the step shortens country names in the label (New York, USA, London, UK), off by default. A second option writes geo_hit, the label joined with the host the client reached and an optional role read from another metadata field (New York, USA → host.domain.com - agent), so one Top N column ranks where requests come from and what they hit. The host comes from http_host by default, is reduced to a bare hostname so full URLs do not multiply the rows, and logs without it get no geo_hit. geo_place and the geo map are unchanged. Applies to logs processed after the change.
  • Reserved organization slugs: RESERVED_ORGANIZATION_SLUGS takes a comma separated list of slugs that organizations may not use. Existing organizations keep theirs.

Changed

  • Hardware health next to host resources: Monitor > Hardware still lists every host with its hardware status, components and findings, now across all the projects in scope, and a host opens the Hardware tab of its page in Metrics, next to CPU, memory and disks. The Metrics host list shows the hardware status too, with status tiles to filter by health.
  • Operating system and CPU count on the host page: with hardware agent 1.2.0 (released separately) the host header shows the operating system from os-release (for example Debian GNU/Linux 12 (bookworm)) and the number of logical CPUs. Older agents keep showing the kernel version.
  • Metric units: the unit and description sent over OTLP are kept (metric catalog, migration 081) and used everywhere: bytes, rates, durations, temperatures and percentages are formatted on axes, legends and tables.

Fixed

  • Histogram metrics: percentiles, averages and rates of OTLP histograms are now computed from their buckets on every storage engine, with cumulative histograms turned into per-interval deltas (counter resets handled) and exponential histograms converted to a fixed bucket grid at ingest. Before, p95 of a histogram metric was computed over its running sum.
  • Counter rates: delta and cumulative sums are told apart using the OTLP aggregation temporality, so rates of delta counters are no longer wrong.
  • Metrics no longer averaged across hosts: every chart can split by host or any resource attribute; the old page mixed every host of a service into one line.
  • Disabling a detection pack no longer deletes anything: the rules it created are turned off and kept, so detection history, exceptions and notification channels survive. Enabling the pack again turns its rules back on, including ones you had switched off individually, and refreshes rules whose YAML you did not edit from the pack definition; rules whose YAML you edited keep your version. Enabling also refuses notification channels of another organization and checks the active rule limit only for rules that become active.
  • Reserved pack- rule ids: Sigma import and SigmaHQ sync no longer accept a rule whose id starts with pack-, so a rule of yours can never be mistaken for a detection pack rule. Import answers with a clear error and sync skips the rule.
  • Incidents no longer mix projects: automatic grouping now keeps detections of different projects in separate incidents, and each incident belongs to the project of its detections. Existing incidents are left as they are.
  • Dashboards stay in your organization: a dashboard can only be attached to an active project of its own organization, and every panel can only point at active projects of its organization, whether it is created, edited, imported or duplicated through the API or by an AI agent.
  • Monitor changes are audited: creating, editing and deleting a monitor now writes an audit log entry with the monitor name, type and changed field names, never its target or credentials.