TFE 适配 fieldstat prometheus
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user