Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flyingcircusio/fc-nixos
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cb217b72a848da72720927b91e7ca782ebeb5682
Choose a base ref
..
head repository: flyingcircusio/fc-nixos
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1b071d62887b485aea9466c7ddfee4cfb15eab56
Choose a head ref
Showing with 5 additions and 5 deletions.
  1. +5 −5 nixos/roles/mysql.nix
10 changes: 5 additions & 5 deletions nixos/roles/mysql.nix
Original file line number Diff line number Diff line change
@@ -473,21 +473,21 @@ in
environment.etc."alloy/mysql_slowlog.alloy".text = ''
local.file_match "mysql_slowlogs" {
path_targets = [{
__path__ = "/var/log/mysql/mysql.slow",
job_name = "mysql/slowlogs",
__path__ = "/var/log/mysql/mysql.slow",
job_name = "mysql/slowlogs",
}]
}
loki.source.file "mysql_slowlogs" {
targets = local.file_match.mysql_slowlogs.targets
forward_to = [loki.process.mysql_slowlogs.receiver]
targets = local.file_match.mysql_slowlogs.targets
forward_to = [loki.process.mysql_slowlogs.receiver]
}
loki.process "mysql_slowlogs" {
forward_to = [loki.write.fcio_rg_loki.receiver]
stage.multiline {
firstline = "^# Time: (?P<time>.+?)"
firstline = "^# Time: (?P<time>.+?)"
}
stage.regex {