Upgrade otel collector version in tests to 0.92 (#11819)

This commit is contained in:
peachisai 2024-01-27 23:06:45 +08:00 committed by GitHub
parent df3b096091
commit 994ba562f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 18 additions and 15 deletions

View File

@ -331,6 +331,8 @@ jobs:
needs: [docker]
runs-on: ${{ matrix.test.runs-on || 'ubuntu-latest' }}
timeout-minutes: 60
env:
OTEL_COLLECTOR_VERSION: 0.92.0
strategy:
fail-fast: false
matrix:

View File

@ -3,6 +3,7 @@
#### Project
* Support Java 21 runtime.
* Support oap-java21 image for Java 21 runtime.
* Upgrade `OTEL collector` version to `0.92.0` in all e2e tests.
#### OAP Server

View File

@ -25,7 +25,7 @@ services:
networks:
e2e:
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml

View File

@ -68,7 +68,7 @@ services:
retries: 120
test: ["CMD", "sh", "-c", "nc -vz localhost 9114"]
otel-collector:
image: otel/opentelemetry-collector:0.72.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -107,7 +107,7 @@ services:
kafka-consumer-perf-test.sh --broker-list broker1:9092,broker2:9093 --topic perftest --messages 100000
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -46,7 +46,7 @@ exporters:
#insecure: true
# Exports data to the console
logging:
logLevel: debug
loglevel: debug
service:
pipelines:

View File

@ -104,7 +104,7 @@ services:
condition: service_healthy
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -80,7 +80,7 @@ services:
- '--collector.diagnosticdata'
- '--collector.replicasetstatus'
otel-collector:
image: otel/opentelemetry-collector:0.72.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -148,7 +148,7 @@ services:
depends_on:
- mysql_3
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -56,7 +56,7 @@ services:
- e2e
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml

View File

@ -131,7 +131,7 @@ services:
condition: service_healthy
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -122,7 +122,7 @@ services:
command: bash -c "bin/pulsar-perf produce -m 100000 my-topic"
otel-collector:
image: otel/opentelemetry-collector:0.87.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -175,7 +175,7 @@ services:
METRICS_PROMETHEUS: "true"
otel-collector:
image: otel/opentelemetry-collector:0.72.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -80,7 +80,7 @@ services:
environment:
- REDIS_ADDR=redis_3:6379
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -55,7 +55,7 @@ services:
condition: service_healthy
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]

View File

@ -33,7 +33,7 @@ exporters:
tls:
insecure: true
logging:
logLevel: debug
loglevel: debug
service:
pipelines:

View File

@ -36,7 +36,7 @@ services:
- 9100
otel-collector:
image: otel/opentelemetry-collector:0.50.0
image: otel/opentelemetry-collector:${OTEL_COLLECTOR_VERSION}
networks:
- e2e
command: [ "--config=/etc/otel-collector-config.yaml" ]