Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.
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

Closed

Description

@daks

Hello,

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?

Thanks for your code.

Activity

  1. daks commented on Jun 23, 2014

    @daks
    ContributorAuthor

    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?

  2. MattHodge commented on Jun 24, 2014

    @MattHodge
    Owner

    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.

  3. daks commented on Dec 23, 2014

    @daks
    ContributorAuthor

    Seems to work well, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions