update: Tracing is enabled by default #2347
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Following default value of option
--tracing
istrue
- mentioned in https://www.selenium.dev/documentation/grid/configuration/cli_options/#loggingEnv var
SE_ENABLE_TRACING
is set totrue
- it also can be disabled when set tofalse
Adding env var
SE_HTTP_LOGS
for option--http-logs
with default value isfalse
. Via helm chart, the config key isglobal.seleniumGrid.httpLogs
Types of changes
Checklist
PR Type
Enhancement, Documentation
Description
SE_HTTP_LOGS
environment variable across multiple startup scripts.SE_ENABLE_TRACING
is set to false.global.seleniumGrid.httpLogs
.Changes walkthrough 📝
13 files
start-selenium-grid-distributor.sh
Add HTTP logs support and disable tracing by default
Distributor/start-selenium-grid-distributor.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-eventbus.sh
Add HTTP logs support and disable tracing by default
EventBus/start-selenium-grid-eventbus.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-hub.sh
Add HTTP logs support and disable tracing by default
Hub/start-selenium-grid-hub.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-node.sh
Add HTTP logs support and disable tracing by default
NodeBase/start-selenium-node.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-docker.sh
Add HTTP logs support and disable tracing by default
NodeDocker/start-selenium-grid-docker.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-router.sh
Add HTTP logs support and disable tracing by default
Router/start-selenium-grid-router.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-session-queue.sh
Add HTTP logs support and disable tracing by default
SessionQueue/start-selenium-grid-session-queue.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-sessions.sh
Add HTTP logs support and disable tracing by default
Sessions/start-selenium-grid-sessions.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-standalone.sh
Add HTTP logs support and disable tracing by default
Standalone/start-selenium-standalone.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.start-selenium-grid-docker.sh
Add HTTP logs support and disable tracing by default
StandaloneDocker/start-selenium-grid-docker.sh
SE_HTTP_LOGS
environment variable.SE_ENABLE_TRACING
is set to false.Dockerfile
Add default environment variables for logging and tracing
Base/Dockerfile
SE_LOG_LEVEL
,SE_HTTP_LOGS
,SE_STRUCTURED_LOGS
, andSE_ENABLE_TRACING
.logging-configmap.yaml
Add HTTP logs to logging configuration map
charts/selenium-grid/templates/logging-configmap.yaml
SE_HTTP_LOGS
to the logging configuration map.values.yaml
Add HTTP logs configuration to Helm chart values
charts/selenium-grid/values.yaml
httpLogs
configuration underglobal.seleniumGrid
.1 files
chart_test.sh
Add HTTP logs configuration to Helm chart tests
tests/charts/make/chart_test.sh
global.seleniumGrid.httpLogs
configuration to Helm chart tests.1 files
README.md
Update documentation for HTTP logs configuration
charts/selenium-grid/README.md
global.seleniumGrid.httpLogs
configuration.