MattHodge / Graphite-PowerShell-Functions

A group of PowerShell functions that allow you to send Windows Performance counters to a Graphite Server, all configurable from a simple XML file.
https://hodgkins.io/using-powershell-to-send-metrics-graphite
GNU General Public License v3.0
218 stars 71 forks source link

Single threaded? #42

Open Drefsab opened 9 years ago

Drefsab commented 9 years ago

Hi there im wanting to monitor metrics from a fairly busy web app hosted on an IIS box. I came across this which is great but the script takes about 120 seconds on a big box (16 cpu 64gb ram etc) to push all the metrics I want to graphite. Im assuming this is because its processing them in single threaded fashion. Is there a way to make this multi-threaded at all?

MattHodge commented 9 years ago

Yeah, currently its single threaded - I agree it would be better if it sent all the metrics at once rather than one at a time.

MattHodge commented 9 years ago

I may have a solution to this... PowerShell Jobs may help out..

wabit commented 8 years ago

Do you have any update on this as I am also hitting a wall when processing a lot of metrics