Repository navigation
feat: add spec compliant otel hook - #169
Conversation
f478cf1 to
4a544ef
Compare
|
Thanks @thiyagu06! We'll review this tomorrow but it looks great at first glance. I noticed in the screenshot you attached that the variant is quoted. Is that expected? |
yeah. Thanks for pointing that. the variant is double quoted because, I convert the value into json format. Object type. Is that okay if we could use toString method instead of using jackson serialise it.
|
Yes, in fact, I think we should try to avoid dependencies such as jackson here. I think Complex object values are represented by our If in the future we decide to standardize the representation of these objects, we could implement one in the overridden |
Yeah. I understand that. Fixed it |
toddbaert
left a comment
There was a problem hiding this comment.
My only real concern is: https://github.com/open-feature/java-sdk-contrib/pull/169/files#r1055525423
Once this is addressed it looks like it can be merged. Thanks a lot, especially for even giving this a test in Jaeger.
toddbaert
left a comment
There was a problem hiding this comment.
Looks good to me, thank you!
Signed-off-by: thiyagu06 <thiyagu103@gmail.com>
…n info in README.md Signed-off-by: thiyagu06 <thiyagu103@gmail.com>
Signed-off-by: thiyagu06 <thiyagu103@gmail.com>
befc82c to
9b82ca6
Compare
…t to 44c30b3 (open-feature#169) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
feat: add spec compliant otel hook Signed-off-by: thiyagu06 <thiyagu103@gmail.com>
This PR
added otel spec compliant hook.
Related Issues
Fixes #144
Notes
Follow-up Tasks
How to test
add the hook and see the result in Jaeger tracing UI.
openFeatureAPI.addHooks(new OpenTelemetryHook());