Skip to content

minio-exporter: remove#318841

Merged
SuperSandro2000 merged 2 commits intoNixOS:masterfrom
msanft:minio-exporter/remove
Jun 25, 2024
Merged

minio-exporter: remove#318841
SuperSandro2000 merged 2 commits intoNixOS:masterfrom
msanft:minio-exporter/remove

Conversation

@msanft
Copy link
Contributor

@msanft msanft commented Jun 10, 2024

Description of changes

Please review this carefully, it is my first module deprecation.

Remove the minio-exporter module, as Minio has built-in Prometheus metrics for a while: https://min.io/docs/minio/linux/operations/monitoring/collect-minio-metrics-using-prometheus.html.

The minio-exporter package doesn't use Go modules, and can't be ported without rewriting of a lot of the source, as it has very outdated dependencies.

Related to #318069

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: documentation This PR adds or changes documentation 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` labels Jun 10, 2024
@msanft msanft force-pushed the minio-exporter/remove branch from 07698a2 to 7318a52 Compare June 10, 2024 16:02
@msanft msanft force-pushed the minio-exporter/remove branch from 7318a52 to 8630124 Compare June 10, 2024 19:14
@msanft msanft requested a review from SuperSandro2000 June 10, 2024 19:14
@katexochen katexochen mentioned this pull request Jun 11, 2024
35 tasks
@katexochen katexochen requested a review from bachp June 11, 2024 19:33
Copy link
Member

@bachp bachp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me this looks OK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if there is a way to enable this declaratively. But it seems it can only be done via mc admin command not via any form of config or environment variable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that's worth the effort.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jun 11, 2024
@msanft msanft force-pushed the minio-exporter/remove branch from 8630124 to bc2c45c Compare June 25, 2024 06:32
@msanft msanft force-pushed the minio-exporter/remove branch from bc2c45c to 50d911c Compare June 25, 2024 06:42
@msanft msanft requested a review from katexochen June 25, 2024 06:42
@SuperSandro2000 SuperSandro2000 force-pushed the minio-exporter/remove branch from 50d911c to 43990c5 Compare June 25, 2024 09:00
@ofborg ofborg bot added 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 25, 2024
@SuperSandro2000 SuperSandro2000 removed the request for review from katexochen June 25, 2024 10:50
@SuperSandro2000 SuperSandro2000 merged commit 31ec7f5 into NixOS:master Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: clean-up This PR removes packages or removes other cruft 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants