Hi everyone,

this is about https://issues.apache.org/jira/browse/PHOENIX-5215.

I did talk to Istvan about this last year and started some work on it
but then dropped it because I wanted to wait for the spotless PR to
merge. That took a bit longer than I expected but now that it's in
(Thank you!) I want to pick it up again.

I'd like to work on removing the current dependency on HTrace from Phoenix.
As mentioned elsewhere it's broken anyway.

I need to reacquaint myself with the code but if I remember there were
a few options we could take:

1) Rip out HTrace entirely
Would get rid of the dependency but also rip out the existing tracing
hooks which would need to be re-added later.

2) Replace HTrace with the no-op dependency
Would get rid of the CVE dependency but either inline a new one (even
though no-op) or introduce an entirely new dependency. This, to me
would only be a temporary solution but still an improvement.

3) Switch to OpenTelemetry
Would get rid of HTrace (yay) and introduce useful new functionality
but also the hardest of the three options.

As with many of you my time is limited so I'd love to tackle this in
smaller steps/increments.
This mail is just meant to coordinate (I'll post a link to it on the
issue as well) and to gather opinions so I don't duplicate anyone's
work.

If I don't hear any different I'd spend some timeboxed amount of work
on option 3) but always with an eye towards option 2) instead.

Any opinions/comments/questions?
Is anyone else actively working on this?

Cheers,
Lars

Reply via email to