Comments (6)
Sorry @flixr, I let this one slip by me. I'll try to get to it next week.
from process-exporter.
The simple numThreads (without status as per #17) is already available in prometheus/procfs
from process-exporter.
Thanks for the PR. I'm going to hold off on merging it until we decide what to do about #19 and #17, since it may make this redundant.
from process-exporter.
I first thought so as well, but I now think this would make sense in any case as it doesn't cost more and #19 would probably be configurable for only some processes. (And #17 is basically a subset of #19)
from process-exporter.
#17 need not be a subset of #19, as described it was going to give a count of how many threads are in which state. I agree that given #19 it may make more sense to report these counts on the more granular per-threadname basis it will introduce, but I haven't fully made up my mind. I think I might want the #17 metrics for my primary use case, where I may not be able to tolerate the huge increase in metric count that the #19 threaded-mode will bring in. Then again, with the huge resource savings Prometheus 2 will bring, maybe I shouldn't be worrying so much about the number of metrics.
from process-exporter.
I thought about it some more and I decided that as you say it's a useful metric and adding this doesn't require any extra files so it's cheap. And some people who don't want the extra overhead of parsing the per-thread files may want this metric.
from process-exporter.
Related Issues (20)
- Default value to -62135596800 corresponding to 0001-01-01 when no process found
- Unusual high number of involuntary context switches, how is this number computed?
- metric is not updated HOT 1
- High cardinality of Process Exporter metrics HOT 2
- /net/http/pprof were detected as information disclosure vulnerability
- need update gomod to fix CVE list HOT 2
- Process-exporter new release need with latest go and exporter toolkit HOT 7
- Process Exporter v0.7.11 is missing library GLIBC_2.34 HOT 1
- Failed to start the server: no web listen address or systemd socket flag specified HOT 1
- Why does the speed not change after adding -threads=false? HOT 1
- Getting UIDs instead of user names HOT 1
- 请求响应过慢
- scrape_partial_errors counts up but no errors in log
- namedprocess_namegroup_num_procs doesn't refresh when the process is up again HOT 1
- Adding custom label to process group
- Does this works on Linux host ? HOT 1
- Error reading cmdline of zombie process
- BUG : Can't bind port on both IPv4 and IPv6
- Use labels for things like pid
- Allow exclusions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from process-exporter.