feat(whitby): Enable log forwarding via journaldriver
Change-Id: I474159acfe514f6f2eb7867e4eba854016590ab1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1836 Tested-by: BuildkiteCI Reviewed-by: isomer <isomer@tvl.fyi>
This commit is contained in:
parent
1cf11317ca
commit
d4824b64f6
1 changed files with 7 additions and 0 deletions
|
@ -320,6 +320,13 @@ in lib.fix(self: {
|
||||||
timerConfig.OnCalendar = "hourly";
|
timerConfig.OnCalendar = "hourly";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.journaldriver = {
|
||||||
|
enable = true;
|
||||||
|
googleCloudProject = "tvl-fyi";
|
||||||
|
logStream = "whitby";
|
||||||
|
applicationCredentials = "/var/lib/journaldriver/key.json";
|
||||||
|
};
|
||||||
|
|
||||||
security.sudo.extraRules = [
|
security.sudo.extraRules = [
|
||||||
{
|
{
|
||||||
groups = ["wheel"];
|
groups = ["wheel"];
|
||||||
|
|
Loading…
Reference in a new issue