Skip to content

Commit

Permalink
update(tracing): Use OTLP exporter instead of Jaeger specific
Browse files Browse the repository at this point in the history
This allows much greater flexibility as Jaeger already supports OTLP, but so do other systems.

Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
  • Loading branch information
VietND96 committed Feb 19, 2024
1 parent 56f3c49 commit 74fdf72
Show file tree
Hide file tree
Showing 16 changed files with 48 additions and 51 deletions.
5 changes: 2 additions & 3 deletions Base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ LABEL authors="Selenium <selenium-developers@googlegroups.com>"
ARG VERSION
ARG RELEASE=selenium-${VERSION}
# Default value should be aligned with upstream Selenium (https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_deps.bzl)
ARG OPENTELEMETRY_VERSION=1.33.0
ARG GRPC_VERSION=1.60.1
ARG OPENTELEMETRY_VERSION=1.34.1
ARG GRPC_VERSION=1.61.0

#Arguments to define the user running Selenium
ARG SEL_USER=seluser
Expand Down Expand Up @@ -119,7 +119,6 @@ RUN curl -fLo /tmp/cs https://github.com/coursier/launchers/raw/master/coursier

RUN /tmp/cs fetch --classpath --cache /external_jars \
io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} \
io.opentelemetry:opentelemetry-exporter-jaeger:${OPENTELEMETRY_VERSION} \
io.grpc:grpc-netty:${GRPC_VERSION} > /external_jars/.classpath.txt

RUN chmod 664 /external_jars/.classpath.txt
Expand Down
2 changes: 1 addition & 1 deletion Distributor/start-selenium-grid-distributor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion EventBus/start-selenium-grid-eventbus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion Hub/start-selenium-grid-hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion NodeBase/start-selenium-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion NodeDocker/start-selenium-grid-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ In order to enable tracing in the Selenium Grid container, the following command

```bash
docker network create grid
docker run -d -p 16686:16686 -p 14250:14250 -p 4317:4317 --net grid --name jaeger jaegertracing/all-in-one:1.54
docker run -d -p 16686:16686 -p 4317:4317 --net grid --name jaeger jaegertracing/all-in-one:1.54
docker run -d -p 4442-4444:4442-4444 --net grid --name selenium-hub selenium/hub:4.17.0-20240123
docker run -d --net grid -e SE_EVENT_BUS_HOST=selenium-hub \
--shm-size="2g" \
Expand Down
2 changes: 1 addition & 1 deletion Router/start-selenium-grid-router.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion SessionQueue/start-selenium-grid-session-queue.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion Sessions/start-selenium-grid-sessions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion Standalone/start-selenium-standalone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
2 changes: 1 addition & 1 deletion StandaloneDocker/start-selenium-grid-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if [ "$SE_ENABLE_TRACING" = "true" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.traces.exporter=${SE_OTEL_TRACES_EXPORTER}"
fi
if [ -n "$SE_OTEL_EXPORTER_ENDPOINT" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.${SE_OTEL_TRACES_EXPORTER,,}.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.exporter.otlp.endpoint=${SE_OTEL_EXPORTER_ENDPOINT}"
fi
if [ -n "$SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED" ]; then
SE_OTEL_JVM_ARGS="$SE_OTEL_JVM_ARGS -Dotel.java.global-autoconfigure.enabled=${SE_OTEL_JAVA_GLOBAL_AUTOCONFIGURE_ENABLED}"
Expand Down
4 changes: 2 additions & 2 deletions charts/selenium-grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ In case you want to use your own existing Jaeger instance, you can set the follo
```yaml
tracing:
enabledWithExistingEndpoint: true
exporter: otlp #or jaeger
exporterEndpoint: 'http://jaeger.domain.com:4317' #or 'http://jaeger.domain.com:14250'
exporter: otlp
exporterEndpoint: 'http://jaeger.domain.com:4317'
```

### Configuration of Selenium Grid chart
Expand Down
18 changes: 9 additions & 9 deletions docker-compose-v2-tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
image: jaegertracing/all-in-one:1.54
ports:
- "16686:16686"
- "14250:14250"
- "4317:4317"
chrome:
image: selenium/node-chrome:4.17.0-20240123
shm_size: 2gb
Expand All @@ -18,8 +18,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
ports:
- "6900:5900"

Expand All @@ -33,8 +33,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
ports:
- "6901:5900"

Expand All @@ -48,8 +48,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
ports:
- "6902:5900"

Expand All @@ -63,5 +63,5 @@ services:
- jaeger
environment:
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
33 changes: 16 additions & 17 deletions docker-compose-v3-full-grid-tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ services:
image: jaegertracing/all-in-one:1.54
ports:
- "16686:16686"
- "14250:14250"
- "4317:4317"
selenium-event-bus:
image: selenium/event-bus:4.17.0-20240123
Expand All @@ -20,8 +19,8 @@ services:
- jaeger
environment:
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
selenium-sessions:
image: selenium/sessions:4.17.0-20240123
container_name: selenium-sessions
Expand All @@ -34,17 +33,17 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
selenium-session-queue:
image: selenium/session-queue:4.17.0-20240123
container_name: selenium-session-queue
ports:
- "5559:5559"
environment:
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
selenium-distributor:
image: selenium/distributor:4.17.0-20240123
container_name: selenium-distributor
Expand All @@ -63,8 +62,8 @@ services:
- SE_SESSION_QUEUE_HOST=selenium-session-queue
- SE_SESSION_QUEUE_PORT=5559
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
selenium-router:
image: selenium/router:4.17.0-20240123
container_name: selenium-router
Expand All @@ -82,8 +81,8 @@ services:
- SE_SESSION_QUEUE_HOST=selenium-session-queue
- SE_SESSION_QUEUE_PORT=5559
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
chrome:
image: selenium/node-chrome:4.17.0-20240123
shm_size: 2gb
Expand All @@ -94,8 +93,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
edge:
image: selenium/node-edge:4.17.0-20240123
shm_size: 2gb
Expand All @@ -106,8 +105,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
firefox:
image: selenium/node-firefox:4.17.0-20240123
shm_size: 2gb
Expand All @@ -118,5 +117,5 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317
17 changes: 8 additions & 9 deletions docker-compose-v3-tracing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ services:
image: jaegertracing/all-in-one:1.54
ports:
- "16686:16686"
- "14250:14250"
- "4317:4317"
chrome:
image: selenium/node-chrome:4.17.0-20240123
Expand All @@ -19,8 +18,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317

edge:
image: selenium/node-edge:4.17.0-20240123
Expand All @@ -32,8 +31,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317

firefox:
image: selenium/node-firefox:4.17.0-20240123
Expand All @@ -45,8 +44,8 @@ services:
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317

selenium-hub:
image: selenium/hub:4.17.0-20240123
Expand All @@ -59,5 +58,5 @@ services:
- jaeger
environment:
- SE_ENABLE_TRACING=true
- SE_OTEL_TRACES_EXPORTER=otlp #or jaeger
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317 #or http://jaeger:14250
- SE_OTEL_TRACES_EXPORTER=otlp
- SE_OTEL_EXPORTER_ENDPOINT=http://jaeger:4317

0 comments on commit 74fdf72

Please sign in to comment.