9 OpenMetrics specifies the de-facto standard for transmitting cloud-native
10 metrics at scale, with support for both text representation and Protocol
18 - draft-richih-opsawg-openmetrics-00
22 [OpenMetrics](https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md)
35 Telemetry module in CSIT currently support only Gauge, Counter and Info.
37 ## Anatomy of CSIT telemetry implementation
39 Existing implementation consists of several measurment building blocks:
40 the main measuring block running search algorithms (MLR, PLR, SOAK, MRR, ...),
41 the latency measuring block and the several telemetry blocks with or without
42 traffic running on a background.
44 The main measuring block must not be interrupted by any read operation that can
45 impact data plane traffic processing during throughput search algorithm. Thus
46 operational reads are done before (pre-stat) and after (post-stat) that block.
48 Some operational reads must be done while traffic is running and usually
49 consists of two reads (pre-run-stat, post-run-stat) with defined delay between
54 traffic_start(r=mrr) traffic_stop |< measure >|
56 | pre_run_stat post_run_stat | pre_stat | | post_stat
58 --o--------o---------------o---------o-------o--------+-------------------+------o------------>
66 - bash-perf-stat // if extended_debug == True
69 - vpp-enable-packettrace // if extended_debug == True
73 - vpp-show-packettrace // if extended_debug == True
80 |< traffic_trial0 >|< traffic_trial1 >|< traffic_trialN >|
81 | (i=0,t=duration) | (i=1,t=duration) | (i=N,t=duration) |
83 --o------------------------o------------------------o------------------------o--->
89 |< measure >| traffic_start(r=pdr) traffic_stop traffic_start(r=ndr) traffic_stop |< [ latency ] >|
90 | (r=mlr) | | | | | | .9/.5/.1/.0 |
91 | | | pre_run_stat post_run_stat | | pre_run_stat post_run_stat | | |
92 | | | | | | | | | | | |
93 --+-------------------+----o--------o---------------o---------o--------------o--------o---------------o---------o------------[---------------------]--->
101 - bash-perf-stat // if extended_debug == True
104 - vpp-enable-packettrace // if extended_debug == True
108 - vpp-show-packettrace // if extended_debug == True
114 traffic_start(r=mrr) traffic_stop |< measure >|
116 | |< stat_runtime >| | stat_pre_trial | | stat_post_trial
118 ----o---+--------------------------+---o-------------o------------+-------------------+-----o------------->
126 - vpp-enable-packettrace // if extended_debug == True
129 - vpp-show-packettrace // if extended_debug == True
135 |< traffic_trial0 >|< traffic_trial1 >|< traffic_trialN >|
136 | (i=0,t=duration) | (i=1,t=duration) | (i=N,t=duration) |
138 --o------------------------o------------------------o------------------------o--->
144 |< program0 >|< program1 >|< programN >|
145 | (@=params) | (@=params) | (@=params) |
147 --o------------------------o------------------------o------------------------o--->
153 |< measure >| traffic_start(r=pdr) traffic_stop traffic_start(r=ndr) traffic_stop |< [ latency ] >|
154 | (r=mlr) | | | | | | .9/.5/.1/.0 |
155 | | | |< stat_runtime >| | | |< stat_runtime >| | | |
156 | | | | | | | | | | | |
157 --+-------------------+-----o---+--------------------------+---o--------------o---+--------------------------+---o-----------[---------------------]--->
165 - vpp-enable-packettrace // if extended_debug == True
168 - vpp-show-packettrace // if extended_debug == True