You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on May 30, 2019. It is now read-only.
problem with accented characters in counters: possibility to change the metrics name? #9
I discovered your scripts which seems to suit my needs, but I found a problem in my situation: we use localized versions of Windows (French) and Windows performance counters names are translated in French, we got for example "\Mémoire\Mégaoctets disponibles" or "Mémoire\Écritures de pages/s"
Counters are retrieved well and sent correctly to Graphite, the problem is not here. The problem is directly with graphite (or another frontend like Grafana): metrics with accented characters can't be displayed.
I thought my problem could be solved just by indicating the counter name i want to retrieve AND the metrics name associated. Is it actually possible to do it? Or could it be added to your code?
Hi @daks - thanks for doing some research into the issue.
I like the idea of extending the XML schema, there might be times where people don't like the metric names the ConvertTo-GraphiteMetric function spits out, so this could potentially kill 2 birds with one stone.
This doesn't appear it will be too complex, I will work on it.
Activity
daks commentedon Jun 23, 2014
So it appears that performance counters are localized so this script can only work on US systems.
I see two solutions:
What do you think about it?
MattHodge commentedon Jun 24, 2014
Hi @daks - thanks for doing some research into the issue.
I like the idea of extending the XML schema, there might be times where people don't like the metric names the
ConvertTo-GraphiteMetricfunction spits out, so this could potentially kill 2 birds with one stone.This doesn't appear it will be too complex, I will work on it.
You can now specify metric names to use by the script, ref MattHodge#9
MattHodge commentedon Dec 13, 2014
This has been addressed by release v1.2.0
https://github.com/MattHodge/Graphite-PowerShell-Functions/releases/tag/v1.2.0
daks commentedon Dec 23, 2014
Seems to work well, thanks.