-
Notifications
You must be signed in to change notification settings - Fork 2
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to include only specific services? #12
Comments
Here is an example: {
"trace": {
"spans": {
"1234567890": {
"span_id": "1234567890",
"service": "v1-service",
"start": 1627781875.00000,
"parent_id": "0",
"meta": {
"grpc.method.name": "v2-service/1"
},
"children_ids": ["1234567892", "1234567893"],
"type": "rpc"
},
"1234567892": {
"span_id": "1234567892",
"service": "v2-service",
"start": 1627781877.00000,
"meta": {
"grpc.method.name": "v3-service/2"
},
"type": "rpc"
},
"1234567893": {
"span_id": "1234567893",
"service": "v3-service",
"start": 1627781878.00000,
"meta": {
"grpc.method.name": "v4-service/4"
},
"type": "rpc"
}
}
}
} config: include_services:
- v1-service
- v2-service I'd expect only:
but I get
The exchange between service 3 and 4 should not be present This condition seems to be always true and hence all the services are included: Line 124 in 2155cfa
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 馃憢
thanks for making this tool!
I have a trace with a lot of services that I'd like to exclude for readability. I thought that by specifying only the services I'm interested in using the
include_services
would exclude all other services but that does not seem to be the case.In fact, even in your example config, the
v3-service
is still present in the diagram even if the config includes only thev1-service
andv2-service
:How could I include only the services I'm interested in?
The text was updated successfully, but these errors were encountered: