graphprotocol / graph-node

Graph Node indexes data from blockchains such as Ethereum and serves it over GraphQL
https://thegraph.com
Apache License 2.0
2.89k stars 959 forks source link

Add support for GraphQL query IDs in `GRAPH_NODE_EXPENSIVE_QUERIES_FILE` #4214

Open tilacog opened 1 year ago

tilacog commented 1 year ago

Do you want to request a feature or report a bug? Feature

What is the current behavior? Graph Node only supports full GraphQL queries to be included in GRAPH_NODE_EXPENSIVE_QUERIES_FILE.

What is the expected behavior? Users should also be able to identify GraphQL queries by the query_id (also known as "shape hash") obtained from qlog.

For instance, each line could be parsed either as a complete GraphQL query or the query hash in the form:

query_id:a13e79928c47834f-f6ed187de01c7ec8
github-actions[bot] commented 1 year ago

Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.