Cannot see child spans in a tree of trace #10412
Closed
Iana-Kasimova-TR
started this conversation in
Ideas
Replies: 1 comment
-
|
@Iana-Kasimova-TR What version of Phoenix are you using? This issue may have been resolved here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to display my spans inside trace and realized that I cannot see some nested spans. I looked into GraphQL query and realized that it is connected with default value of count because this query works and shows my nested spans if I change count from 1000 to 10000
I checked this via the following query, please correct me if I wrong
query TraceDetailsQuery($traceId: ID!, $id: ID!, $count: Int = 10000, $cursor: String = null) {
project: node(id: $id) {
... on Project {
trace(traceId: $traceId) {
...ConnectedTraceTree
}
}
}
}
fragment ConnectedTraceTree on Trace {
numSpans
spans(first: $count, after: $cursor) {
edges {
span: node {
id
spanId
name
spanKind
statusCode
startTime
endTime
parentId
latencyMs
tokenCountTotal
}
}
}
}
this is about this line of code:
https://github.com/Arize-ai/phoenix/blob/24306555e595a825545428b60e72d78df1b9d099/app/src/pages/trace/ConnectedTraceTree.tsx#L27C2-L27C51
Beta Was this translation helpful? Give feedback.
All reactions