From af8c62ad89d1597ff9a8c2f2ad33e3d57b6f58fc Mon Sep 17 00:00:00 2001 From: Erik Baranowski <39704712+erikbaranowski@users.noreply.github.com> Date: Fri, 3 Nov 2023 15:22:54 -0400 Subject: [PATCH] fix up windows test after running it in local windows --- .../testdata-v2_windows/integrations_v2.river | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/converter/internal/staticconvert/testdata-v2_windows/integrations_v2.river b/converter/internal/staticconvert/testdata-v2_windows/integrations_v2.river index 2c6318659241..e01818b3faad 100644 --- a/converter/internal/staticconvert/testdata-v2_windows/integrations_v2.river +++ b/converter/internal/staticconvert/testdata-v2_windows/integrations_v2.river @@ -9,10 +9,16 @@ prometheus.remote_write "metrics_default" { } } -prometheus.exporter.windows "integrations_windows" { } +prometheus.exporter.windows "integrations_windows_exporter" { + exchange { } + + network { + exclude = ".+" + } +} prometheus.scrape "integrations_windows" { - targets = prometheus.exporter.azure.integrations_windows.targets + targets = prometheus.exporter.windows.integrations_windows_exporter.targets forward_to = [prometheus.remote_write.metrics_default.receiver] job_name = "integrations/windows" }