Juniper / jtimon

Junos Telemetry Interface (JTI) client
Apache License 2.0
32 stars 10 forks source link

--csv-stats knob not available with jtimon external. #31

Open xp600 opened 6 months ago

xp600 commented 6 months ago

In order to measure telemetry KPI data, we need the key value pairs to be reported in csv format which was supported with the jtimon internal binary.

with --csv-stats: the log output will look like this:

sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,312,2,0,6282,1712142460985,1712142460989,0,0 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,313,2,0,2811,1712142460990,1712142460994,0,0 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,314,2,0,3260,1712142460995,1712142460999,0,0 sensor_1006:/network-instances/network-instance/protocols/protocol/isis/:/network-instances/network-instance/protocols/protocol/isis/:rpd,1141,65535,0,17127,1712142460999,1712142460999,1712142290909,1712142460992 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,315,2,0,3918,1712142461000,1712142461004,0,0 sensor_1037:/network-instances/network-instance/mpls/lsps/constrained-path/tunnels/tunnel/:/network-instances/network-instance/mpls/lsps/constrained-path/tunnels/tunnel/:rpd,1101,65535,0,18947,1712142461005,1712142461005,1712142410506,1712142460999 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,316,2,0,2527,1712142461004,1712142461009,0,0 sensor_1038:/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/:/network-instances/network-instance/mpls/signaling-protocols/rsvp-te/:rpd,1101,65535,0,17179,1712142461009,1712142461009,1712142295598,1712142461005 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,317,2,0,2093,1712142461009,1712142461014,0,0 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,318,2,0,1768,1712142461014,1712142461019,0,0 sensor_1013_1_1:/junos/system/linecard/interface/queue/:/interfaces/interface/state/:PFE,319,2,0,3204,1712142461019,1712142461020,0,0 sensor_1013_3_1:/interfaces/interface/state/:/interfaces/interface/state/:mib2d,582,65535,0,18951,1712142461044,1712142461045,1712142460169,1712142461038 sensor_1013_1_2:/junos/system/linecard/interface/queue/extended-stats/:/interfaces/interface/state/:PFE,39,2,0,1256,1712142461022,1712142461055,0,0 sensor_1013_1_3:/junos/system/linecard/interface/traffic/:/interfaces/interface/state/:PFE,195,2,0,5825,1712142461056,1712142461056,0,0 sensor_1013_1_3:/junos/system/linecard/interface/traffic/:/interfaces/interface/state/:PFE,196,2,0,7109,1712142461057,1712142461062,0,0 sensor_1013_1_3:/junos/system/linecard/interface/traffic/:/interfaces/interface/state/:PFE,197,2,0,5729,1712142461063,1712142461063,0,0 sensor_1013_1_3:/junos/system/linecard/interface/traffic/:/interfaces/interface/state/:PFE,198,2,0,5725,1712142461063,1712142461063,0,0 sensor_1013_1_3:/junos/system/linecard/interface/traffic/:/interfaces/interface/state/:PFE,199,2,0,1479,1712142461064,1712142461066,0,0

vjchaganti commented 6 months ago

@M-Vivek-Juniper @amohit1315 , May I know the status of this case?

xp600 commented 6 months ago

@M-Vivek-Juniper @amohit1315 , can we have a status update please?

amohit1315 commented 6 months ago

@vjchaganti @xp600 this will be completed before the end of this week