Skip to content

Commit

Permalink
trying to fix windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Dec 12, 2024
1 parent bc03f1e commit e7543b4
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions translator/tocwconfig/sampleConfig/complete_windows_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ extensions:
usage_flags:
mode: EC2
region_type: ACJ
agenthealth/statuscode:
is_status_code_enabled: true
is_usage_data_enabled: true
stats:
usage_flags:
mode: EC2
region_type: ACJ
agenthealth/metrics:
is_usage_data_enabled: true
stats:
Expand Down Expand Up @@ -116,9 +123,9 @@ processors:
ec2_instance_tag_keys:
- AutoScalingGroupName
ec2_metadata_tags:
- ImageId
- InstanceId
- InstanceType
- ImageId
imds_retries: 1
refresh_interval_seconds: 0s
transform:
Expand All @@ -128,10 +135,10 @@ processors:
metric_statements:
- context: metric
statements:
- 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"
- 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 @@ -243,6 +250,7 @@ receivers:
service:
extensions:
- agenthealth/metrics
- agenthealth/statuscode
- agenthealth/logs
- agenthealth/traces
- entitystore
Expand All @@ -262,14 +270,14 @@ service:
- ec2tagger
- transform
receivers:
- telegraf_win_perf_counters/1063858558
- telegraf_nvidia_smi
- telegraf_win_perf_counters/1063858558
- telegraf_win_perf_counters/4283769065
- telegraf_win_perf_counters/3081249416
- telegraf_win_perf_counters/1492679118
- telegraf_win_perf_counters/2402387132
- telegraf_win_perf_counters/3762679655
- telegraf_procstat/1340600742
- telegraf_win_perf_counters/3762679655

metrics/hostCustomMetrics:
exporters:
- awscloudwatch
Expand Down

0 comments on commit e7543b4

Please sign in to comment.