Skip to content

Commit

Permalink
tyring to fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Dec 16, 2024
1 parent 3e6e3f1 commit 39191a8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions translator/tocwconfig/sampleConfig/complete_windows_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ processors:
- InstanceId
- InstanceType
imds_retries: 1
middleware: agenthealth/statuscode
refresh_interval_seconds: 0s
transform:
error_mode: propagate
Expand All @@ -135,10 +136,10 @@ processors:
metric_statements:
- context: metric
statements:
- set(unit, "PERCENT") where name == "LogicalDisk_% Idle Time"
- set(name, "DISK_READ") where name == "LogicalDisk_% Disk Read Time"
- set(unit, "PERCENT") where name == "Processor_% Idle Time"
- set(name, "CPU_IDLE") where name == "Processor_% Idle Time"
- set(unit, "PERCENT") where name == "Processor % Idle Time"
- set(name, "CPU_IDLE") where name == "Processor % Idle Time"
- set(unit, "PERCENT") where name == "LogicalDisk % Idle Time"
- set(name, "DISK_READ") where name == "LogicalDisk % Disk Read Time"
trace_statements: []
receivers:
awsxray:
Expand Down Expand Up @@ -270,14 +271,14 @@ service:
- ec2tagger
- transform
receivers:
- telegraf_win_perf_counters/1063858558
- telegraf_nvidia_smi
- telegraf_win_perf_counters/3762679655
- telegraf_win_perf_counters/4283769065
- telegraf_win_perf_counters/3081249416
- telegraf_procstat/1340600742
- telegraf_win_perf_counters/1492679118
- telegraf_win_perf_counters/4283769065
- telegraf_win_perf_counters/2402387132
- telegraf_win_perf_counters/1063858558
- telegraf_win_perf_counters/3762679655
- telegraf_procstat/1340600742
metrics/hostCustomMetrics:
exporters:
- awscloudwatch
Expand Down

0 comments on commit 39191a8

Please sign in to comment.