Filtering results by test in Grafana

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Filtering results by test in Grafana

_elgato
Hi everyone,

I've managed to connect JMeter to InfluxDB using the guide in
https://jmeter.apache.org/usermanual/realtime-results.html, however I have
a couple of questions.

Running more than one test, how should I filter the tests? According to
https://jmeter.apache.org/usermanual/component_reference.html#Backend_Listener
we
have 2 parameters that could filter:
- application: Name of tested application. This value is stored in the
'events' measurement too as a tag named 'application'
- testTitle Test name. Defaults to Test name. This value is stored in the
'events' measurement as a field named 'text'. JMeter generate automatically
at the start and the end of the test an annotation with this value ending
with ' started' and ' ended'

application already appears as a filter in the Grafana dashboard, but
testTitle does not.

Any thoughts?

Thank you.
Regards
Reply | Threaded
Open this post in threaded view
|

Re: Filtering results by test in Grafana

Mariusz W
Hi,
You can add your own tags :
https://jmeter.apache.org/usermanual/component_reference.html#Backend_Listener
*TAG_WhatEverYouWant*
*You can add as many custom tags as you want. For each of them, just create
a new line and prefix its name by "TAG_"*

eg. it can be session name- different for every session, load code or
whatever you want - it is added as tag in influxdb in data tacle - next you
will see it in grafana.

In influx two tables are written  by listener - one for start/stop event
and second with data.

Regards,
Mariusz

On Thu, 27 Feb 2020 at 16:08, _elgato <[hidden email]> wrote:

> Hi everyone,
>
> I've managed to connect JMeter to InfluxDB using the guide in
> https://jmeter.apache.org/usermanual/realtime-results.html, however I have
> a couple of questions.
>
> Running more than one test, how should I filter the tests? According to
>
> https://jmeter.apache.org/usermanual/component_reference.html#Backend_Listener
> we
> have 2 parameters that could filter:
> - application: Name of tested application. This value is stored in the
> 'events' measurement too as a tag named 'application'
> - testTitle Test name. Defaults to Test name. This value is stored in the
> 'events' measurement as a field named 'text'. JMeter generate automatically
> at the start and the end of the test an annotation with this value ending
> with ' started' and ' ended'
>
> application already appears as a filter in the Grafana dashboard, but
> testTitle does not.
>
> Any thoughts?
>
> Thank you.
> Regards
>