export and scrape dibbler prometheus stats #143

Open
vegardbm wants to merge 1 commits from dibbler-prometheus into main
Owner
No description provided.
vegardbm added 1 commit 2026-06-07 03:33:27 +02:00
export and scrape dibbler prometheus stats
Eval nix flake / evals (push) Successful in 6m26s
Eval nix flake / evals (pull_request) Successful in 8m52s
13a9af64bc
Author
Owner
closes Drift/issues#192
vegardbm reviewed 2026-06-07 09:35:19 +02:00
@@ -0,0 +22,4 @@
help = "Sum of purchases for the current day.";
labels = [ "thing" ];
values = [ "sum" ];
query = "SELECT SUM(price) FROM purchases GROUP BY DATE(time) ORDER BY DATE(time) DESC LIMIT 1";
Author
Owner

I have a feeling this is just stupid and inefficient. There should be no reason to sort this. It does work tho.

I have a feeling this is just stupid and inefficient. There should be no reason to sort this. It does work tho.
Some checks are pending
Eval nix flake / evals (push) Successful in 6m26s
Eval nix flake / evals (pull_request) Successful in 8m52s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dibbler-prometheus:dibbler-prometheus
git checkout dibbler-prometheus
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drift/pvv-nixos-config#143