Skip to content

Commit

Permalink
feat(hubble): support interval in nixos config
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiserKarel committed Jul 25, 2024
1 parent ba7aea8 commit b4a442c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions hubble/hubble.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,21 @@
options.chunk_size = mkOption { type = types.int; example = 1; default = 200; };
options.until = mkOption { type = types.int; example = 1; default = 1000000000000; };
options.harden = mkOption { type = types.bool; example = true; default = true; };
options.interval = mkOption {
example = { secs = 1; };
default = { secs = 12; nanos = 0; };
type = types.submodule {
options = {
secs = mkOption {
type = types.int;
};
nanos = mkOption {
type = types.int;
default = 0;
};
};
};
};
}
);
};
Expand Down

0 comments on commit b4a442c

Please sign in to comment.