prometheus: scrape synapse metrics
Martin Weinelt committed
Jan 26, 2024 at 16:19 UTC
d049c89312158fc06217afc8b5023228a7fc6e3f
2 files changed
+12
delft/pluto/prometheus/default.nix
+1
@@ -12,6 +12,7 @@
12
./exporters/github.nix
13
./exporters/hydra.nix
14
./exporters/json.nix
15
+ ./exporters/matrix-synapse.nix
16
./exporters/nixos.nix
17
./exporters/node.nix
18
./exporters/packet-sd.nix
delft/pluto/prometheus/exporters/matrix-synapse.nix
new
+11
@@ -0,0 +1,11 @@
1
+{
2
+ services.prometheus.scrapeConfigs = [ {
3
+ job_name = "matrix_synapse";
4
+ scheme = "https";
5
+ static_configs = [ {
6
+ targets = [
7
+ "matrix.nixos.org:443"
8
+ ];
9
+ } ];
10
+ } ];
11
+}