RunMetadataFooterQuery.graphql.ts•4.92 kB
/**
* @generated SignedSource<<1fb3c4288ed65a2d8446c0154e7e6abf>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { ConcreteRequest } from 'relay-runtime';
export type RunMetadataFooterQuery$variables = {
spanId: string;
};
export type RunMetadataFooterQuery$data = {
readonly span: {
readonly costSummary?: {
readonly total: {
readonly cost: number | null;
};
} | null;
readonly id: string;
readonly latencyMs?: number | null;
readonly spanId?: string;
readonly tokenCountTotal?: number | null;
readonly trace?: {
readonly id: string;
readonly project: {
readonly id: string;
};
readonly traceId: string;
};
};
};
export type RunMetadataFooterQuery = {
response: RunMetadataFooterQuery$data;
variables: RunMetadataFooterQuery$variables;
};
const node: ConcreteRequest = (function(){
var v0 = [
{
"defaultValue": null,
"kind": "LocalArgument",
"name": "spanId"
}
],
v1 = [
{
"kind": "Variable",
"name": "id",
"variableName": "spanId"
}
],
v2 = {
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "id",
"storageKey": null
},
v3 = {
"kind": "InlineFragment",
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "spanId",
"storageKey": null
},
{
"alias": null,
"args": null,
"concreteType": "Trace",
"kind": "LinkedField",
"name": "trace",
"plural": false,
"selections": [
(v2/*: any*/),
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "traceId",
"storageKey": null
},
{
"alias": null,
"args": null,
"concreteType": "Project",
"kind": "LinkedField",
"name": "project",
"plural": false,
"selections": [
(v2/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
},
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "tokenCountTotal",
"storageKey": null
},
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "latencyMs",
"storageKey": null
},
{
"alias": null,
"args": null,
"concreteType": "SpanCostSummary",
"kind": "LinkedField",
"name": "costSummary",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "CostBreakdown",
"kind": "LinkedField",
"name": "total",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "cost",
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": null
}
],
"type": "Span",
"abstractKey": null
};
return {
"fragment": {
"argumentDefinitions": (v0/*: any*/),
"kind": "Fragment",
"metadata": null,
"name": "RunMetadataFooterQuery",
"selections": [
{
"alias": "span",
"args": (v1/*: any*/),
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
(v2/*: any*/),
(v3/*: any*/)
],
"storageKey": null
}
],
"type": "Query",
"abstractKey": null
},
"kind": "Request",
"operation": {
"argumentDefinitions": (v0/*: any*/),
"kind": "Operation",
"name": "RunMetadataFooterQuery",
"selections": [
{
"alias": "span",
"args": (v1/*: any*/),
"concreteType": null,
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"kind": "ScalarField",
"name": "__typename",
"storageKey": null
},
(v2/*: any*/),
(v3/*: any*/)
],
"storageKey": null
}
]
},
"params": {
"cacheID": "5f0974276186eb5032c3aadb289adbe3",
"id": null,
"metadata": {},
"name": "RunMetadataFooterQuery",
"operationKind": "query",
"text": "query RunMetadataFooterQuery(\n $spanId: ID!\n) {\n span: node(id: $spanId) {\n __typename\n id\n ... on Span {\n spanId\n trace {\n id\n traceId\n project {\n id\n }\n }\n tokenCountTotal\n latencyMs\n costSummary {\n total {\n cost\n }\n }\n }\n }\n}\n"
}
};
})();
(node as any).hash = "ea9edc5ec856a42e5e53663d6a570de1";
export default node;