added a new metric to retrieve os features like unknown modules

This commit is contained in:
varsha teratipally
2021-01-08 21:52:16 +00:00
parent 4ad49bbd84
commit eb38b4b598
12 changed files with 308 additions and 15 deletions
+1
View File
@@ -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() {