mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
Fix collector flag names in documentation (#2225)
This commit is contained in:
@@ -14,14 +14,11 @@ The Windows Update service is responsible for managing the installation of updat
|
|||||||
|
|
||||||
## Flags
|
## Flags
|
||||||
|
|
||||||
> [!NOTE]
|
### `--collector.update.online`
|
||||||
> The collector name used in the CLI flags is `updates`, while the metric prefix is `update`. This naming mismatch is known and intentional for compatibility reasons.
|
|
||||||
|
|
||||||
### `--collector.updates.online`
|
|
||||||
Whether to search for updates online. If set to `false`, the collector will only list updates that are already found by the Windows Update service.
|
Whether to search for updates online. If set to `false`, the collector will only list updates that are already found by the Windows Update service.
|
||||||
Set to `true` to search for updates online, which will take longer to complete.
|
Set to `true` to search for updates online, which will take longer to complete.
|
||||||
|
|
||||||
### `--collector.updates.scrape-interval`
|
### `--collector.update.scrape-interval`
|
||||||
Define the interval of scraping Windows Update information
|
Define the interval of scraping Windows Update information
|
||||||
|
|
||||||
## Metrics
|
## Metrics
|
||||||
|
|||||||
Reference in New Issue
Block a user