Unverified Commit cb6adfec authored by Yorick's avatar Yorick Committed by GitHub
Browse files

victorialogs: init at 1.24.0 (#418806)

parents d90e42c5 5f5df9b7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@
- `space-orbit` package has been removed due to lack of upstream maintenance. Debian upstream stopped tracking it in 2011.
- `command-not-found` package is now disabled by default; it works only for nix-channels based systems, and requires setup for it to work.

- `victoriametrics` no longer contains VictoriaLogs components. These have been separated into the new package `victorialogs`.

- `gnome-keyring` no longer ships with an SSH agent anymore because it has been deprecated upstream. You should use `gcr_4` instead, which provides the same features. More information on why this was done can be found on [the relevant GCR upstream PR](https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/67).

- `lima` package now only includes the guest agent for the host's architecture by default. If your guest VM's architecture differs from your Lima host's, you'll need to enable the `lima-additional-guestagents` package by setting `withAdditionalGuestAgents = true` when overriding lima with this input.
+2 −0
Original line number Diff line number Diff line
@@ -80,6 +80,8 @@

- `vmalert` now supports multiple instances with the option `services.vmalert.instances."".enable`

- [`services.victorialogs.package`](#opt-services.victorialogs.package) now defaults to `victorialogs`, as `victoriametrics` no longer contains the VictoriaLogs binaries.

- The `wstunnel` module was converted to RFC42-style settings, you will need to update your NixOS config if you make use of this module.

## Other Notable Changes {#sec-release-25.11-notable-changes}
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ in
{
  options.services.victorialogs = {
    enable = mkEnableOption "VictoriaLogs is an open source user-friendly database for logs from VictoriaMetrics";
    package = mkPackageOption pkgs "victoriametrics" { };
    package = mkPackageOption pkgs "victorialogs" { };
    listenAddress = mkOption {
      default = ":9428";
      type = types.str;
+1 −0
Original line number Diff line number Diff line
@@ -1478,6 +1478,7 @@ in
  vector = import ./vector { inherit runTest; };
  velocity = runTest ./velocity.nix;
  vengi-tools = runTest ./vengi-tools.nix;
  victorialogs = runTest ./victorialogs.nix;
  victoriametrics = handleTest ./victoriametrics { };
  vikunja = runTest ./vikunja.nix;
  virtualbox = handleTestOn [ "x86_64-linux" ] ./virtualbox.nix { };
+26 −0
Original line number Diff line number Diff line
{ lib, ... }:
{
  name = "victorialogs";
  meta.maintainers = with lib.maintainers; [ marie ];

  nodes.machine =
    { pkgs, ... }:
    {
      services.victorialogs.enable = true;

      services.journald.upload = {
        enable = true;
        settings = {
          Upload.URL = "http://localhost:9428/insert/journald";
        };
      };
      environment.systemPackages = [ pkgs.curl ];
    };

  testScript = ''
    machine.wait_for_unit("victorialogs.service")

    machine.succeed("echo 'meow' | systemd-cat -p info")
    machine.wait_until_succeeds("curl --fail http://localhost:9428/select/logsql/query -d 'query=\"meow\"' | grep meow")
  '';
}
Loading