mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
02277bbe0d
Previously, `d.paths` were normalized to backslashes on Windows, even when if the config file used Unix style. The end result meant always watching `./`, so changes for this config were always ignored: scrape_configs: - job_name: 'envmsc1' file_sd_configs: - files: - 'targets/envmsc1.d/*.yml' - 'targets/envmsc1.d/*.yaml' Additionally, unlike the other platforms, no warning was emitted on startup about not being able to install the watch if the directory didn't exist. Now it is logged. Signed-off-by: Matt Harbison <mharbison@atto.com> |
||
---|---|---|
.. | ||
fixtures | ||
file_test.go | ||
file.go |