Skip to content

pluto: Enable storagebox exporter and scrape it#940

Merged
mweinelt merged 1 commit intoNixOS:mainfrom
Erethon:pluto-storagebox-exporter
Jan 20, 2026
Merged

pluto: Enable storagebox exporter and scrape it#940
mweinelt merged 1 commit intoNixOS:mainfrom
Erethon:pluto-storagebox-exporter

Conversation

@Erethon
Copy link
Copy Markdown
Contributor

@Erethon Erethon commented Jan 20, 2026

This runs the Hetzner storagebox exporter on Pluto and also has Prometheus scrape it.

I haven't tested this diff as is because I don't have access to the infra to verify everything works as expected. It also requires someone to create a Hetzner token and add/commit it as a secret for Pluto. The config currently expects it to be in build/secrets/storagebox-exporter-token.age.

Happy to iterate on this with someone if it doesn't work out of the box.

Closes #853

@Erethon
Copy link
Copy Markdown
Contributor Author

Erethon commented Jan 20, 2026

CI is failing due to the missing secret. Should I commit a fake secret that someone can overwrite in the future to make CI happy?

@mweinelt mweinelt force-pushed the pluto-storagebox-exporter branch from c5164cf to fac46d6 Compare January 20, 2026 14:13
@mweinelt
Copy link
Copy Markdown
Member

Provided the API token.

Comment thread build/secrets.nix Outdated
@Erethon Erethon force-pushed the pluto-storagebox-exporter branch 2 times, most recently from c5164cf to 1124e03 Compare January 20, 2026 14:21
@Erethon Erethon marked this pull request as ready for review January 20, 2026 15:09
@Erethon Erethon requested a review from a team as a code owner January 20, 2026 15:09
This runs the Hetzner storagebox exporter on Pluto and also has
Prometheus scrape it.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
Closes: NixOS#853
@mweinelt mweinelt force-pushed the pluto-storagebox-exporter branch from 1124e03 to d51de0c Compare January 20, 2026 15:59
@mweinelt mweinelt enabled auto-merge January 20, 2026 15:59
@mweinelt mweinelt added this pull request to the merge queue Jan 20, 2026
Merged via the queue into NixOS:main with commit 4c3171a Jan 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Monitor storagebox usage

2 participants