Skip to content

Commit 237c239

Browse files
committed
prettier
1 parent 73988f8 commit 237c239

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/web/docs/src/content/migration-guides/gateway-v1-v2.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -565,12 +565,11 @@ import { NodeSDK, tracing } from '@opentelemetry/sdk-node'
565565
new NodeSDK({
566566
traceExporter: new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }),
567567
// or with batching options
568-
spanProcessors: [new tracing.BatchSpanProcessor(
569-
new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }),
570-
{
568+
spanProcessors: [
569+
new tracing.BatchSpanProcessor(new OTLPTraceExporter({ url: 'http://<otlp-endpoint>:4318' }), {
571570
//... batching options
572-
}
573-
)]
571+
})
572+
]
574573
}).start()
575574
```
576575

@@ -677,8 +676,9 @@ Please review your queries to not filter against `null` parent span id.
677676

678677
A new span encapsulating each GraphQL operation have been added.
679678

680-
It is a subspan of the HTTP request span, and encapsulate all the actual GraphQL processing.
681-
There can be multiple GraphQL operation spans for one HTTP request span if you have enabled graphql operation batching over http.
679+
It is a subspan of the HTTP request span, and encapsulate all the actual GraphQL processing. There
680+
can be multiple GraphQL operation spans for one HTTP request span if you have enabled graphql
681+
operation batching over http.
682682

683683
### OpenTelemetry Context
684684

0 commit comments

Comments
 (0)