Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
155 changes: 32 additions & 123 deletions build/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/pluto/prometheus/exporters/fastly.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ config, ... }:

{
age.secrets.fastly-read-only-api-token.file = ../../../secrets/fastly-read-only-api-token.age;
age.secrets.fastly-exporter-env.file = ../../../secrets/fastly-exporter-env.age;

services.prometheus = {
exporters.fastly = {
enable = true;
listenAddress = "127.0.0.1";
tokenPath = config.age.secrets.fastly-read-only-api-token.path;
environmentFile = config.age.secrets.fastly-exporter-env.path;
};

scrapeConfigs = [
Expand Down
2 changes: 1 addition & 1 deletion build/secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let

secrets = with keys; {
alertmanager-matrix-forwarder = [ machines.pluto ];
fastly-read-only-api-token = [ machines.pluto ];
fastly-exporter-env = [ machines.pluto ];
hydra-aws-credentials = [ machines.mimas ];
hydra-github-client-secret = [ machines.mimas ];
hydra-mirror-aws-credentials = [ machines.pluto ];
Expand Down
19 changes: 19 additions & 0 deletions build/secrets/fastly-exporter-env.age
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
age-encryption.org/v1
-> ssh-ed25519 s9hT2g dgCOoedaGMAU+kk+TCYfSGhcEjkT8XOY2O1i/Dc3vW4
7AmsZxzp5QBVAkaAzSce1axdQtUyJoqeTvLSkQ6j9nw
-> ssh-ed25519 Gr9EaQ pJD5EMbL4SJl75Tal0IVykiPIpIwBjcw867N0c0D4GI
PzGaPo1LnRjlC6qsCxFjplSMrkoMIUFd+m0BeSKndlA
-> ssh-ed25519 3ENwVg o8/QdXUWRL9O8qaBpiZYiDE6Y+P3K539RAgSQFC/Gi0
7YxQavzqt3G5xxXNdWa4m2R5Yc7xL3yywhnqX/LWWA0
-> ssh-rsa MuWD+w
UiC3Jo2FMnLWRuOiP4xp1q7a8cIKUGFw8D+jODMfDTbBwdZqyeoUf8a3WvdHmCA0
NvCpr+CBa7ZQ4oeE9sw9iVdbsvLxR2Ny+zFfNzih2BHR/tbqSFZSZj2oTZcponWj
h6wrAsu1QMQx0Ofpr7kco/DWMGjRofOcKQJbmoqDiKKAsf9rvzhVu/wJvaTNQqAU
Nge6CdKT/vjALtHb2W6GgE6PY+yEbH34iGqC7KCE1nLYHIpwSGBdL9bQRsZhksOh
JLVaure4CH7XTbdvYQVmwK9lN/6DTlxTU/hR+POD4oCGl8mv7ZaeNHV/4IN10C2v
MWeDLGKQO37QgTt82C4eyQ
-> ssh-ed25519 92bXiA NjVy+K4v9VBBR6rcaSNVy6yLzPnOHBq+6oeefTtmb24
IsWe5OQp9hTOGYkmxMCnp+z2XRxuOhJ6xTVbc+Ucu5Y
--- SflrB0oDOkbOfGHFTHV+lm4ruzKfrPiSC6owWmx3uGA
BóÛáË÷t(J/&:n ÊèKTb55¯ e
pÃ]N„0ý1DTkŒî@#s}„ *ð'癚³W:+é“F¡ŒC‰ÅÐp\±qz‰’_¯sl
33 changes: 0 additions & 33 deletions build/secrets/fastly-read-only-api-token.age

This file was deleted.

Loading