Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/assets/observability/otel_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 ]
2 changes: 1 addition & 1 deletion test/suites/optional/observability.robot
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down