mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-04 17:05:24 +00:00
chore: remove unused query
This commit is contained in:
parent
e02f91deef
commit
1f3436ea97
@ -15,45 +15,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const ProfileSegment = {
|
|
||||||
variable: "$segmentId: String",
|
|
||||||
query: `
|
|
||||||
segment: getProfiledSegment(segmentId: $segmentId) {
|
|
||||||
spans {
|
|
||||||
spanId
|
|
||||||
parentSpanId
|
|
||||||
segmentId
|
|
||||||
refs {
|
|
||||||
traceId
|
|
||||||
parentSegmentId
|
|
||||||
parentSpanId
|
|
||||||
type
|
|
||||||
}
|
|
||||||
serviceCode
|
|
||||||
startTime
|
|
||||||
endTime
|
|
||||||
endpointName
|
|
||||||
type
|
|
||||||
peer
|
|
||||||
component
|
|
||||||
isError
|
|
||||||
layer
|
|
||||||
tags {
|
|
||||||
key value
|
|
||||||
}
|
|
||||||
logs {
|
|
||||||
time
|
|
||||||
data {
|
|
||||||
key
|
|
||||||
value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
profiled
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`,
|
|
||||||
};
|
|
||||||
|
|
||||||
export const CreateProfileTask = {
|
export const CreateProfileTask = {
|
||||||
variable: "$creationRequest: ProfileTaskCreationRequest",
|
variable: "$creationRequest: ProfileTaskCreationRequest",
|
||||||
query: `
|
query: `
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ProfileSegment,
|
|
||||||
CreateProfileTask,
|
CreateProfileTask,
|
||||||
GetProfileTaskList,
|
GetProfileTaskList,
|
||||||
GetProfileTaskSegmentList,
|
GetProfileTaskSegmentList,
|
||||||
@ -24,8 +23,6 @@ import {
|
|||||||
GetProfileTaskLogs,
|
GetProfileTaskLogs,
|
||||||
} from "../fragments/profile";
|
} from "../fragments/profile";
|
||||||
|
|
||||||
export const queryProfileSegment = `query queryProfileSegment(${ProfileSegment.variable}) {${ProfileSegment.query}}`;
|
|
||||||
|
|
||||||
export const saveProfileTask = `mutation createProfileTask(${CreateProfileTask.variable}) {${CreateProfileTask.query}}`;
|
export const saveProfileTask = `mutation createProfileTask(${CreateProfileTask.variable}) {${CreateProfileTask.query}}`;
|
||||||
|
|
||||||
export const getProfileTaskList = `query getProfileTaskList(${GetProfileTaskList.variable}) {
|
export const getProfileTaskList = `query getProfileTaskList(${GetProfileTaskList.variable}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user