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

Remove o11yphant dependencies #34

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Remove o11yphant dependencies #34

merged 1 commit into from
Jul 18, 2024

Conversation

ligangty
Copy link
Member

@ligangty ligangty commented Jul 18, 2024

This PR removes the o11yphant out of the whole dependency tree. Instead, it uses the native otel libs to do all tracing work. The metrics part will not use any legacy o11yphant metrics APIs, but just some simple meter as value which inject into the span attribute, like "client.folo.admin.latency".
It also removes bunch of legacy features which are not used in client tracing, like thread level span, GoldenSignalMetrics.
With this change, there will only be one root span for each client request lifecycle now.
Note that there are API changes for the Indy client setup because the old TraceManager and TraceConfiguration in o11yphant have been removed. So we need to change the API usage in Indy or somewhere else which uses the Indy-client

Copy link
Contributor

@ruhan1 ruhan1 left a comment

Choose a reason for hiding this comment

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

LGTM

@ligangty ligangty merged commit bca82ea into Commonjava:main Jul 18, 2024
1 check passed
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