From 6d1ab31290198358a0f36543e8c8a93eccef0a8d Mon Sep 17 00:00:00 2001 From: timo1707 <67037482+timo1707@users.noreply.github.com> Date: Mon, 2 Oct 2023 21:41:52 +0200 Subject: [PATCH] Update prometheus.exporter.windows.md (#5344) * Update prometheus.exporter.windows.md changed the default text_file_directory value * Update CHANGELOG.md added tex_file changes * Update CHANGELOG.md highlight codeblock * Update CHANGELOG.md spell check --- CHANGELOG.md | 2 ++ .../flow/reference/components/prometheus.exporter.windows.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c94cdfb9c04..a43a6207f2f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -176,6 +176,8 @@ Main (unreleased) - `prometheus.operator.probes` no longer ignores relabeling `rule` blocks. (@sberz) +- Documentation updated to correct default path from `prometheus.exporter.windows` `text_file` block (@timo1707) + v0.36.2 (2023-09-22) -------------------- diff --git a/docs/sources/flow/reference/components/prometheus.exporter.windows.md b/docs/sources/flow/reference/components/prometheus.exporter.windows.md index 069e0f734700..98bd096a3329 100644 --- a/docs/sources/flow/reference/components/prometheus.exporter.windows.md +++ b/docs/sources/flow/reference/components/prometheus.exporter.windows.md @@ -180,7 +180,7 @@ For a server name to be included, it must match the regular expression specified ### text_file block Name | Type | Description | Default | Required ---- |----------| ----------- | ------- | -------- -`text_file_directory` | `string` | The directory containing the files to be ingested. | `C:\Program Files\windows_exporter\textfile_inputs` | no +`text_file_directory` | `string` | The directory containing the files to be ingested. | `C:\Program Files\Grafana Agent Flow\textfile_inputs` | no When `text_file_directory` is set, only files with the extension `.prom` inside the specified directory are read. Each `.prom` file found must end with an empty line feed to work properly.