Comment 2 for bug 1675346

Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

The right query to be done is
res = vns.post_query(
            'FlowSeriesTable',
            start_time=str(generator_obj.flow_start_time),
            end_time=str(generator_obj.flow_end_time),
            select_fields=['sum(bytes)', 'sum(packets)', 'flow_count'],
            where_clause='vrouter=%s'% vrouter)

But with that too, for 10K tcp syn packets(20K flows) at 1K pps, analytics showed only about 13-15K flows
If i send 1K tcp syn packets(2K flows) at 100 pps, all 2K flows are seen in analytics
With Ashok's binary, http://nodei31:8085/Snh_AgentStatsReq? showed that all flows are exported,
but there some drops seen in sandesh client stats http://nodei31:8085/Snh_SandeshUVECacheReq?x=ModuleClientState