diff --git a/tests/integration/features.go b/tests/integration/features.go index dd0af81603..d60c140701 100644 --- a/tests/integration/features.go +++ b/tests/integration/features.go @@ -30,26 +30,32 @@ import ( type MetricsCollector string const ( - tickDuration = 3 * time.Second - waitDuration = 1 * time.Minute - expectedEventCount uint = 50 // number determined experimentally + tickDuration = 3 * time.Second + waitDuration = 1 * time.Minute + // number determined experimentally + expectedEventCount uint = 50 logsGeneratorCount uint = 1000 // number of log records in single loop with default multiline support only, see: tests/integration/yamls/pod_multiline_long_lines.yaml logRecords = 4 + 10 // number of log records in single loop with multiple multilines support, see: tests/integration/yamls/pod_multiline_long_lines.yaml - multipleLogRecords = 4 + 4 - logLoops = 500 // number of loops in which logs are generated, see: tests/integration/yamls/pod_multiline_long_lines.yaml - multilineLogCount uint = logRecords * logLoops - multipleMultilineLogCount uint = multipleLogRecords * logLoops - tracesPerExporter uint = 5 // number of traces generated per exporter - spansPerTrace uint = 2 - Prometheus MetricsCollector = "prometheus" - Otelcol MetricsCollector = "otelcol" - TailingSidecarCount uint = 150 // number of logs generated by tailing sidecar test (50 * 3), see: tests/inegration/yamls/tailing-sidecar-test.yaml - AnnotationsLogsCount uint = 150 // number of logs generated by containers used in annotations test (50 * 3), see: tests/inegration/yamls/annotations-test.yaml - NamespaceAnnotationsLogsCount uint = 150 // number of logs generated by containers used in annotations test (50 * 3), see: tests/inegration/yamls/namespace-annotations-test.yaml - curlAppMaxWaitTime uint = 180 - curlAppSleepInterval uint = 5 + multipleLogRecords = 4 + 4 + // number of loops in which logs are generated, see: tests/integration/yamls/pod_multiline_long_lines.yaml + logLoops = 500 + multilineLogCount uint = logRecords * logLoops + multipleMultilineLogCount uint = multipleLogRecords * logLoops + // number of traces generated per exporter + tracesPerExporter uint = 5 + spansPerTrace uint = 2 + Prometheus MetricsCollector = "prometheus" + Otelcol MetricsCollector = "otelcol" + // number of logs generated by tailing sidecar test (50 * 3), see: tests/inegration/yamls/tailing-sidecar-test.yaml + TailingSidecarCount uint = 150 + // number of logs generated by pod annotations test (50 * 3), see: tests/inegration/yamls/annotations-test.yaml + AnnotationsLogsCount uint = 150 + // number of logs generated by containers used in namespace annotations test (50 * 3), see: tests/inegration/yamls/namespace-annotations-test.yaml + NamespaceAnnotationsLogsCount uint = 150 + curlAppMaxWaitTime uint = 180 + curlAppSleepInterval uint = 5 ) func GetMetricsFeature(expectedMetrics []string, metricsCollector MetricsCollector) features.Feature {