Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/434#discussion_r236044166
--- Diff:
src/components/org/apache/jmeter/visualizers/backend/influxdb/InfluxdbBackendListenerClient.java
---
@@ -196,12 +196,18 @@ private void addMetrics(String transaction,
SamplerMetric metric) {
}
private void addErrorMetric(String transaction, String responseCode,
String responseMessage, long count) {
+ final int MAX_RES_CODE_LENGTH_FOR_UDP = 50;
--- End diff --
The rounding should probably done in a different pull request and it should
probably take the magnitude of the number into account. That is the method
taken by HdrHistogram as suggested to use in #380.
---