diff --git a/config.alloy b/config.alloy index ca0a7aa..d48e594 100644 --- a/config.alloy +++ b/config.alloy @@ -20,9 +20,8 @@ prometheus.exporter.windows "local" { "update", "textfile", ] - textfile { - text_file_directories = ["C:/ProgramData/Alloy/metrics"] - } + text_file_export_profiles = "C:/ProgramData/Alloy/metrics" + } prometheus.scrape "windows_exporter" {