You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/05/24 15:04:19 UTC
[Bug 61122] New: GraphiteBackendListenerClient hierarchical sampler
name
https://bz.apache.org/bugzilla/show_bug.cgi?id=61122
Bug ID: 61122
Summary: GraphiteBackendListenerClient hierarchical sampler
name
Product: JMeter
Version: 3.1
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: brahmad@gmail.com
Target Milestone: ---
We are trying to use Grafana to show plots that cover multiple performance
tests we run using JMeter. We use the backend listener with
GraphiteBackendListenerClient to store the stats in an influxdb.
The sampler names we used earlier for all flat names. In order to show plots
across multiple tests, we would like to use hierarchical names for the
samplers. For example, before, say we used "API1" as teh sampler name, now we
want to use "Day1Mix.HappyScenario.API1". This should allow us to trim the name
to "API1" in the legend of the plots in Grafana (using Alias By = $1, etc.)
Grafana natively uses the period as the field separator. However, it seems the
period seems to have a special meaning in the GraphiteBackendListenerClient.
When I look at the measurement names in the influxdb the periods in the sampler
name are replaced with an underscore. This makes grafana unable to separate out
the fields in a sampler name.
The sampler name in the JTL file will be using the periods while the
measurement names in the influxdb will have underscores.
Do you have any ideas on how to overcome this issue?
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61122] GraphiteBackendListenerClient hierarchical sampler name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61122
--- Comment #2 from Brahma <br...@gmail.com> ---
Thanks for the reply.
With InfluxDB Client I am running into other road blocks. Granted, it might be
that I have to learn a little more about Grafana to overcome those.
Nevertheless, I will explain the problem.
With the InfluxDB Client, they have changed the measurement name to a fixed
property in the Client. With Graphite, the measurement name in the influx
database would be something like "rootPrefix.SamplerName.a.ok" (we set
rootPrefix to something like PE-1114). In Grafana, I can simply choose "Alias
By = $1" to get the SamplreName in the legend. Switching to InfluxDB Client,
the measurement name comes out as a static "measurement" (like, "PE-1114"). We
end up with just one measurement in the database no matter how many samplers I
have in the test. The actual sampler name is recorded in the tag value for the
tag key = "transaction". Now, I am not sure how to read that transaction string
and parse it with a period separator to pass it to the legend text in the plot.
I hope this is clear.
The other option is for me to wait until an example dashboard is created by
Grafana or some other expert with InfluxDB Client / JMeter combination for a
test.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61122] GraphiteBackendListenerClient hierarchical sampler name
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61122
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
OS| |All
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Try using last InfluxDB Client released in 3.2
Indeed . is a reserved char for Graphite and is escaped to _
--
You are receiving this mail because:
You are the assignee for the bug.