diff --git a/config.alloy b/config.alloy index 779019a..405fb7e 100644 --- a/config.alloy +++ b/config.alloy @@ -20,7 +20,9 @@ prometheus.exporter.windows "local" { "update", "textfile", ] - text_file_directory = "C:/ProgramData/Alloy/metrics" + textfile { + directory = "C:/ProgramData/Alloy/metrics" + } }