Skip to content

Commit

Permalink
run otel demo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamloe committed Nov 20, 2024
1 parent 25274c0 commit c9e343a
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/logzio-monitoring-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ jobs:
kubectl apply -f tests/resources/tracegen-monitoring.yaml
kubectl rollout status deployment/trace-gen --timeout=300s
- name: Run otel demo
run: |
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo update
helm install otel-demo -f tests/resources/otel-demo-monitoring.yaml open-telemetry/opentelemetry-demo --version 0.32.5
kubectl rollout status deployment/otel-demo-loadgenerator --timeout=300s
- name: Sleep
run: sleep 180

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/logzio-telemetry-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ jobs:
run: |
kubectl apply -f tests/resources/tracegen.yaml
kubectl rollout status deployment/trace-gen --timeout=300s
- name: Run otel demo
run: |
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo update
helm install otel-demo -f tests/resources/otel-demo.yaml open-telemetry/opentelemetry-demo --version 0.32.5
kubectl rollout status deployment/otel-demo-loadgenerator --timeout=300s
- name: sleep for 3 minutes
run: sleep 180

Expand Down
18 changes: 18 additions & 0 deletions tests/resources/otel-demo-monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

default:
envOverrides:
- name: OTEL_COLLECTOR_NAME
value: logzio-monitoring-otel-collector.monitoring.svc.cluster.local

opentelemetry-collector:
enabled: false

jaeger:
enabled: false

prometheus:
enabled: false

grafana:
enabled: false

18 changes: 18 additions & 0 deletions tests/resources/otel-demo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

default:
envOverrides:
- name: OTEL_COLLECTOR_NAME
value: logzio-k8s-telemetry-otel-collector.default.svc.cluster.local

opentelemetry-collector:
enabled: false

jaeger:
enabled: false

prometheus:
enabled: false

grafana:
enabled: false

0 comments on commit c9e343a

Please sign in to comment.