Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled spring.cloud.gcp.trace to stop ADC lookup #2044

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

arueth
Copy link
Collaborator

@arueth arueth commented Mar 5, 2024

Fixes #1998

Background

Even with spring.sleuth.enabled set to false, zipkin2 tried to lookup the ADC credentials. This causes the application to crash on some environments.

Change Summary

Added spring.cloud.gcp.trace.enabled to be set via the ENABLE_TRACING environment variable as well to fully disable the trace functionality in the apps.

Testing Procedure

Tested on my personal machine using Docker Desktop.

Copy link
Member

@bourgeoisor bourgeoisor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@arueth arueth merged commit 7dbdfc1 into main Mar 5, 2024
8 checks passed
@arueth arueth deleted the rueth-ledger-fix branch March 5, 2024 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Not able to start the application on Single node k8 cluster on a Laptop
2 participants