ipld-eth-server/pkg/graphql
Thomas E Lackey 190d0d7ac9
Improved logging and metrics. (#227)
1. Improve logging to include API method, user ID, etc in the output. We do this by intercepting the request details in the "middleware" and adding them to the request context, as well as adding a wrapper to logrus that simplifies including the fields in the output.

2. Breakdown API metrics by method. This will allow us to differentiate call counts and durations by API method (eg, eth_call vs eth_getStorageAt).
2023-01-20 19:39:26 -06:00
..
client.go Optimize getLogs GQL API (#198) 2022-10-05 15:14:17 +05:30
graphiql.go fixes for test; update readme and gomodules 2020-10-28 08:40:00 -05:00
graphql_suite_test.go Improved logging and metrics. (#227) 2023-01-20 19:39:26 -06:00
graphql_test.go Optimize GQL and getBlock APIs (#201) 2022-11-04 10:02:09 +05:30
graphql.go Optimize GQL and getBlock APIs (#201) 2022-11-04 10:02:09 +05:30
schema.go Optimize GQL and getBlock APIs (#201) 2022-11-04 10:02:09 +05:30
service.go Improved logging and metrics. (#227) 2023-01-20 19:39:26 -06:00
types.go Add custom implementation for Bytes to be returned as string 2022-06-03 15:05:46 +05:30