-
Notifications
You must be signed in to change notification settings - Fork 487
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promtail converter will now treat `global positions configuration is …
…not supported` as a Warning instead of Error. (#5338) Signed-off-by: erikbaranowski <[email protected]>
- Loading branch information
1 parent
9404e2f
commit eec6382
Showing
7 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
converter/internal/staticconvert/testdata/promtail_prom.diags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(Error) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) server.log_level is not supported - Flow mode components may produce different logs | ||
(Error) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) server.log_level is not supported - Flow mode components may produce different logs | ||
(Warning) Please review your agent command line flags and ensure they are set in your Flow mode config file where necessary. |
2 changes: 1 addition & 1 deletion
2
converter/internal/staticconvert/testdata/promtail_scrape.diags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
(Error) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) global positions configuration is not supported - each Flow Mode's loki.source.file component has its own positions file in the component's data directory | ||
(Warning) server.log_level is not supported - Flow mode components may produce different logs | ||
(Warning) Please review your agent command line flags and ensure they are set in your Flow mode config file where necessary. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters