Earlier the test checked only for three system-level metrics (one was outdated too, DiskUsed -> DiskUsage), but now all seven system-level metrics are checked. Also the tests were not strict meaning that checks were done only if target metric merely existed. Now, according to configuration files, a data structure can be defined against which the assertions are then done automatically.
closes #9
Earlier the test checked only for three system-level metrics (one was outdated too, DiskUsed -> DiskUsage), but now all seven system-level metrics are checked. Also the tests were not strict meaning that checks were done only if target metric merely existed. Now, according to configuration files, a data structure can be defined against which the assertions are then done automatically.
Metrics:
ts/metrics/system_metrics.py ts/metrics/unit.py ts/configs/metrics.yaml servingsdk/metrics/InbuiltMetricsRegistry.java