-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Promtail targets and service discovery pages (#532)
* add a custom server for loki with assets embedded * adds a targets page for promtail to see discovered files and labels * lint fixes * fix css table size * add service discovery logic * add service discovery template * add promtail pages documentation * ignored gen file in linter
- Loading branch information
1 parent
8d7efdd
commit b8b7caa
Showing
95 changed files
with
36,604 additions
and
68 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"Vendor": true, | ||
"Deadline": "5m", | ||
"Concurrency": 2, | ||
"Linters": { | ||
"gofmt": {"Command": "gofmt -l -s -w"}, | ||
"goimports": {"Command": "goimports -l -w"} | ||
}, | ||
"Exclude": [ | ||
"\\.pb\\.go", | ||
"pkg/promtail/server/ui/assets_vfsdata.go", | ||
"method Seek.*should have signature", | ||
"error return value not checked \\(level\\.", | ||
"\"err\" shadows declaration" | ||
], | ||
|
||
"Enable": [ | ||
"deadcode", | ||
"errcheck", | ||
"goconst", | ||
"gofmt", | ||
"goimports", | ||
"golint", | ||
"gosimple", | ||
"gotypex", | ||
"ineffassign", | ||
"megacheck", | ||
"misspell", | ||
"structcheck", | ||
"unconvert", | ||
"unparam", | ||
"varcheck", | ||
"vet", | ||
"vetshadow" | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.