mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 22:26:27 +00:00
added a new metric to retrieve os features like unknown modules
This commit is contained in:
@@ -93,6 +93,7 @@ var _ = ginkgo.Describe("NPD should export Prometheus metrics.", func() {
|
||||
assertMetricExist(gotMetrics, "memory_unevictable_used", map[string]string{}, true)
|
||||
assertMetricExist(gotMetrics, "memory_dirty_used", map[string]string{}, false)
|
||||
assertMetricExist(gotMetrics, "host_uptime", map[string]string{}, false)
|
||||
assertMetricExist(gotMetrics, "system_os_feature", map[string]string{}, false)
|
||||
})
|
||||
|
||||
ginkgo.It("NPD should not report any problem", func() {
|
||||
|
||||
Reference in New Issue
Block a user