Skip to content

v9.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:09
1b35922

What's Changed

  • feat: monthly periodic mutes. A mute window can repeat on days of the month (1–31, or the last day of the month), and weekly and monthly windows can be mixed in one mute (#3515)
  • feat: Bark (iOS push) as a native notification channel. Each user fills in their own device key in their profile (#3512)
  • feat: SMTP channels can be saved without a username and password, for relays that accept anonymous senders (#3511)
  • feat: OAuth2 SSO works with IdPs whose token endpoint wraps the response (TokenResponsePrefix) or only accepts client credentials in the form body (TokenAuthStyle) (#3454)
  • feat: n9e-edge can sync only the targets of its own engine with [Alert.Heartbeat] SyncOwnTargetsOnly, off by default (#3465)
  • feat: the AI query assistant is now available in the open-source edition
  • feat: dashboard variables support Grafana-style formats (${var:format} / [[var:format]]), and expression queries interpolate built-in variables such as $__interval and $__range
  • feat: the metric explorer graph uses a dedicated time series chart. The x axis always covers the full query range, even when data is sparse, and the legend is a sortable, filterable table
  • feat: the time picker shows the selected range and time zone on hover, edits ranges inline, rejects future times, and the refresh button follows the real request state
  • feat: the notification rule list shows a summary of each notification config, with details on hover
  • perf: the center serves edge target sync and targets-of-alert-rule from its in-memory cache instead of scanning the target table
  • fix: firing events reloaded after a restart keep their trigger's recover condition ("recover only when ..." / "don't recover on no data"), so they are no longer recovered on the first evaluation (#3503)
  • fix: the share-charts, OpenSearch helper and board pure APIs require login when anonymous query is off (#3506)
  • fix: the built-in Kubernetes container CPU / memory rules work on current clusters, and the Elasticsearch yellow-status and conntrack rules wait before firing instead of firing on a single sample
  • docs: Japanese README (#3470)

v9 highlights

  • Introducing Nightingale AI: a built-in AI assistant, a Skills marketplace, LLM configuration management, and page-aware prompt recommendations
  • A built-in time series database that works out of the box, so small-scale setups no longer need a separate Prometheus / VictoriaMetrics
  • Redesigned navigation menu, global layout and table UI
  • Fully rebuilt alert rule / mute rule / subscribe rule / notification rule forms
  • Reworked notification channel management
  • A new event pipeline execution tracking page that shows the processing in detail
  • A new generation of log explorer with unified support for Elasticsearch, Loki and VictoriaLogs

Upgrade steps

Replace the binary and restart. One schema change: datasource.description is widened to text (#3504). AutoMigrate applies it on startup. To run it by hand, see docker/migratesql/migrate.sql (MySQL: ALTER TABLE `datasource` MODIFY `description` text COMMENT 'description';, PostgreSQL: ALTER TABLE datasource ALTER COLUMN description TYPE text;).

Notes

  • If you run n9e-edge or n9e-pushgw, upgrade them together with n9e. Edge nodes on an older version ignore monthly mutes, so alerts covered by a monthly mute can still fire on them during a rolling upgrade
  • Turn on SyncOwnTargetsOnly only after every center is upgraded. With it on, an edge knows only the hosts of its own engine: host variables, mutes by target business group / tags and event target info cover only those hosts
  • With [Center.AnonymousAccess] PromQuerier = false, an anonymous visitor who opens a single-chart share link is now sent to the login page
  • Stored rules with an empty host !~ or tag != filter used to fail to evaluate; they now match all targets. Check for such rules before upgrading
  • OAuth2 login now fails when the userinfo endpoint returns a non-2xx status or the mapped username is blank. Earlier versions could create a user with an empty username in that case; check for one and remove it
  • Bark is created automatically at startup and pushes through the public https://api.day.app by default. Users fill in Bark Device Key in their profile. See https://github.com/ccfos/nightingale/blob/main/doc/api/notify-channel-native.md
  • The AI documentation search is embedded in the official release binaries. Source builds need scripts/build-qa-code-assets.sh and -tags qa_code_embed to include it
  • Building the frontend from source now needs Node.js ^20.19 or >= 22.12 (Vite 8)
  • The AI assistant relies on Redis Streams, so Redis 5.0 or later is required (Redis 7.0+ recommended for Cluster users, to enable sharded Pub/Sub)

Full Changelog: v9.3.0...v9.4.0