8 OpenMetrics specifies the de-facto standard for transmitting cloud-native
9 metrics at scale, with support for both text representation and Protocol
17 - draft-richih-opsawg-openmetrics-00
21 [OpenMetrics](https://github.com/OpenObservability/OpenMetrics/blob/master/specification/OpenMetrics.md)
34 Telemetry module in CSIT currently support only Gauge, Counter and Info.
36 ## Anatomy of CSIT telemetry implementation
38 Existing implementation consists of several measurment building blocks:
39 the main measuring block running search algorithms (MLR, PLR, SOAK, MRR, ...),
40 the latency measuring block and the several telemetry blocks with or without
41 traffic running on a background.
43 The main measuring block must not be interrupted by any read operation that can
44 impact data plane traffic processing during throughput search algorithm. Thus
45 operational reads are done before (pre-stat) and after (post-stat) that block.
47 Some operational reads must be done while traffic is running and usually
48 consists of two reads (pre-run-stat, post-run-stat) with defined delay between
53 traffic_start(r=mrr) traffic_stop |< measure >|
55 | pre_run_stat post_run_stat | pre_stat | | post_stat
57 --o--------o---------------o---------o-------o--------+-------------------+------o------------>
65 - bash-perf-stat // if extended_debug == True
68 - vpp-enable-packettrace // if extended_debug == True
72 - vpp-show-packettrace // if extended_debug == True
79 |< traffic_trial0 >|< traffic_trial1 >|< traffic_trialN >|
80 | (i=0,t=duration) | (i=1,t=duration) | (i=N,t=duration) |
82 --o------------------------o------------------------o------------------------o--->
88 |< measure >| traffic_start(r=pdr) traffic_stop traffic_start(r=ndr) traffic_stop |< [ latency ] >|
89 | (r=mlr) | | | | | | .9/.5/.1/.0 |
90 | | | pre_run_stat post_run_stat | | pre_run_stat post_run_stat | | |
91 | | | | | | | | | | | |
92 --+-------------------+----o--------o---------------o---------o--------------o--------o---------------o---------o------------[---------------------]--->
100 - bash-perf-stat // if extended_debug == True
103 - vpp-enable-packettrace // if extended_debug == True
107 - vpp-show-packettrace // if extended_debug == True
113 traffic_start(r=mrr) traffic_stop |< measure >|
115 | |< stat_runtime >| | stat_pre_trial | | stat_post_trial
117 ----o---+--------------------------+---o-------------o------------+-------------------+-----o------------->
125 - vpp-enable-packettrace // if extended_debug == True
128 - vpp-show-packettrace // if extended_debug == True
134 |< traffic_trial0 >|< traffic_trial1 >|< traffic_trialN >|
135 | (i=0,t=duration) | (i=1,t=duration) | (i=N,t=duration) |
137 --o------------------------o------------------------o------------------------o--->
143 |< program0 >|< program1 >|< programN >|
144 | (@=params) | (@=params) | (@=params) |
146 --o------------------------o------------------------o------------------------o--->
152 |< measure >| traffic_start(r=pdr) traffic_stop traffic_start(r=ndr) traffic_stop |< [ latency ] >|
153 | (r=mlr) | | | | | | .9/.5/.1/.0 |
154 | | | |< stat_runtime >| | | |< stat_runtime >| | | |
155 | | | | | | | | | | | |
156 --+-------------------+-----o---+--------------------------+---o--------------o---+--------------------------+---o-----------[---------------------]--->
164 - vpp-enable-packettrace // if extended_debug == True
167 - vpp-show-packettrace // if extended_debug == True