apollo-language-server
Version:
A language server for Apollo GraphQL projects
24 lines (22 loc) • 446 B
text/typescript
import gql from "graphql-tag";
export const SCHEMA_TAGS_AND_FIELD_STATS = gql`
query SchemaTagsAndFieldStats($id: ID!) {
service(id: $id) {
schemaTags {
tag
}
stats(from: "-86400", to: "-0") {
fieldStats {
groupBy {
field
}
metrics {
fieldHistogram {
durationMs(percentile: 0.95)
}
}
}
}
}
}
`;