File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/web/docs/src/content/gateway Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ We recommend to place your OpenTelemetry setup in a `telemetry.ts` file that wil
136136import in your ` gateway.config.ts ` file . This allow instrumentations to be registered (if any )
137137before any other packages are imported .
138138
139- For ease of configuration , we provide a ` openTelemetrySetup ` function , with sensible default and straightforward API
140- compatible with all runtimes .
139+ For ease of configuration , we provide a ` openTelemetrySetup ` function , with sensible default and
140+ straightforward API compatible with all runtimes .
141141
142142But this utility is not mandatory , you can use any setup relevant to your specific use case and
143143infrastructure .
@@ -169,8 +169,8 @@ npm i @opentelemetry/context-async-hooks @opentelemetry/exporter-trace-otlp-http
169169
170170Depending on your usage, you will have to import ` openTelemetrySetup ` from a different module:
171171
172- - CLI usage: ` @graphql-hive/gateway/opentelemetry/setup `
173- - Programmatic usage : ` @graphql-hive/plugin-opentelemetry/setup `
172+ - CLI usage: ` @graphql-hive/gateway/opentelemetry/setup `
173+ - Programmatic usage : ` @graphql-hive/plugin-opentelemetry/setup `
174174
175175``` ts filename="telemetry.ts"
176176// For CLI usage
You can’t perform that action at this time.
0 commit comments