-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IIS collector #10
IIS collector #10
Conversation
Forgot to niceify the help strings, it's on it's way |
ecc4740
to
8056ba6
Compare
Fixed and squashed |
I think we should leave out the ones with dubious value, at least until someone can specify a use/need for them (they are trivial to add later on) Let me know when this is no longer WIP so I can merge it. |
Also, please update the README with this new collector |
Yup, let's skip those two for now. I'm quite satisfied with the names of the metrics in this one, since they more or less map directly to the perfmon names which should make them easy to pick up for most people. Any specific names you were thinking about? |
No, nothing in particular :) |
8056ba6
to
72b216c
Compare
Rebased on master, ready for merge after review |
appveyor says
|
Also I would like to clear out the path going forward with regards to non-OS level collector data in this project. I don't mind merging this, but @brian-brazil brought up the point before that "the prometheus way" is to run one collector per service, and that would mean (iirc) either:
or
Personally I feel this is a engineering overhead and don't see much issue of just merging this, assuming we can turn it off |
I'll check the compilation failure. Regarding the separation of collectors, I started looking at just copying the solution |
I also feel the performance impact of running multiple collectors is an issue, and would rather have the monitoring solution doing minimal impact on the machine being monitored. Hey, that's why I considered prometheus in the first place. |
Regarding the separation of collectors, we can land this patch and then sort it out with another commit. I can look into that unless you are already on it. |
72b216c
to
bf8c922
Compare
I fixed the compilation failure (scoping issue), so it looks fine now, apart from being "always on". It'd be great if you could look at that feature, I'm pretty swamped at work right now, so I'll probably not have time to even start until next week. |
Great, I'll look into it. Do you think you have time to help with reviewing a PR for it? |
This is a first draft of an IIS collector from
Win32_PerfRawData_W3SVC_WebService
. In contrast with other classes, this one actually exposes counters, so it was fairly straightforward.Some sample output:
There are two metrics exposed that I'm not sure if they are useful? I can include them if we can see some use-case: