1. 修改 OUPUT_PROMETHEUS 不存在问题
This commit is contained in:
@@ -2120,7 +2120,7 @@ static struct kni_field_stat_handle * fs_init(const char *profile){
|
||||
FS_set_para(handle, MAX_STAT_FIELD_NUM, &value, sizeof(value));
|
||||
|
||||
value=1;
|
||||
FS_set_para(handle, OUPUT_PROMETHEUS, &value, sizeof(value));
|
||||
FS_set_para(handle, OUTPUT_PROMETHEUS, &value, sizeof(value));
|
||||
|
||||
fs_handle = ALLOC(struct kni_field_stat_handle, 1);
|
||||
fs_handle->handle = handle;
|
||||
|
||||
Reference in New Issue
Block a user