summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--entry/src/kni_entry.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp
index a01cdc8..4c1bde5 100644
--- a/entry/src/kni_entry.cpp
+++ b/entry/src/kni_entry.cpp
@@ -2118,6 +2118,10 @@ static struct kni_field_stat_handle * fs_init(const char *profile){
FS_set_para(handle, STAT_CYCLE, &value, sizeof(value));
value = 4096;
FS_set_para(handle, MAX_STAT_FIELD_NUM, &value, sizeof(value));
+
+ value=1;
+ FS_set_para(handle, OUPUT_PROMETHEUS, &value, sizeof(value));
+
fs_handle = ALLOC(struct kni_field_stat_handle, 1);
fs_handle->handle = handle;