Skip to content

Commit

Permalink
Fix typo in docker logs template (grafana#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-zhuravlev authored Jul 17, 2024
1 parent 5cf8359 commit c70d1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
logsFilteringSelector: self.filteringSelector + ', namespace="" ,container!=""',
logsExtraFilters: |||
| label_format timestamp="{{__timestamp__}}"
| line_format `{{ if eq "[[instance]]" ".*" }}{ {{alignLeft 25 .instance}}|{{ alignLeft 25 .container }}|{{else}}{{ alignLeft 25 .container}}|{{end}} {{__line__}}`
| line_format `{{ if eq "[[instance]]" ".*" }}{{alignLeft 25 .instance}}|{{ alignLeft 25 .container }}|{{else}}{{ alignLeft 25 .container}}|{{end}} {{__line__}}`
|||,

logsLabels: this.groupLabels + this.instanceLabels + ['container'],
Expand Down

0 comments on commit c70d1d7

Please sign in to comment.