Generate net recv accounting data
This commit is contained in:
@@ -640,6 +640,7 @@ pub enum QueryItem {
|
||||
Insert(InsertItem),
|
||||
TimeBinSimpleF32(TimeBinSimpleF32),
|
||||
Accounting(Accounting),
|
||||
AccountingRecv(AccountingRecv),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
@@ -651,6 +652,15 @@ pub struct Accounting {
|
||||
pub bytes: i64,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AccountingRecv {
|
||||
pub part: i32,
|
||||
pub ts: TsMs,
|
||||
pub series: SeriesId,
|
||||
pub count: i64,
|
||||
pub bytes: i64,
|
||||
}
|
||||
|
||||
struct InsParCom {
|
||||
series: SeriesId,
|
||||
ts_msp: TsMs,
|
||||
|
||||
Reference in New Issue
Block a user