diff --git a/test/regression/cases/file_to_blackhole_0ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml b/test/regression/cases/file_to_blackhole_0ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml index 2737fc2dd4f7c..ec51a59de1c46 100644 --- a/test/regression/cases/file_to_blackhole_0ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml +++ b/test/regression/cases/file_to_blackhole_0ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml @@ -1,5 +1,5 @@ logs: - type: file - path: "/tmp/smp/*.log" + path: "/smp-shared/*.log" service: "my-service" source: "my-client-app" diff --git a/test/regression/cases/file_to_blackhole_0ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_0ms_latency/experiment.yaml index 215dcfa86cc48..64fe41015db6f 100644 --- a/test/regression/cases/file_to_blackhole_0ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_0ms_latency/experiment.yaml @@ -31,3 +31,9 @@ checks: series: total_rss_bytes # The machine has 12GiB free. upper_bound: 1.2GiB + + - name: lost_bytes + description: "Allowable bytes not polled by log Agent" + bounds: + series: lost_bytes + upper_bound: 0KB diff --git a/test/regression/cases/file_to_blackhole_0ms_latency/lading/lading.yaml b/test/regression/cases/file_to_blackhole_0ms_latency/lading/lading.yaml index 68bf4bdd44bea..e5cf494648f87 100644 --- a/test/regression/cases/file_to_blackhole_0ms_latency/lading/lading.yaml +++ b/test/regression/cases/file_to_blackhole_0ms_latency/lading/lading.yaml @@ -1,16 +1,16 @@ generator: - file_gen: - logrotate: + logrotate_fs: seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] - root: "/tmp/smp" concurrent_logs: 8 - maximum_bytes_per_log: "500MiB" + maximum_bytes_per_log: 500MB total_rotations: 5 - max_depth: 1 # flat, all logs are /tmp/smp/12345.log + max_depth: 0 variant: "ascii" - bytes_per_second: "10MiB" - maximum_prebuild_cache_size_bytes: "300MiB" + bytes_per_second: 10MB + maximum_prebuild_cache_size_bytes: 300MB + mount_point: /smp-shared blackhole: - http: diff --git a/test/regression/cases/file_to_blackhole_1000ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml b/test/regression/cases/file_to_blackhole_1000ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml index 2737fc2dd4f7c..ec51a59de1c46 100644 --- a/test/regression/cases/file_to_blackhole_1000ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml +++ b/test/regression/cases/file_to_blackhole_1000ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml @@ -1,5 +1,5 @@ logs: - type: file - path: "/tmp/smp/*.log" + path: "/smp-shared/*.log" service: "my-service" source: "my-client-app" diff --git a/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml index 215dcfa86cc48..64fe41015db6f 100644 --- a/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_1000ms_latency/experiment.yaml @@ -31,3 +31,9 @@ checks: series: total_rss_bytes # The machine has 12GiB free. upper_bound: 1.2GiB + + - name: lost_bytes + description: "Allowable bytes not polled by log Agent" + bounds: + series: lost_bytes + upper_bound: 0KB diff --git a/test/regression/cases/file_to_blackhole_1000ms_latency/lading/lading.yaml b/test/regression/cases/file_to_blackhole_1000ms_latency/lading/lading.yaml index 7cff76eb2e818..cf3c07bf79121 100644 --- a/test/regression/cases/file_to_blackhole_1000ms_latency/lading/lading.yaml +++ b/test/regression/cases/file_to_blackhole_1000ms_latency/lading/lading.yaml @@ -1,16 +1,16 @@ generator: - file_gen: - logrotate: + logrotate_fs: seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] - root: "/tmp/smp" concurrent_logs: 8 - maximum_bytes_per_log: "500MiB" + maximum_bytes_per_log: 500MB total_rotations: 5 - max_depth: 1 # flat, all logs are /tmp/smp/12345.log + max_depth: 0 variant: "ascii" - bytes_per_second: "10MiB" - maximum_prebuild_cache_size_bytes: "300MiB" + bytes_per_second: 10MB + maximum_prebuild_cache_size_bytes: 300MB + mount_point: /smp-shared blackhole: - http: diff --git a/test/regression/cases/file_to_blackhole_100ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml b/test/regression/cases/file_to_blackhole_100ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml index 2737fc2dd4f7c..ec51a59de1c46 100644 --- a/test/regression/cases/file_to_blackhole_100ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml +++ b/test/regression/cases/file_to_blackhole_100ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml @@ -1,5 +1,5 @@ logs: - type: file - path: "/tmp/smp/*.log" + path: "/smp-shared/*.log" service: "my-service" source: "my-client-app" diff --git a/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml index 215dcfa86cc48..64fe41015db6f 100644 --- a/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_100ms_latency/experiment.yaml @@ -31,3 +31,9 @@ checks: series: total_rss_bytes # The machine has 12GiB free. upper_bound: 1.2GiB + + - name: lost_bytes + description: "Allowable bytes not polled by log Agent" + bounds: + series: lost_bytes + upper_bound: 0KB diff --git a/test/regression/cases/file_to_blackhole_100ms_latency/lading/lading.yaml b/test/regression/cases/file_to_blackhole_100ms_latency/lading/lading.yaml index 1cf21c8935ced..d1c1648be96c1 100644 --- a/test/regression/cases/file_to_blackhole_100ms_latency/lading/lading.yaml +++ b/test/regression/cases/file_to_blackhole_100ms_latency/lading/lading.yaml @@ -1,16 +1,16 @@ generator: - file_gen: - logrotate: + logrotate_fs: seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] - root: "/tmp/smp" concurrent_logs: 8 - maximum_bytes_per_log: "500MiB" + maximum_bytes_per_log: 500MB total_rotations: 5 - max_depth: 1 # flat, all logs are /tmp/smp/12345.log + max_depth: 0 variant: "ascii" - bytes_per_second: "10MiB" - maximum_prebuild_cache_size_bytes: "300MiB" + bytes_per_second: 10MB + maximum_prebuild_cache_size_bytes: 300MB + mount_point: /smp-shared blackhole: - http: diff --git a/test/regression/cases/file_to_blackhole_300ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml b/test/regression/cases/file_to_blackhole_300ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml index 2737fc2dd4f7c..ec51a59de1c46 100644 --- a/test/regression/cases/file_to_blackhole_300ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml +++ b/test/regression/cases/file_to_blackhole_300ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml @@ -1,5 +1,5 @@ logs: - type: file - path: "/tmp/smp/*.log" + path: "/smp-shared/*.log" service: "my-service" source: "my-client-app" diff --git a/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml index 215dcfa86cc48..64fe41015db6f 100644 --- a/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_300ms_latency/experiment.yaml @@ -31,3 +31,9 @@ checks: series: total_rss_bytes # The machine has 12GiB free. upper_bound: 1.2GiB + + - name: lost_bytes + description: "Allowable bytes not polled by log Agent" + bounds: + series: lost_bytes + upper_bound: 0KB diff --git a/test/regression/cases/file_to_blackhole_300ms_latency/lading/lading.yaml b/test/regression/cases/file_to_blackhole_300ms_latency/lading/lading.yaml index f8f94fbbebe2f..dc84682becb8a 100644 --- a/test/regression/cases/file_to_blackhole_300ms_latency/lading/lading.yaml +++ b/test/regression/cases/file_to_blackhole_300ms_latency/lading/lading.yaml @@ -1,16 +1,16 @@ generator: - file_gen: - logrotate: + logrotate_fs: seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] - root: "/tmp/smp" concurrent_logs: 8 - maximum_bytes_per_log: "500MiB" + maximum_bytes_per_log: 500MB total_rotations: 5 - max_depth: 1 # flat, all logs are /tmp/smp/12345.log + max_depth: 0 variant: "ascii" - bytes_per_second: "10MiB" - maximum_prebuild_cache_size_bytes: "300MiB" + bytes_per_second: 10MB + maximum_prebuild_cache_size_bytes: 300MB + mount_point: /smp-shared blackhole: - http: diff --git a/test/regression/cases/file_to_blackhole_500ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml b/test/regression/cases/file_to_blackhole_500ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml index 2737fc2dd4f7c..ec51a59de1c46 100644 --- a/test/regression/cases/file_to_blackhole_500ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml +++ b/test/regression/cases/file_to_blackhole_500ms_latency/datadog-agent/conf.d/disk-listener.d/conf.yaml @@ -1,5 +1,5 @@ logs: - type: file - path: "/tmp/smp/*.log" + path: "/smp-shared/*.log" service: "my-service" source: "my-client-app" diff --git a/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml b/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml index 215dcfa86cc48..64fe41015db6f 100644 --- a/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml +++ b/test/regression/cases/file_to_blackhole_500ms_latency/experiment.yaml @@ -31,3 +31,9 @@ checks: series: total_rss_bytes # The machine has 12GiB free. upper_bound: 1.2GiB + + - name: lost_bytes + description: "Allowable bytes not polled by log Agent" + bounds: + series: lost_bytes + upper_bound: 0KB diff --git a/test/regression/cases/file_to_blackhole_500ms_latency/lading/lading.yaml b/test/regression/cases/file_to_blackhole_500ms_latency/lading/lading.yaml index d88c5c4679fcf..90920efb161d4 100644 --- a/test/regression/cases/file_to_blackhole_500ms_latency/lading/lading.yaml +++ b/test/regression/cases/file_to_blackhole_500ms_latency/lading/lading.yaml @@ -1,16 +1,16 @@ generator: - file_gen: - logrotate: + logrotate_fs: seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131] - root: "/tmp/smp" concurrent_logs: 8 - maximum_bytes_per_log: "500MiB" + maximum_bytes_per_log: 500MB total_rotations: 5 - max_depth: 1 # flat, all logs are /tmp/smp/12345.log + max_depth: 0 variant: "ascii" - bytes_per_second: "10MiB" - maximum_prebuild_cache_size_bytes: "300MiB" + bytes_per_second: 10MB + maximum_prebuild_cache_size_bytes: 300MB + mount_point: /smp-shared blackhole: - http: