jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit BARTHELEMY <>
Subject Re: Graphite backend-listener : how-to prevent dot sanitizing in sampler name
Date Thu, 03 Dec 2015 08:29:29 GMT
Thanks for this kick reply !

The example is really simple :

In my current setup I have to play a large test plan divided in several
steps substeps etc...

The graphite backend-listener is writing samplers data series this way :

My idea was to take avantage of the graphite series format by changing
rootprefix or samplername to write something like:

At the other end influxdb can easily extract tags from the series and
actually record an entry for metric mesurement tagged with the action,
step, substep and user : real simplification for subsequent queries from
our graphing software (grafana at the moment).

The catch is graphite format use dots to separate fields and influxdb
templates are using those fields to parse tags.

So I tried to change sampler names to match my intended graphite format and
ran into the sanitizing of the sampler names that replace my precious dots
with ugly underscores !

I've tried a couple of workarounds :
- Using a  variable rootprefix that I change on each step : but the
rootprefix is evaluated once just like UDV.
- Using a backend-listener per step : only the first is user.

I'm currently stuck with almost raw data in influxdb that are much more
difficult to exploit.

That's why I think dots should be usable in sampler names, at least when
using the graphite backend-listener.

Thanks for your help !


Le mer. 2 déc. 2015 19:54, Philippe Mouawad <> a
écrit :

> Hi,
> Can you provide an example and what solution would best suit your need ?
> I'll be happy to implement it.
> Regards
> On Tuesday, December 1, 2015, Benoit BARTHELEMY <
> wrote:
> > Hi !
> >
> > I've setup a graphite backend-listener piped to an influxdb data base.
> >
> > The sanitizing of dots in the sampler name is preventing for rich tagging
> > using templates. Is there a way to get my dots back instead of
> underscores
> > ?
> >
> > Thanks for your help!
> >
> > Regards,
> >
> >
> --
> Cordialement.
> Philippe Mouawad.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message