Git Product home page Git Product logo

Comments (6)

carlpett avatar carlpett commented on May 26, 2024 1

Ah, no, that is something we did not think about. Sorry about that. If you know your way around sc.exe, that is probably the easiest way short-term, or going into regedit and changing the parameters there.
We'll have to add some "other options" parameter to the msi, I guess.

from windows_exporter.

waqarkhan3389 avatar waqarkhan3389 commented on May 26, 2024

+1

from windows_exporter.

carlpett avatar carlpett commented on May 26, 2024

Sorry, missed this one! This is probably not going to happen dynamically, however, since it will likely result in a very high number of metrics. As an example, on my laptop I currently have several hundred processes, many with names dependent on startup-order, etc. Process ids have a similar problem in that they are not possible to correlate over process restarts, etc.
One possibility would be to allow adding a list of processes that you are interested in and get just those, but I'm not sure if that wouldn't live better in a separate exporter?

from windows_exporter.

waqarkhan3389 avatar waqarkhan3389 commented on May 26, 2024

@carlpett @seanhoughton Since checking this exporter out I have started to use scollector exporter.
https://github.com/tgulacsi/prometheus_scollector

Its pretty simple to set up, you need to stick this on the windoze machine: http://bosun.org/scollector/ and the exporter itself can run anywhere, just point scollector at the exporter.
It has a regex match for name of process you would like to monitor.
Create a file called scollector.toml with e.g.:

[[Process]]
Name = "^randomProcessName."

So for anything process related on Dos* I have started using scollector and everything else is using the wmi_exporter :)

@carlpett If you are going to create a seperate exporter that would be even better as it removes the dependency for scollector. Because I really like your wmi_exporter, very efficient and tiny footprint.

from windows_exporter.

carlpett avatar carlpett commented on May 26, 2024

This is fixed in #79!

from windows_exporter.

bbigras avatar bbigras commented on May 26, 2024

Is there a simple way to use the collector.process.processes-where flag or do I need to create the service myself? I don't seem able to add arguments to the wmi-exporter service.

from windows_exporter.

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.