Skip to content

Commit

Permalink
Merge pull request #42 from intergral/windows-exporter-enabled-collec…
Browse files Browse the repository at this point in the history
…tors

Converted enabled_collectors from string to array for the prometheus.exporter.windows component
  • Loading branch information
ibalal-intergral authored Feb 12, 2024
2 parents 66b28f4 + a07e9c8 commit 43d2518
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 @@ -134,7 +134,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 43d2518

Please sign in to comment.