cadvisor使用choose_label_keys后取不到标签 #352
Annotations
1 error and 2 warnings
|
Commit Lint
You have commit messages with errors
⧗ input: add new ipmi dashboard
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: Update instances.go
如果不加代码,choose_label_keys不写["*"]或者["pod","namespace"],makeLabels方法中if ins.ignoreLabel(label.GetName()) {的判断为true,导致取不到标签的值。
所以永远保留这两个标签以便能够从 cadvisor metric 中获取 pod/namespace 来查 cache。
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|
|
Code Analysis
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0vjMkaQAAAACZq23eo+gBQ5Qs6j5zWUB9UEhMMzBFREdFMDIyMgBFZGdl
|
|
Code Analysis
Failed to restore: Cache service responded with 400
|