diff options
| author | zhengchao <[email protected]> | 2019-01-08 10:33:29 +0600 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2019-01-08 10:33:29 +0600 |
| commit | 39610dfdf9cb3187644caede4f5cd40d2b1bd7fa (patch) | |
| tree | 4fb6cbcb7db1a07d3788e8a9fc53aa154cf6460c /src/MESA_field_stat.cpp | |
| parent | a3827e1c6481ad9bc759c8a2e00c688604976354 (diff) | |
改用counter输出status的current值。
Diffstat (limited to 'src/MESA_field_stat.cpp')
| -rw-r--r-- | src/MESA_field_stat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp index 28d19b7..0223046 100644 --- a/src/MESA_field_stat.cpp +++ b/src/MESA_field_stat.cpp @@ -1017,13 +1017,13 @@ void StatsD_output(struct FS_space_t* _handle) if(p->calc_type==FS_CALC_CURRENT) { value=get_stat_unit_val(p, 0, FS_CALC_CURRENT, 1); - append_statsd_histogram(_handle, p->name, value, 1); + append_statsd_counter(_handle, p->name, value); break; } //not break; case FS_STYLE_FIELD: value=get_stat_unit_val(p, 0, FS_CALC_SPEED, 1); - append_statsd_counter(_handle, p->name,value); + append_statsd_counter(_handle, p->name, value); break; case FS_STYLE_LINE: for(j=0;j<_handle->column_cnt;j++) |
