Skip to content

Commit

Permalink
Merge pull request #733 from helio/windows-multicluster
Browse files Browse the repository at this point in the history
windows: add multicluster support, update wmi-exporter->windows-exporter
  • Loading branch information
povilasv authored Mar 10, 2022
2 parents 177bc8e + 9c875f4 commit 3f040a8
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 108 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,7 @@ There are separate dashboards for windows resources.
4) USE Method / Cluster(Windows)
5) USE Method / Node(Windows)

These dashboards are based on metrics populated by wmi_exporter(https://github.com/martinlindhe/wmi_exporter) from each Windows node.

Steps to configure wmi_exporter
1) Download the latest version(v0.7.0 or higher) of wmi_exporter from release page(https://github.com/martinlindhe/wmi_exporter/releases/)
2) Install the wmi_exporter service.
```
msiexec /i <path-to-msi-file> ENABLED_COLLECTORS=cpu,cs,logical_disk,net,os,system,container,memory LISTEN_PORT=<PORT>
```
3) Update the Prometheus server to scrap the metrics from wmi_exporter endpoint.
These dashboards are based on metrics populated by [windows-exporter](https://github.com/prometheus-community/windows_exporter) from each Windows node.

## Running the tests

Expand Down
2 changes: 1 addition & 1 deletion config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
podLabel: 'pod',
hostNetworkInterfaceSelector: 'device!~"veth.+"',
hostMountpointSelector: 'mountpoint="/"',
wmiExporterSelector: 'job="wmi-exporter"',
windowsExporterSelector: 'job="kubernetes-windows-exporter"',
containerfsSelector: 'container!=""',

// Grafana dashboard IDs are necessary for stable links for dashboards
Expand Down
Loading

0 comments on commit 3f040a8

Please sign in to comment.