Code Monkey home page Code Monkey logo

Comments (3)

johrstrom avatar johrstrom commented on August 11, 2024

I'm actually thinking about flipping this question and using a PostProcessor to attach to the samples that you want. That way instead of filtering what you don't want, you explicitly say what you do.

You'll also be able to specify what labels you want, and it applies to that Sampler only. So you don't have this thing where sample_variables are half used in this Sampler and the other half in another.

Are there any thoughts out there?

from jmeter-prometheus-plugin.

johrstrom avatar johrstrom commented on August 11, 2024

In the version 0.2.0 and up, this will be handled simply by appropriate scoping of listeners.

Although, consideration will have to be given for the use case where someone want's 1 metric with different labels (labels in the JMeter sense). A test plan that may look something like:

TestPlan
| --- A
|      | - Prometheus Listener A
|
| --- B (want to filter this this)
|
| --- C
|      | - Prometheus Listener C

That generates my_rt_metric{label="[A,C]"}

from jmeter-prometheus-plugin.

johrstrom avatar johrstrom commented on August 11, 2024

I've created #41 to track that enhancement, but I believe this issue is closed with the current codebase.

from jmeter-prometheus-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.