blob: 8dfc881d1e17528b89b0a0258d2e86fa0e7c363e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, config, ... }:
with lib;
let
cfg = config.services.brook;
in
{
options.services.brook.metrics = {
enable = mkEnableOption "brook-web metrics backend";
port = mkOption {
type = types.int;
description = ''
Port to bind the brook-metrics backend server to.
'';
};
path = mkOption {
type = types.str;
description = ''
Set the BROOK_METRICS_PATH environment variable to let
brook-metrics know where to export the csv output to.
'';
};
};
config = mkIf cfg.enable {
};
}
|