Skip to content

Conversation

@karkum
Copy link
Contributor

@karkum karkum commented May 16, 2022

This PR provides the ability to configure the queuedMaxSpans property of the AsyncReporter with a config: spring.zipkin.queuedMaxSpans, the default is unchanged.

We would like to be able to tweak this property to support applications with a high-volume of spans, which are dropped once the queue is full.

I understand that this bean could be overridden to achieve the same result, but this seems like a more ideal way to configure this property.

There is also queuedMaxBytes which provides a memory-based bound on the queue (defaults to 1%), I can also override that property in this PR (although that is not necessary for my current use-case)

@karkum
Copy link
Contributor Author

karkum commented May 16, 2022

@asibross @narayaruna

@marcingrzejszczak marcingrzejszczak added this to the 3.1.3 milestone May 17, 2022
@marcingrzejszczak marcingrzejszczak merged commit 488b871 into spring-cloud:3.1.x May 17, 2022
@marcingrzejszczak
Copy link
Contributor

Thanks @karkum !

@karkum
Copy link
Contributor Author

karkum commented May 17, 2022

@marcingrzejszczak thanks for the review. Do you know when this change will be released?

@marcingrzejszczak
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants