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

Add components in topology related query #175

Merged
merged 2 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Release Notes.
* Add the sampling config file into the `profiling ebpf create network` sub-command by @mrproliu in https://github.com/apache/skywalking-cli/pull/171
* Add the sub-command `profiling continuous` for adapt the new continuous profiling API by @mrproliu in https://github.com/apache/skywalking-cli/pull/173
* Adapt the sub-command `metrics` for deprecate scope fron entity by @mrproliu in https://github.com/apache/skywalking-cli/pull/173
* Add components in topology related sub-commands. @mrproliu in https://github.com/apache/skywalking-cli/pull/175

0.10.0
------------------
Expand Down
2 changes: 2 additions & 0 deletions assets/assets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ query ($endpointId:ID!, $duration: Duration!) {
source
target
detectPoints
sourceComponents
targetComponents
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions assets/graphqls/dependency/EndpointDependency.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ query ($endpointId:ID!, $duration: Duration!) {
source
target
detectPoints
sourceComponents
targetComponents
}
}
}
2 changes: 2 additions & 0 deletions assets/graphqls/dependency/InstanceTopology.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ query ($clientServiceId: ID!, $serverServiceId: ID!, $duration: Duration!) {
source
detectPoints
target
sourceComponents
targetComponents
}
}
}
2 changes: 2 additions & 0 deletions assets/graphqls/dependency/ServiceTopology.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ query ($serviceId: ID!, $duration: Duration!) {
source
detectPoints
target
sourceComponents
targetComponents
}
}
}
6 changes: 4 additions & 2 deletions test/cases/basic/expected/dependency-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ nodes:
calls:
{{- contains .calls }}
- source: {{ b64enc "consumer" }}.1_{{ b64enc "consumer1" }}
sourcecomponents: [ ]
sourcecomponents:
- Python
target: {{ b64enc "provider" }}.1_{{ b64enc "provider1" }}
targetcomponents: [ ]
targetcomponents:
- Python
id: {{ b64enc "consumer" }}.1_{{ b64enc "consumer1" }}-{{ b64enc "provider" }}.1_{{ b64enc "provider1" }}
detectpoints:
{{- contains .detectpoints }}
Expand Down
6 changes: 4 additions & 2 deletions test/cases/basic/expected/dependency-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ nodes:
calls:
{{- contains .calls }}
- source: {{ b64enc "consumer" }}.1
sourcecomponents: [ ]
sourcecomponents:
- Python
target: {{ b64enc "provider" }}.1
targetcomponents: [ ]
targetcomponents:
- Python
id: {{ b64enc "consumer" }}.1-{{ b64enc "provider"}}.1
detectpoints:
- CLIENT
Expand Down