README.md in opentelemetry-instrumentation-graphql-0.21.1 vs README.md in opentelemetry-instrumentation-graphql-0.22.0
- old
+ new
@@ -38,10 +38,15 @@
# enable_platform_field maps to the execute_field and execute_field_lazy keys
enable_platform_field: false,
# enable_platform_authorized maps to the authorized and authorized_lazy keys
enable_platform_authorized: false,
# enable_platform_resolve_type maps to the resolve_type and resolve_type_lazy keys
- enable_platform_resolve_type: false
+ enable_platform_resolve_type: false,
+
+ # Controls if platform tracing (field/authorized/resolve_type)
+ # should use the legacy span names (e.g. "MyType.myField") or the
+ # new normalized span names (e.g. "graphql.execute_field").
+ legacy_platform_span_names: false
}
end
```
Alternatively, you can also call `use_all` to install all the available instrumentation.