Skip to content

Commit

Permalink
prometheus: 3.0.1 -> 3.1.0; document prometheus upgrade (NixOS#379084)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz authored Feb 5, 2025
2 parents dd1519d + f980323 commit 7e91c08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@

- The default version of `z3` has been updated from 4.8 to 4.13. There are still a few packages that need specific older versions; those will continue to be maintained as long as other packages depend on them but may be removed in the future.

- `prometheus` has been updated from 2.55.0 to 3.1.0.
Read the [release blog post](https://prometheus.io/blog/2024/11/14/prometheus-3-0/) and
[migration guide](https://prometheus.io/docs/prometheus/3.1/migration/).

- `kanata` was updated to v1.7.0, which introduces several breaking changes.
See the release notes of
[v1.7.0](https://github.com/jtroo/kanata/releases/tag/v1.7.0)
Expand Down
10 changes: 5 additions & 5 deletions pkgs/by-name/pr/prometheus/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
}:

let
version = "3.0.1";
version = "3.1.0";
webUiStatic = fetchurl {
url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz";
hash = "sha256-MP7B7gVRQnspXLLNmPH8t3DYKbsQkDV9hPJYbM2rB9M=";
hash = "sha256-05DaaDIFtADnkLFqdHe5eUvo6LRz6BduMvGVmzOeurM=";
};
in
buildGoModule rec {
Expand All @@ -51,11 +51,11 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "prometheus";
repo = "prometheus";
rev = "v${version}";
hash = "sha256-dN6ckW451G45ZO7baY7H4qEf88ZDeISZwZ3uwWPZsW8=";
tag = "v${version}";
hash = "sha256-Q3f0L6cRVQRL1AHgUI3VNbMG9eTfcApbXfSjOTHr7Go=";
};

vendorHash = "sha256-c96YnWPLH/tbGRb2Zlqrl3PXSZvI+NeYTGlef6REAOw=";
vendorHash = "sha256-vQwBnSxoyIYTeWLk3GD9pKDuUjjsMfwPptgyVnzcTok=";

excludedPackages = [
"documentation/prometheus-mixin"
Expand Down

0 comments on commit 7e91c08

Please sign in to comment.