prometheus/docs/configuration
Pedro Araújo 575f665944 Add OS type meta label to Azure SD (#3863)
There is currently no way to differentiate Windows instances from Linux
ones. This is needed when you have a mix of node_exporters /
wmi_exporters for OS-level metrics and you want to have them in separate
scrape jobs.

This change allows you to do just that. Example:

```
  - job_name: 'node'
    azure_sd_configs:
      - <azure_sd_config>
    relabel_configs:
      - source_labels: [__meta_azure_machine_os_type]
        regex: Linux
        action: keep
```

The way the vendor'd AzureSDK provides to get the OsType is a bit
awkward - as far as I can tell, this information can only be gotten from
the startup disk. Newer versions of the SDK appear to improve this a
bit (by having OS information in the InstanceView), but the current way
still works.
2018-02-19 15:40:57 +00:00
..
alerting_rules.md Updates to alerting rules docs (#3381) 2017-10-31 19:19:17 +00:00
configuration.md Add OS type meta label to Azure SD (#3863) 2018-02-19 15:40:57 +00:00
index.md Consolidate configuration and rules docs in docs/configuration/ 2017-10-27 09:54:02 +02:00
recording_rules.md [minor] docs: recording_rules: fix missing key 2017-12-14 12:20:28 +00:00
template_examples.md Updated alert templating docs (#3596) 2017-12-19 08:04:06 +00:00
template_reference.md Updated alert templating docs (#3596) 2017-12-19 08:04:06 +00:00