diff --git a/test/assets/observability/otel_config.yaml b/test/assets/observability/otel_config.yaml index 847486dc7d..9ef0989b28 100644 --- a/test/assets/observability/otel_config.yaml +++ b/test/assets/observability/otel_config.yaml @@ -55,8 +55,8 @@ exporters: metric_expiration: 30m prometheusremotewrite: endpoint: "http://[{{PROMETHEUS_HOST}}]:{{PROMETHEUS_PORT}}/api/v1/write" - loki: # only for logs, exports the logs in the loki server - endpoint: "http://[{{LOKI_HOST}}]:{{LOKI_PORT}}/loki/api/v1/push" + otlphttp/loki: # only for logs, exports the logs in the loki server + endpoint: "http://[{{LOKI_HOST}}]:{{LOKI_PORT}}/otlp" extensions: file_storage: @@ -75,8 +75,8 @@ service: logs/journald: receivers: [ journald ] processors: [ batch, resource/journald ] - exporters: [ loki ] + exporters: [ otlphttp/loki ] logs/kube_events: receivers: [ k8s_events ] processors: [ batch, resource/kube_events ] - exporters: [ loki ] + exporters: [ otlphttp/loki ] diff --git a/test/suites/optional/observability.robot b/test/suites/optional/observability.robot index 44a7346bc7..47018498ee 100644 --- a/test/suites/optional/observability.robot +++ b/test/suites/optional/observability.robot @@ -27,7 +27,7 @@ ${TEST_CONFIG_PATH} assets/observability/otel_config.yaml Host Metrics Are Exported [Documentation] The opentelemetry-collector should be able to export host metrics. - VAR ${METRIC} system_cpu_time_seconds_total{cpu="cpu0",state="idle"} scope=TEST + VAR ${METRIC} system_cpu_time_seconds_total scope=TEST Check Prometheus Query ${PROMETHEUS_HOST} ${PROMETHEUS_PORT} ${METRIC} Check Prometheus Exporter ${USHIFT_HOST} ${PROM_EXPORTER_PORT} ${METRIC}