diff options
Diffstat (limited to 'common/src/tfe_future.cpp')
| -rw-r--r-- | common/src/tfe_future.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/src/tfe_future.cpp b/common/src/tfe_future.cpp index 6512a66..32afd04 100644 --- a/common/src/tfe_future.cpp +++ b/common/src/tfe_future.cpp @@ -114,6 +114,8 @@ void future_promise_library_init(const char* profile) const char* app_name="FP"; fs=FS_create_handle(); FS_set_para(fs, APP_NAME, app_name, strlen(app_name)+1); + value=1; + FS_set_para(fs, OUTPUT_PROMETHEUS, &value, sizeof(value)); value=0; FS_set_para(fs, FLUSH_BY_DATE, &value, sizeof(value)); FS_set_para(fs, OUTPUT_DEVICE, stat_path, strlen(stat_path)+1); |
