@@ -156,6 +156,109 @@ ${doc.requestExample.jsonBody}
156156 < % } % >
157157 < / hashTree>
158158 < % }%>
159+ <% if (jmeterPrometheusListener){% >
160+ < com.github.johrstrom.listener. PrometheusListener guiclass= " com.github.johrstrom.listener.gui.PrometheusListenerGui" testclass= " com.github.johrstrom.listener.PrometheusListener" testname= " Prometheus Listener" enabled= " true" >
161+ < collectionProp name= " prometheus.collector_definitions" >
162+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
163+ < stringProp name= " collector.help" > default help string< / stringProp>
164+ < stringProp name= " collector.metric_name" > jmeter_summary< / stringProp>
165+ < stringProp name= " collector.type" > SUMMARY</ stringProp>
166+ < collectionProp name= " collector.labels" >
167+ < stringProp name= " 50511102" > category< / stringProp>
168+ < stringProp name= " 102727412" > label< / stringProp>
169+ < stringProp name= " 3059181" > code< / stringProp>
170+ < / collectionProp>
171+ < stringProp name= " collector.quantiles_or_buckets" > 0.9 ,0.1 | 0.95 ,0.1 | 0.99 ,0.1 < / stringProp>
172+ < stringProp name= " listener.collector.measuring" > ResponseTime</ stringProp>
173+ < / elementProp>
174+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
175+ < stringProp name= " collector.help" > default help string< / stringProp>
176+ < stringProp name= " collector.metric_name" > jmeter_count_total< / stringProp>
177+ < stringProp name= " collector.type" > COUNTER</ stringProp>
178+ < collectionProp name= " collector.labels" >
179+ < stringProp name= " 102727412" > label< / stringProp>
180+ < / collectionProp>
181+ < stringProp name= " collector.quantiles_or_buckets" >< / stringProp>
182+ < stringProp name= " listener.collector.measuring" > CountTotal</ stringProp>
183+ < / elementProp>
184+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
185+ < stringProp name= " collector.help" > default help string< / stringProp>
186+ < stringProp name= " collector.metric_name" > jmeter_success_total< / stringProp>
187+ < stringProp name= " collector.type" > COUNTER</ stringProp>
188+ < collectionProp name= " collector.labels" >
189+ < stringProp name= " 50511102" > category< / stringProp>
190+ < stringProp name= " 102727412" > label< / stringProp>
191+ < stringProp name= " 3059181" > code< / stringProp>
192+ < / collectionProp>
193+ < stringProp name= " collector.quantiles_or_buckets" >< / stringProp>
194+ < stringProp name= " listener.collector.measuring" > SuccessTotal</ stringProp>
195+ < / elementProp>
196+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
197+ < stringProp name= " collector.help" > default help string< / stringProp>
198+ < stringProp name= " collector.metric_name" > jmeter_rsize< / stringProp>
199+ < stringProp name= " collector.type" > HISTOGRAM</ stringProp>
200+ < collectionProp name= " collector.labels" >
201+ < stringProp name= " 102727412" > label< / stringProp>
202+ < / collectionProp>
203+ < stringProp name= " collector.quantiles_or_buckets" > 100 ,500 ,1000 ,3000 < / stringProp>
204+ < stringProp name= " listener.collector.measuring" > ResponseSize</ stringProp>
205+ < / elementProp>
206+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
207+ < stringProp name= " collector.help" > default help string< / stringProp>
208+ < stringProp name= " collector.metric_name" > jmeter_success_ratio< / stringProp>
209+ < stringProp name= " collector.type" > SUCCESS_RATIO</ stringProp>
210+ < collectionProp name= " collector.labels" >
211+ < stringProp name= " 102727412" > label< / stringProp>
212+ < / collectionProp>
213+ < stringProp name= " collector.quantiles_or_buckets" >< / stringProp>
214+ < stringProp name= " listener.collector.measuring" > SuccessRatio</ stringProp>
215+ < / elementProp>
216+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
217+ < stringProp name= " collector.help" > default help string< / stringProp>
218+ < stringProp name= " collector.metric_name" > jmeter_latency< / stringProp>
219+ < stringProp name= " collector.type" > SUMMARY</ stringProp>
220+ < collectionProp name= " collector.labels" >
221+ < stringProp name= " 102727412" > label< / stringProp>
222+ < / collectionProp>
223+ < stringProp name= " collector.quantiles_or_buckets" > 100 ,500 ,1000 ,3000 < / stringProp>
224+ < stringProp name= " listener.collector.measuring" > Latency</ stringProp>
225+ < / elementProp>
226+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
227+ < stringProp name= " collector.help" > default help string< / stringProp>
228+ < stringProp name= " collector.metric_name" > jmeter_idle_time< / stringProp>
229+ < stringProp name= " collector.type" > SUMMARY</ stringProp>
230+ < collectionProp name= " collector.labels" >
231+ < stringProp name= " 102727412" > label< / stringProp>
232+ < / collectionProp>
233+ < stringProp name= " collector.quantiles_or_buckets" > 0.9 ,0.1 | 0.95 ,0.1 | 0.99 ,0.01 < / stringProp>
234+ < stringProp name= " listener.collector.measuring" > IdleTime</ stringProp>
235+ < / elementProp>
236+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
237+ < stringProp name= " collector.help" > default help string< / stringProp>
238+ < stringProp name= " collector.metric_name" > jmeter_failure_total< / stringProp>
239+ < stringProp name= " collector.type" > COUNTER</ stringProp>
240+ < collectionProp name= " collector.labels" >
241+ < stringProp name= " 50511102" > category< / stringProp>
242+ < stringProp name= " 102727412" > label< / stringProp>
243+ < stringProp name= " 3059181" > code< / stringProp>
244+ < / collectionProp>
245+ < stringProp name= " collector.quantiles_or_buckets" >< / stringProp>
246+ < stringProp name= " listener.collector.measuring" > FailureTotal</ stringProp>
247+ < / elementProp>
248+ < elementProp name= " " elementType= " com.github.johrstrom.listener.ListenerCollectorConfig" >
249+ < stringProp name= " collector.help" > default help string< / stringProp>
250+ < stringProp name= " collector.metric_name" > jmeter_connect_time< / stringProp>
251+ < stringProp name= " collector.type" > COUNTER</ stringProp>
252+ < collectionProp name= " collector.labels" >
253+ < stringProp name= " 102727412" > label< / stringProp>
254+ < / collectionProp>
255+ < stringProp name= " collector.quantiles_or_buckets" >< / stringProp>
256+ < stringProp name= " listener.collector.measuring" > ConnectTime</ stringProp>
257+ < / elementProp>
258+ < / collectionProp>
259+ < stringProp name= " TestPlan.comments" > This listener & quot;measures& quot; everything, sometimes in summaries, sometimes in histograms. < / stringProp>
260+ < / com.github.johrstrom.listener. PrometheusListener >
261+ < % } %>
159262 </hashTree >
160263 </hashTree >
161264</jmeterTestPlan >
0 commit comments