Giter Club home page Giter Club logo

Comments (4)

ilyam8 avatar ilyam8 commented on June 25, 2024

Hi.

As you can see from the name randomization done by podman, it is not possible to use the current include filter to do that.

Understood. We can't change the syntax of include because it is passed directly to systemd for server-side filtering. It is glob pattern, from man systemctl

Glob patterns use fnmatch(3), so normal shell-style globbing rules are used, and "*", "?", "[]" may be used. See glob(7) for more details.

We can add a regular expression filter to do additional filtering on the client side (go.d.plugin). Is that what you want, @adrienkohlbecker?

from netdata.

ilyam8 avatar ilyam8 commented on June 25, 2024

What I didn't mention is that after the query we don't know if the unit is transient or not, so we can't just add an option to ignore transient units.

from netdata.

ilyam8 avatar ilyam8 commented on June 25, 2024

What I didn't mention is that after the query we don't know if the unit is transient or not, so we can't just add an option to ignore transient units.

I found a way to do this, but it requires a per-unit query (getting the Transient property), which I think may increase CPU usage on start/restart. The result will be cached until the next Netdata restart.

The default "skip_transient" is "no", you will need to enable it, @adrienkohlbecker.

from netdata.

adrienkohlbecker avatar adrienkohlbecker commented on June 25, 2024

Thank you for the quick turnaround! Seems like a great solution, happy to trade some cycles at start to cache this property.

from netdata.

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.