Hello, I'm currently writing simple extension for exporting metrics to Prometheus (if there is already something, let me know). Anyway I've hit the wall with this one - when calling anonymous query, it doesn't return the operation_name
and it seems this is by design, check the unit test.
strawberry/tests/types/test_execution.py
Line 33 in f31c1fe
But, wouldn't it be more reasonable to use that query name? - so if I use query from provided example {ping}
, that would be the ping
name.
In some implementation I've seen, it was uppermost part / level of the query path.
Or is there better way, how to obtain this info?
Thanks for answer.
Michal
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too