telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

[Feature request] Drop certain special characters from Windows performance counter instance names

Open sofam opened this issue 9 years ago • 3 comments

Feature Request

Proposal:

I'd like to be able to drop characters from a Windows performance counter instance name, for example "C:" I'd like to be able to rewrite to "C"

Current behavior:

Current behavior is to keep the instance name as is "C:".

Desired behavior:

To be able to configure, per input, which characters to drop or replace with others.

Use case: [Why is this important (helps with prioritizing requests)]

This is blocking me from exporting disk performance metrics to HostedGraphite.

sofam avatar Mar 28 '17 08:03 sofam

Could you add your [[inputs.win_perf_counters.object]] for an affected metric, and an example of the metric produced in influxdb format (using --test)?

danielnelson avatar Mar 28 '17 22:03 danielnelson

The output handler in this case should be responsible to ensure the names are valid for the output.

nhaugo avatar Mar 30 '17 20:03 nhaugo

@sofam If the graphite output handler is not doing this correctly, please open an issue using the bug template.

danielnelson avatar Mar 30 '17 21:03 danielnelson