Bug 65719 - probleme report stat missing backend listener grafana / 5.5 SNAPSHOT c98be3f
Summary: probleme report stat missing backend listener grafana / 5.5 SNAPSHOT c98be3f
Status: NEEDINFO
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Linux
: P2 minor (vote)
Target Milestone: JMETER_5.5
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-02 18:21 UTC by Jeremie COCHIE
Modified: 2022-02-20 19:54 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremie COCHIE 2021-12-02 18:21:50 UTC
HI
i discover the backend listener to implement metric with influxdb.

When i use it on local test loading, the stats are uploaded correctly in influxdb and grafana
but when i use the remote distribution with one or two nodes, there are holes in the statistics reported

My thread conf : 50 Th Ramp up 60 Loop 1

Backend listener : 
org.apache.jmeter.visualizers.backend.influxdb.infludbBackenListenerClient
influxdbmetricsender : 
org.apache.jmeter.visualizers.backend.influxdb.HttpMetricsSender
 

when i watch the report in explore grafana view, it goes from 4 to 34 threads without displaying intermediaries when i use the remote distribution

but when I start it locally, the statistics are progressive and correct


Request use in grafana/influxdb
SELECT last("maxAT") FROM "jmeter" WHERE ("application" = 'ContactPre' AND "transaction" = 'internal') AND $timeFilter GROUP BY time($__interval) fill(null) ORDER BY time DESC

Thx
Comment 1 Philippe Mouawad 2022-02-20 19:54:21 UTC
Hello,
I guess this behaviour is due to the way distributed testing sends SampleResults from workers to controller.

Try setting this property on both workers and controller:

- time_threshold=1000

I would advise you to switch to mode to Asynch



See:

- https://jmeter.apache.org/usermanual/properties_reference.html#remote_batching_config
Comment 2 The ASF infrastructure team 2022-09-24 20:38:22 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5597