-
Notifications
You must be signed in to change notification settings - Fork 207
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
Otel Configuration on Testcontainers #1126
Conversation
ca838ee
to
8b7622f
Compare
@artursouza @cicoyle please review. This is the first step to demonstrate OTEL with local development. |
@salaboy I have checked the changes and I have a few general suggestions:
Let me know your thoughts. |
@artur-ciocanu I agree, but let's do this in two separate steps.. the Configuration class first and then we can add the fluent buileres to it. I am building an example where I want to test if this configurations work or not and based on that I want to make sure that the experience is polished with builders and all. |
Regarding the ConfigurationSpec interface.. i don't think it makes sense.. if we just have a single configuration CRD that covers a bunch of different topics -> https://docs.dapr.io/operations/configuration/configuration-overview/ Maybe I am missing something |
@salaboy thanks for feedback, my proposal was to have an interface that would allow us to model different configuration sections. It can be an interface named
Let me know your thoughts. |
testcontainers-dapr/src/test/java/io/dapr/testcontainers/DaprComponentTest.java
Outdated
Show resolved
Hide resolved
@salaboy if it is not too much to ask, could you please rebase your branch. It is outdated. |
a1ac64e
to
06ff43b
Compare
done |
ac99c6a
to
8b17f5a
Compare
@salaboy I was looking at the latest changes you pushed, the ones related to
Let me know your thoughts. |
8aac315
to
11a7178
Compare
I made good progress here.. now traces are propagated in some way for messaging, we need to do the same for the Here is the node graph: In theory, we should see "Rest Endpoint -> Messaging template bean -> GRPC call to the Dapr Sidecar", but at least now the traceparent is propagated and all the spans belong to the same traceparent. |
7fefd1b
to
a849dc5
Compare
* Adding Maven Profiles Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Simplify profiles setup Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> --------- Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Ensure we use the same GRPC version everywhere Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Fix actors tests assert Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Revert Dapr exception asserts Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Increase sleep to allow Spring Context to bootstrap Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Revert sleep value Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Increase the sleep for messaging test Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Move sleep before each, to ensure Spring context starts Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Add more delays to ensure Spring Controller gets the messages Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> --------- Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: salaboy <Salaboy@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
* Remove all global state in from setProperty Signed-off-by: Artur Souza <asouza.pro@gmail.com> * use Map.of Signed-off-by: Artur Souza <asouza.pro@gmail.com> * Remove dependency that is not needed. Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: salaboy <Salaboy@gmail.com>
Signed-off-by: salaboy <Salaboy@gmail.com>
a849dc5
to
b28f823
Compare
Signed-off-by: salaboy <Salaboy@gmail.com>
@artur-ciocanu I will appreciate any help that you can provide here.. I am happy for you to copy the contents of this PR in separate PRs if you think that is best, I will be away until the 13th of October so any help on moving this forward will be highly appreciated. |
@artur-ciocanu I can close this one right? |
I think so |
@salaboy could you please close this PR and we could focus on other observation enhancements. |
Description
Implement Configuration for Testcontainers
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1125
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: