-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[ISSUE #10377] Nacos client observability enhancement - trace part #11138
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
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
9e3536e
Use Micrometer to monitor the metrics previously detected by Prometheus
FAWC438 4bbc318
Replace all Prometheus implement to Micrometer
FAWC438 d61992d
Merge branch 'alibaba:develop' into develop-issue#10377
FAWC438 d6554e3
Add unit test
FAWC438 c5dcb08
Merge branch 'alibaba:develop' into develop-issue#10377
FAWC438 0c501c0
Merge branch 'alibaba:develop' into develop-issue#10377
FAWC438 64a7189
Define unit test case
FAWC438 88beb24
Remove unnecessary dependencies
FAWC438 6aa4cf4
Remove unnecessary dependencies
FAWC438 61db466
Fix magic value
FAWC438 e50b2ac
Optimize code architecture
FAWC438 f1a916c
Use a new CompositeMeterRegistry instead of the globalRegistry
FAWC438 2681739
Use `NacosClientProperties` to get the env value
FAWC438 52e1557
Finish `configNotifyCostDuration` metric
FAWC438 54ee6f4
Finish all config metric
FAWC438 248d406
Finish record naming rpc request duration
FAWC438 b515014
Finish all naming meters
FAWC438 d971376
Fix meter names
FAWC438 d3d9226
Add unit tests
FAWC438 72fdf26
Add Config trace spans
FAWC438 877cc12
Add Naming trace spans
FAWC438 b82af66
Add trace unit test
FAWC438 1c14f87
Inject trace context with request headers
FAWC438 c3ee3a5
Test trace to Jaeger
FAWC438 656d7e5
Add config trace nested spans
FAWC438 51e6809
Add naming trace nested spans
FAWC438 58587df
Add naming trace namespace attr and fix unit tests
FAWC438 6cfe500
Fix Jaeger test case
FAWC438 b8aeb1a
Update author info
FAWC438 11b66fd
Add config serverNumber metric
FAWC438 456fd6d
Add server request handle meters
FAWC438 6a4d914
Fix metric/trace tests
FAWC438 73a895c
Set grpc attr to lower case
FAWC438 292de2d
Set span name "nacos" to upper case
FAWC438 7fc120c
Fix trace tests assert
FAWC438 4bb7f87
Add server request handler traces
FAWC438 ec5aeac
Fix config magic values and make sure config trace attributes are set…
FAWC438 c99aa7d
Fix naming magic values and make sure naming trace attributes are set…
FAWC438 e0a120f
Add trace about EncryptDataKey
FAWC438 d679112
Roll back enhanced subclass
FAWC438 2f0724f
Roll back enhanced subclass
FAWC438 88e9ce1
Nacos common no longer depends on opentelemetry-api
FAWC438 cd9d73c
Add spanProxy
FAWC438 74b0e44
Set spanProxy params type to SpanBuilder
FAWC438 d238d46
Set the span kind of outgoing spans to `SpanKind.CLIENT`
FAWC438 5fbe8ab
Call `getTracer()` every time when acquiring spans to follow OpenTele…
FAWC438 eb77bd3
Fix a null pointer issue
FAWC438 9ebd64f
Using dynamic proxy to tracing ClientWorker
FAWC438 80ea766
Using dynamic proxy to tracing all config module, except some static …
FAWC438 e27e0d1
Using dynamic proxy to tracing Service level naming spans
FAWC438 03df79e
Using dynamic proxy to tracing naming redo service
FAWC438 d6e0ade
Almost all trace spans are refactored by JDK dynamic proxy
FAWC438 b78d68d
Add unit tests for `TraceDynamicProxy`
FAWC438 6426151
Merge branch 'summer-ospp#10377' into trace
FAWC438 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using an enhanced subclass of
ClientWorker
or AOP processing is a better way to wrap or decorate these methods.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I will think about it carefully and discuss it with you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An enhanced subclass may be better, since a span could include more than one method