Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bentonam committed Oct 3, 2023
1 parent 81fcee1 commit 343a62d
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 15 deletions.
1 change: 0 additions & 1 deletion modules/kubernetes/logs/drops/level-info.river
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.drop_info
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/drops/level-trace.river
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.drop_trace
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/drops/levels.river
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ argument "forward_to" {
optional = false
}


argument "git_repo" {
optional = true
default = coalesce(env("GIT_REPO"), "https://github.com/grafana/agent-modules.git")
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/embed/pod.river
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.embed_pod
}
Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/logs/labels/keep-labels.river
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ argument "forward_to" {
optional = false
}


argument "keep_labels" {
optional = true
// comment = "List of labels to keep before the log message is written to Loki"
Expand All @@ -36,6 +35,7 @@ argument "keep_labels" {
export "process" {
value = loki.process.keep_labels
}

/*
As all of the pod labels and annotations we transformed into labels in the previous relabelings to make
them available to the pipeline processing we need to ensure they are not automatically created in Loki.
Expand Down
2 changes: 1 addition & 1 deletion modules/kubernetes/logs/labels/normalize-filename.river
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.normalize_filename
}

/*
Normalize the filename, the label "filename" is automatically created from
discovered files in the matching path based on the __path__ label from the
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/credit-card.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_credit_card
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/email.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_email
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/ipv4.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_ipv4
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/ipv6.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_ipv6
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/phone.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_phone
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/masks/ssn.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.mask_ssn
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/scrubs/all.river
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ argument "forward_to" {
optional = false
}


argument "git_repo" {
optional = true
default = coalesce(env("GIT_REPO"), "https://github.com/grafana/agent-modules.git")
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/scrubs/json-empties.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.scrub_json_empties
}
Expand Down
1 change: 0 additions & 1 deletion modules/kubernetes/logs/scrubs/json-nulls.river
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ argument "forward_to" {
optional = false
}


export "process" {
value = loki.process.scrub_json_nulls
}
Expand Down

0 comments on commit 343a62d

Please sign in to comment.