test: add tests for api/metrics endpoint

This commit is contained in:
Jakob
2025-11-30 10:37:34 +01:00
parent 8af7cde2d6
commit b44a0d6813
3 changed files with 38 additions and 0 deletions

View File

@@ -763,6 +763,8 @@ void Command::show_all(uuid::console::Shell & shell) {
shell.println(COLOR_RESET);
shell.printf(" entities \t\t\t%slist all entities %s*", COLOR_BRIGHT_CYAN, COLOR_BRIGHT_GREEN);
shell.println(COLOR_RESET);
shell.printf(" metrics \t\t\t%slist all prometheus metrics %s*", COLOR_BRIGHT_CYAN, COLOR_BRIGHT_GREEN);
shell.println(COLOR_RESET);
// show system ones first
show(shell, EMSdevice::DeviceType::SYSTEM, true);