diff --git a/converter/internal/staticconvert/testdata/prom_scrape.river b/converter/internal/staticconvert/testdata/prom_scrape.river index 4655c577d263..c7db1090e90f 100644 --- a/converter/internal/staticconvert/testdata/prom_scrape.river +++ b/converter/internal/staticconvert/testdata/prom_scrape.river @@ -124,18 +124,5 @@ http { key_file = "./testdata/example-key.pem" client_ca_file = "./testdata/example-cert.pem" client_auth_type = "VerifyClientCertIfGiven" - - windows_certificate_filter { - server { - store = "something" - refresh_interval = "0s" - } - - client { - issuer_common_names = ["1"] - subject_regex = "2" - template_id = "something2" - } - } } } diff --git a/converter/internal/staticconvert/testdata/prom_scrape.yaml b/converter/internal/staticconvert/testdata/prom_scrape.yaml index f368af6e3f26..c871e5dedd8b 100644 --- a/converter/internal/staticconvert/testdata/prom_scrape.yaml +++ b/converter/internal/staticconvert/testdata/prom_scrape.yaml @@ -6,14 +6,6 @@ server: cert_file: "./testdata/example-cert.pem" key_file: "./testdata/example-key.pem" client_auth_type: "VerifyClientCertIfGiven" - windows_certificate_filter: - server: - store: "something" - client: - issuer_common_names: - - "1" - subject_regex: "2" - template_id: "something2" metrics: wal_directory: /home/pi/Projects/agent/agentwal diff --git a/converter/internal/staticconvert/testdata_windows/integrations.river b/converter/internal/staticconvert/testdata_windows/integrations.river index 6329eff02b98..ffb5c26e2858 100644 --- a/converter/internal/staticconvert/testdata_windows/integrations.river +++ b/converter/internal/staticconvert/testdata_windows/integrations.river @@ -1,3 +1,27 @@ +logging { + level = "debug" + format = "json" +} + +http { + tls { + client_auth_type = "VerifyClientCertIfGiven" + + windows_certificate_filter { + server { + store = "something" + refresh_interval = "0s" + } + + client { + issuer_common_names = ["1"] + subject_regex = "2" + template_id = "something2" + } + } + } +} + prometheus.exporter.windows "integrations_windows_exporter" { enabled_collectors = ["cpu", "cs", "logical_disk", "net", "os", "service", "system"] diff --git a/converter/internal/staticconvert/testdata_windows/integrations.yaml b/converter/internal/staticconvert/testdata_windows/integrations.yaml index 3cbcd307ecfd..75b00ff8dfe6 100644 --- a/converter/internal/staticconvert/testdata_windows/integrations.yaml +++ b/converter/internal/staticconvert/testdata_windows/integrations.yaml @@ -1,3 +1,17 @@ +server: + log_level: debug + log_format: json + http_tls_config: + client_auth_type: "VerifyClientCertIfGiven" + windows_certificate_filter: + server: + store: "something" + client: + issuer_common_names: + - "1" + subject_regex: "2" + template_id: "something2" + metrics: global: remote_write: