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
@@ -68,6 +68,7 @@ var NPDMetricToSDMetric = map[metrics.MetricID]string{
metrics.MemoryUnevictableUsedID: "compute.googleapis.com/guest/memory/unevictable_used",
metrics.ProblemCounterID: "compute.googleapis.com/guest/system/problem_count",
metrics.ProblemGaugeID: "compute.googleapis.com/guest/system/problem_state",
metrics.OSFeatureID: "compute.googleapis.com/guest/system/os_feature_enabled",
}
func getMetricTypeConversionFunction(customMetricPrefix string) func(*view.View) string {