-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
speedtest-exporter: init at 1.1.4 + nixos/prometheus-exporters: init speedtest-exporter #467982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/6134 |
|
the correct title should be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually no: split your PR into three commits:
- new package (without test in passthru)
- new module
- new test (and add it to the package's passthru)
See common conventions (one commit per logical unit), individual title conventions + follow dependency order. The final title format should be PROGRAM: init at VERSION + nixos module
2f32986 to
b87e4cc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
| "-X main.builtBy=nixpkgs" | ||
| "-X main.commit=unknown" | ||
| "-X main.date=unknown" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did you get these from? i can only see version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are other compiled packages that I used as examples:
- https://github.com/emaiax/nixpkgs/blob/prometheus-speedtest-exporter/pkgs/by-name/pr/prometheus-alertmanager/package.nix
- https://github.com/emaiax/nixpkgs/blob/prometheus-speedtest-exporter/pkgs/by-name/pr/prometheus-mysqld-exporter/package.nix
- https://github.com/emaiax/nixpkgs/blob/prometheus-speedtest-exporter/pkgs/by-name/pr/prometheus-node-exporter/package.nix
aea4b7d to
abaabd3
Compare
Reintroduces `speedtest-exporter` enabling Prometheus metrics export for Ookla speedtests (runtime dependency).
Introduces a new NixOS module for the Prometheus speedtest exporter, allowing configuration of debug mode and refresh interval.
Add tests for the prometheus-speedtest-exporter, enabling service, debug mode, and refresh interval configuration. Also links the test in the package's passthru.tests for integration with NixOS test infrastructure.
abaabd3 to
c358fb2
Compare
|
This PR reintroduces the
prometheus-speedtest-exporterpackage and nixos module for configuring the prometheus speedtest-exporter. This enables monitoring of network speed metrics via Prometheus using the Ookla Speedtest CLI.speedtest-exporter timeline:
not plannedThe caarlos0/speedtest-exporter has been working for years without issues, so I think it's a solid option to bring this exporter back. This exporter requires pkgs/by-name/oo/ookla-speedtest to be available in runtime; however, speedtest-cli is proprietary software.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.