2020-05-24 18:47:16 +00:00
|
|
|
# %name% collector
|
|
|
|
|
|
|
|
The %name% collector exposes metrics about ...
|
|
|
|
|
|
|
|
|||
|
|
|
|
-|-
|
|
|
|
Metric name prefix | `%name%`
|
|
|
|
Classes | [`...`](https://msdn.microsoft.com/en-us/library/...)
|
|
|
|
Enabled by default? | Yes/No
|
|
|
|
|
|
|
|
## Flags
|
|
|
|
|
|
|
|
### `--collector....`
|
|
|
|
|
|
|
|
Add description...
|
|
|
|
|
|
|
|
Example: `--collector....`
|
|
|
|
|
|
|
|
## Metrics
|
|
|
|
|
|
|
|
Name | Description | Type | Labels
|
|
|
|
-----|-------------|------|-------
|
|
|
|
`windows_...` | ... | counter/gauge/histogram/summary | ...
|
|
|
|
|
|
|
|
### Example metric
|
|
|
|
|
|
|
|
...:
|
|
|
|
|
|
|
|
`windows_...{...} 1`
|
|
|
|
|
|
|
|
## Useful queries
|
|
|
|
### Add queries...
|
|
|
|
|
|
|
|
`...`
|
|
|
|
|
|
|
|
## Alerting examples
|
|
|
|
### Add alerts...
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
- alert: ""
|
|
|
|
expr: ""
|
|
|
|
for: ""
|
|
|
|
labels:
|
|
|
|
urgency: ""
|
|
|
|
annotations:
|
|
|
|
summary: ""
|
|
|
|
```
|