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

adjusted dependencies and application properties #136

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

anarakhmedov
Copy link

No description provided.

anarakhmedov added 2 commits April 20, 2023 17:17
…workshop into update-spring

# Conflicts:
#	stack/application/imageflip/src/main/resources/application.properties
#	stack/application/imagegrayscale/src/main/resources/application.properties
#	stack/application/imageholder/src/main/resources/application.properties
#	stack/application/imageorchestrator/src/main/resources/application.properties
#	stack/application/imageresize/src/main/resources/application.properties
#	stack/application/imagerotator/src/main/resources/application.properties
#	stack/application/imagethumbnail/src/main/resources/application.properties
#	stack/application/springevents/src/main/resources/application.properties
#	stack/application/trafficgen/src/main/java/com/github/olly/workshop/trafficgen/service/upload/UploadService.java
#	stack/application/trafficgen/src/main/resources/application.properties
implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
runtimeOnly 'org.springframework.cloud:spring-cloud-sleuth-zipkin'
implementation 'io.micrometer:micrometer-tracing-bridge-otel'
implementation 'io.opentelemetry:opentelemetry-exporter-zipkin'
Copy link
Collaborator

Choose a reason for hiding this comment

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

is not runtimeOnly enough for the exporter?

spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
spring.sleuth.traceId128=true
spring.sleuth.sampler.probability=1.0
spring.zipkin.enabled=${TRACING_ENABLED:true}
Copy link
Collaborator

Choose a reason for hiding this comment

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

it would be nice to be able to deactivate tracing through the TRACING_ENABLED env variable.

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.

2 participants