Skip to content

Commit

Permalink
Converted enabled_collectors from string to array for the prometheus.…
Browse files Browse the repository at this point in the history
…exporter.windows component
  • Loading branch information
ibalal-intergral committed Feb 12, 2024
1 parent 090ab4f commit a07e9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows/observability-agent-autoconf.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Write-Output "Prometheus remote write component enabled"
# Enable windows exporter component
@"
prometheus.exporter.windows "example" {
enabled_collectors = "cpu,cs,logical_disk,net,os,service,system,textfile,iis"
enabled_collectors = ["cpu","cs","logical_disk","net","os","service","system","textfile","iis"]
}
prometheus.scrape "windows" {
Expand Down

0 comments on commit a07e9c8

Please sign in to comment.