diff options
| author | fumingwei <[email protected]> | 2023-02-28 20:39:02 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2023-02-28 20:39:14 +0800 |
| commit | 0c526d87110e6e83c19a461ca4d06a2f73c20767 (patch) | |
| tree | 9e0bb0f274193169009f42ff10127d08eea0e8ff /test | |
| parent | 67a6ff21b5ef05da4513559149835ec3ea278e83 (diff) | |
feature:fieldstat_register_table_metrics构建index_table存储table metric的id
Diffstat (limited to 'test')
| -rw-r--r-- | test/fs2_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/fs2_test.cpp b/test/fs2_test.cpp index e712f5d..f312c34 100644 --- a/test/fs2_test.cpp +++ b/test/fs2_test.cpp @@ -117,9 +117,8 @@ int main(int argc, char *argv[]) { printf("%d\n", id_list.id[i]); } - + table_id = fieldstat_register_table(test_instance, table_type, field_list_0, sizeof(field_list_0)/sizeof(field_list_0[0])); - printf("%d\n",table_id); if(table_id == -1) { printf("Failed to register metric table list_0\n"); @@ -132,7 +131,6 @@ int main(int argc, char *argv[]) printf("%d\n", id_list.id[i]); } - fieldstat_instance_start(test_instance); sleep(1); fieldstat_passive_output(test_instance); |
