lib/graphql/tracing/prometheus_tracing.rb in graphql-1.8.18 vs lib/graphql/tracing/prometheus_tracing.rb in graphql-1.9.0.pre1
- old
+ new
@@ -31,10 +31,10 @@
return yield unless @keys_whitelist.include?(key)
instrument_execution(platform_key, key, data, &block)
end
def platform_field_key(type, field)
- "#{type.name}.#{field.name}"
+ "#{type.graphql_name}.#{field.graphql_name}"
end
private
def instrument_execution(platform_key, key, data, &block)